BibleTime
|
#include <bttipdialog.h>
Public Member Functions | |
BtTipDialog (QWidget *parent=nullptr, Qt::WindowFlags wflags=Qt::Dialog) | |
Private Member Functions | |
void | displayTip () |
void | retranslateUi () |
Private Attributes | |
QDialogButtonBox * | m_buttonBox |
QCheckBox * | m_showTipsCheckBox |
int | m_tipNumber |
QStringList | m_tips |
QTextBrowser * | m_tipView |
The Tip Of The Day dialog.
Definition at line 30 of file bttipdialog.h.
BtTipDialog::BtTipDialog | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | wflags = Qt::Dialog |
||
) |
Definition at line 75 of file bttipdialog.cpp.
References BT_CONNECT, btConfig(), displayTip(), anonymous_namespace{bttipdialog.cpp}::LastTipNumberKey, m_buttonBox, m_showTipsCheckBox, m_tipNumber, m_tips, m_tipView, message::prepareDialogBox(), retranslateUi(), BtConfigCore::setValue(), and BtConfigCore::value().
|
private |
Sends the current tip to the web view
Definition at line 200 of file bttipdialog.cpp.
References m_tipNumber, m_tips, m_tipView, and anonymous_namespace{bttipdialog.cpp}::make_html().
Referenced by BtTipDialog(), and retranslateUi().
|
private |
Definition at line 134 of file bttipdialog.cpp.
References displayTip(), iconToHtml(), and m_tips.
Referenced by BtTipDialog().
|
private |
Definition at line 46 of file bttipdialog.h.
Referenced by BtTipDialog().
|
private |
Definition at line 48 of file bttipdialog.h.
Referenced by BtTipDialog().
|
private |
Definition at line 49 of file bttipdialog.h.
Referenced by BtTipDialog(), and displayTip().
|
private |
Definition at line 50 of file bttipdialog.h.
Referenced by BtTipDialog(), displayTip(), and retranslateUi().
|
private |
Definition at line 47 of file bttipdialog.h.
Referenced by BtTipDialog(), and displayTip().