Class sh::ui::qt::feedbackpanels::MsgBox¶
-
class
sh::ui::qt::feedbackpanels
::
MsgBox
: public sh::ui::qt::feedbackpanels::FeedbackPanel¶ FeedbackPanel for showing a message, some answer buttons, and optionally a text input box.
Public Functions
-
MsgBox
(QString question, QList<QString> answers, QString icon = "", QString withInputBox = QString(), bool inputBoxMultiline = false, int defaultanswer = -1, int cancelanswer = -1, int valuePreselectFrom = -1, int valuePreselectTo = -1, QList<QString> answericons = QList<QString>(), QWidget *parent = 0)¶
-
~MsgBox
()¶
-
void
cancelRequested
()¶
-
bool
isClosed
()¶
-
void
waitUntilClosed
()¶
Signals
-
void
wasClosed
()¶
Private Members
-
QHash<QPushButton*, int>
btn2index
¶
-
QWidget *
_initialFocusWidget
= 0¶
-
QPushButton *
_cancelBtn
= 0¶
-
QPushButton *
_defaultBtn
= 0¶
-
bool
_inputBoxMultiline
¶
-
int
_valuePreselectFrom
¶
-
int
_valuePreselectTo
¶
Private Slots
-
void
slot_btnclicked
()¶
-