![]() |
BuildmLearn Toolkit
2.0.4
BuildmLearn Toolkit is an easy-to-use program that helps users make mobile apps without any knowledge of application development.
|
Iconified label widget. More...
#include <labelwithstatus.h>

Public Member Functions | |
| LabelWithStatus (QWidget *parent=0) | |
| Constructor. | |
| void | setStatus (StatusType status, const QString &label_text, const QString &status_text) |
| Sets new status. More... | |
| QLabel * | label () const |
| Access to label. More... | |
Public Member Functions inherited from WidgetWithStatus | |
| WidgetWithStatus (QWidget *parent) | |
| void | setStatus (StatusType status, const QString &tooltip_text) |
| Sets custom status for this control. More... | |
| StatusType | status () const |
| Access to current status of the widget. More... | |
Additional Inherited Members | |
Public Types inherited from WidgetWithStatus | |
| enum | StatusType { Information, Warning, Error, Ok } |
| Specifies type of status icon. | |
Protected Attributes inherited from WidgetWithStatus | |
| StatusType | m_status |
| QWidget * | m_wdgInput |
| PlainToolButton * | m_btnStatus |
| QHBoxLayout * | m_layout |
| QIcon | m_iconInformation |
| QIcon | m_iconWarning |
| QIcon | m_iconError |
| QIcon | m_iconOk |
Iconified label widget.
Definition at line 40 of file labelwithstatus.h.
|
inline |
Access to label.
Definition at line 58 of file labelwithstatus.h.

| void LabelWithStatus::setStatus | ( | WidgetWithStatus::StatusType | status, |
| const QString & | label_text, | ||
| const QString & | status_text | ||
| ) |
Sets new status.
| status | New status to set. |
| label_text | Text to be visible in the label. |
| status_text | Text to be visible in the tooltip of the icon. |
Definition at line 54 of file labelwithstatus.cpp.
