| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/reusable/widgetwithstatus.h`/ |
| 2 | |
| 3 | #ifndef WIDGETWITHSTATUS_H |
| 4 | #define WIDGETWITHSTATUS_Hcxx . . $ `src/librssguard/gui/reusable/widgetwithstatus.h:4:9`! |
| 5 | |
| 6 | #include <QIcon> |
| 7 | #include <QWidget> |
| 8 | |
| 9 | class PlainToolButtoncxx . . $ PlainToolButton#; |
| 10 | class QHBoxLayoutcxx . . $ QHBoxLayout#; |
| 11 | |
| 12 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! WidgetWithStatuscxx . . $ WidgetWithStatus# : public QWidgetcxx . . $ QWidget# { |
| 13 | Q_OBJECTcxx . . $ WidgetWithStatus#qt_create_metaobjectdata(a52531b27a9fa42b). |
| 14 | |
| 15 | public: |
| 16 | enum class StatusTypecxx . . $ WidgetWithStatus#StatusType# { |
| 17 | Informationcxx . . $ WidgetWithStatus#StatusType#Information., |
| 18 | Warningcxx . . $ WidgetWithStatus#StatusType#Warning., |
| 19 | Errorcxx . . $ WidgetWithStatus#StatusType#Error., |
| 20 | Okcxx . . $ WidgetWithStatus#StatusType#Ok., |
| 21 | Progresscxx . . $ WidgetWithStatus#StatusType#Progress., |
| 22 | Questioncxx . . $ WidgetWithStatus#StatusType#Question. |
| 23 | }; |
| 24 | |
| 25 | explicit WidgetWithStatuscxx . . $ WidgetWithStatus#WidgetWithStatus(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent); |
| 26 | |
| 27 | void setStatuscxx . . $ WidgetWithStatus#setStatus(e987dce66bda7b0a).(StatusTypecxx . . $ WidgetWithStatus#StatusType# status, const QStringcxx . . $ QString#& tooltip_text); |
| 28 | StatusTypecxx . . $ WidgetWithStatus#StatusType# statuscxx . . $ WidgetWithStatus#status(244d3b2221cf4695).() const; |
| 29 | |
| 30 | protected: |
| 31 | StatusTypecxx . . $ WidgetWithStatus#StatusType# m_statuscxx . . $ WidgetWithStatus#m_status.; |
| 32 | QWidgetcxx . . $ QWidget#* m_wdgInputcxx . . $ WidgetWithStatus#m_wdgInput.; |
| 33 | PlainToolButtoncxx . . $ PlainToolButton#* m_btnStatuscxx . . $ WidgetWithStatus#m_btnStatus.; |
| 34 | QHBoxLayoutcxx . . $ QHBoxLayout#* m_layoutcxx . . $ WidgetWithStatus#m_layout.; |
| 35 | QIconcxx . . $ QIcon# m_iconProgresscxx . . $ WidgetWithStatus#m_iconProgress.; |
| 36 | QIconcxx . . $ QIcon# m_iconInformationcxx . . $ WidgetWithStatus#m_iconInformation.; |
| 37 | QIconcxx . . $ QIcon# m_iconWarningcxx . . $ WidgetWithStatus#m_iconWarning.; |
| 38 | QIconcxx . . $ QIcon# m_iconErrorcxx . . $ WidgetWithStatus#m_iconError.; |
| 39 | QIconcxx . . $ QIcon# m_iconOkcxx . . $ WidgetWithStatus#m_iconOk.; |
| 40 | QIconcxx . . $ QIcon# m_iconQuestioncxx . . $ WidgetWithStatus#m_iconQuestion.; |
| 41 | }; |
| 42 | |
| 43 | inline WidgetWithStatuscxx . . $ WidgetWithStatus#::StatusTypecxx . . $ WidgetWithStatus#StatusType# WidgetWithStatuscxx . . $ WidgetWithStatus#::statuscxx . . $ WidgetWithStatus#status(244d3b2221cf4695).() const { |
| 44 | return m_statuscxx . . $ WidgetWithStatus#m_status.; |
| 45 | } |
| 46 | |
| 47 | #endif // WIDGETWITHSTATUS_H |