PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusWidgets/QPlusStatusIcon.h>
Public Slots | |
void | AddMessage (QString aInputString) |
Public Member Functions | |
QPlusStatusIcon (QWidget *aParent=0, Qt::WindowFlags aFlags=0) | |
void | SetMaxMessageCount (int count) |
~QPlusStatusIcon () | |
Protected Slots | |
void | ApplyFilterTimerFired () |
void | ClearFilterButtonClicked () |
void | ClearMessageList () |
void | CreateCustomContextMenu (const QPoint &aPoint) |
void | FilterLineEditEdited (const QString &) |
Protected Member Functions | |
void | ApplyFilter () |
PlusStatus | ConstructMessageListWidget () |
bool | eventFilter (QObject *obj, QEvent *ev) |
void | ParseMessage (QString &aInputString) |
void | ResetIconState () |
void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
QPushButton * | m_ClearFilterButton |
unsigned long | m_DisplayMessageCallbackTag |
unsigned long | m_DisplayWideMessageCallbackTag |
QLabel * | m_DotLabel |
QTimer | m_FilterInputTimer |
QLineEdit * | m_FilterLineEdit |
int | m_Level |
int | m_MaxMessageCount |
QFrame * | m_MessageListFrame |
std::vector< QString > | m_MessageLog |
QTextEdit * | m_MessageTextEdit |
Widget that shows the current status of the application and displays all log messages occurred
Definition at line 61 of file QPlusStatusIcon.h.
QPlusStatusIcon::QPlusStatusIcon | ( | QWidget * | aParent = 0 , |
Qt::WindowFlags | aFlags = 0 |
||
) |
Constructor
aParent | parent |
aFlags | widget flag |
Definition at line 31 of file QPlusStatusIcon.cxx.
QPlusStatusIcon::~QPlusStatusIcon | ( | ) |
Destructor
Definition at line 79 of file QPlusStatusIcon.cxx.
|
slot |
Callback function for logger to display messages in popup window
Definition at line 86 of file QPlusStatusIcon.cxx.
|
protected |
Filter the text in the message box with the text in the line edit
Definition at line 369 of file QPlusStatusIcon.cxx.
|
protectedslot |
Apply the filter if the timer expires
Definition at line 340 of file QPlusStatusIcon.cxx.
|
protectedslot |
Apply filter button was clicked
Definition at line 346 of file QPlusStatusIcon.cxx.
|
protectedslot |
Clear the message box
Definition at line 332 of file QPlusStatusIcon.cxx.
|
protected |
Creates message frame and fills up message field with the massages
Definition at line 194 of file QPlusStatusIcon.cxx.
|
protectedslot |
Create an extended context menu with the clear option
Definition at line 321 of file QPlusStatusIcon.cxx.
|
protected |
Filters events if this object has been installed as an event filter for the watched object
obj | object |
ev | event |
Definition at line 268 of file QPlusStatusIcon.cxx.
|
protectedslot |
Detect changes in the line edit text
Definition at line 355 of file QPlusStatusIcon.cxx.
|
protected |
Parse a message and add it to the text edit
Definition at line 105 of file QPlusStatusIcon.cxx.
|
protected |
Reset the icon to a nice green icon
Definition at line 386 of file QPlusStatusIcon.cxx.
|
protected |
Definition at line 312 of file QPlusStatusIcon.cxx.
void QPlusStatusIcon::SetMaxMessageCount | ( | int | count | ) |
Definition at line 393 of file QPlusStatusIcon.cxx.
|
protected |
Button to apply the filter to the message log
Definition at line 161 of file QPlusStatusIcon.h.
|
protected |
Tag number of the display message callback
Definition at line 166 of file QPlusStatusIcon.h.
|
protected |
Definition at line 167 of file QPlusStatusIcon.h.
|
protected |
Label representing the colored dot for of this widget
Definition at line 150 of file QPlusStatusIcon.h.
|
protected |
Timer to prevent rapid re-filtering
Definition at line 163 of file QPlusStatusIcon.h.
|
protected |
Field for filter contents
Definition at line 159 of file QPlusStatusIcon.h.
|
protected |
State level of the widget ( no errors (>2): green , warning (2): orange , error (1): red )
Definition at line 147 of file QPlusStatusIcon.h.
|
protected |
Definition at line 173 of file QPlusStatusIcon.h.
|
protected |
Frame containing the field of messages
Definition at line 153 of file QPlusStatusIcon.h.
|
protected |
Contents of the entire log
Definition at line 170 of file QPlusStatusIcon.h.
|
protected |
Field containing the messages
Definition at line 156 of file QPlusStatusIcon.h.