![]() |
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.
|
Base class for custom widgets with status icons. More...
#include <widgetwithstatus.h>

Public Types | |
| enum | StatusType { Information, Warning, Error, Ok } |
| Specifies type of status icon. | |
Public Member Functions | |
| 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... | |
Protected Attributes | |
| StatusType | m_status |
| QWidget * | m_wdgInput |
| PlainToolButton * | m_btnStatus |
| QHBoxLayout * | m_layout |
| QIcon | m_iconInformation |
| QIcon | m_iconWarning |
| QIcon | m_iconError |
| QIcon | m_iconOk |
Base class for custom widgets with status icons.
Definition at line 43 of file widgetwithstatus.h.
| void WidgetWithStatus::setStatus | ( | WidgetWithStatus::StatusType | status, |
| const QString & | tooltip_text | ||
| ) |
Sets custom status for this control.
| status | Status to set. |
| tooltip_text | Custom tooltip text to display. |
Definition at line 60 of file widgetwithstatus.cpp.


|
inline |
Access to current status of the widget.
Definition at line 66 of file widgetwithstatus.h.
