OpenMW
|
#include <checkablemessagebox.hpp>
Public Member Functions | |
CheckableMessageBox (QWidget *parent) | |
virtual | ~CheckableMessageBox () |
QString | text () const |
void | setText (const QString &) |
bool | isChecked () const |
void | setChecked (bool s) |
QString | checkBoxText () const |
void | setCheckBoxText (const QString &) |
bool | isCheckBoxVisible () const |
void | setCheckBoxVisible (bool) |
QDialogButtonBox::StandardButtons | standardButtons () const |
void | setStandardButtons (QDialogButtonBox::StandardButtons s) |
QPushButton * | button (QDialogButtonBox::StandardButton b) const |
QPushButton * | addButton (const QString &text, QDialogButtonBox::ButtonRole role) |
QDialogButtonBox::StandardButton | defaultButton () const |
void | setDefaultButton (QDialogButtonBox::StandardButton s) |
QPixmap | iconPixmap () const |
void | setIconPixmap (const QPixmap &p) |
QAbstractButton * | clickedButton () const |
QDialogButtonBox::StandardButton | clickedStandardButton () const |
Static Public Member Functions | |
static QDialogButtonBox::StandardButton | question (QWidget *parent, const QString &title, const QString &question, const QString &checkBoxText, bool *checkBoxSetting, QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Yes|QDialogButtonBox::No, QDialogButtonBox::StandardButton defaultButton=QDialogButtonBox::No) |
static QMessageBox::StandardButton | dialogButtonBoxToMessageBoxButton (QDialogButtonBox::StandardButton) |
Properties | |
QString | text |
QPixmap | iconPixmap |
bool | isChecked |
QString | checkBoxText |
QDialogButtonBox::StandardButtons | buttons |
QDialogButtonBox::StandardButton | defaultButton |
Private Slots | |
void | slotClicked (QAbstractButton *b) |
Private Attributes | |
CheckableMessageBoxPrivate * | d |
Launcher::CheckableMessageBox::CheckableMessageBox | ( | QWidget * | parent | ) | [explicit] |
Launcher::CheckableMessageBox::~CheckableMessageBox | ( | ) | [virtual] |
QPushButton * Launcher::CheckableMessageBox::addButton | ( | const QString & | text, |
QDialogButtonBox::ButtonRole | role | ||
) |
QPushButton * Launcher::CheckableMessageBox::button | ( | QDialogButtonBox::StandardButton | b | ) | const |
QString Launcher::CheckableMessageBox::checkBoxText | ( | ) | const |
QAbstractButton * Launcher::CheckableMessageBox::clickedButton | ( | ) | const |
QDialogButtonBox::StandardButton Launcher::CheckableMessageBox::clickedStandardButton | ( | ) | const |
QDialogButtonBox::StandardButton Launcher::CheckableMessageBox::defaultButton | ( | ) | const |
QMessageBox::StandardButton Launcher::CheckableMessageBox::dialogButtonBoxToMessageBoxButton | ( | QDialogButtonBox::StandardButton | db | ) | [static] |
QPixmap Launcher::CheckableMessageBox::iconPixmap | ( | ) | const |
bool Launcher::CheckableMessageBox::isCheckBoxVisible | ( | ) | const |
bool Launcher::CheckableMessageBox::isChecked | ( | ) | const |
QDialogButtonBox::StandardButton Launcher::CheckableMessageBox::question | ( | QWidget * | parent, |
const QString & | title, | ||
const QString & | question, | ||
const QString & | checkBoxText, | ||
bool * | checkBoxSetting, | ||
QDialogButtonBox::StandardButtons | buttons = QDialogButtonBox::Yes|QDialogButtonBox::No , |
||
QDialogButtonBox::StandardButton | defaultButton = QDialogButtonBox::No |
||
) | [static] |
void Launcher::CheckableMessageBox::setCheckBoxText | ( | const QString & | t | ) |
void Launcher::CheckableMessageBox::setCheckBoxVisible | ( | bool | v | ) |
void Launcher::CheckableMessageBox::setChecked | ( | bool | s | ) |
void Launcher::CheckableMessageBox::setDefaultButton | ( | QDialogButtonBox::StandardButton | s | ) |
void Launcher::CheckableMessageBox::setIconPixmap | ( | const QPixmap & | p | ) |
void Launcher::CheckableMessageBox::setStandardButtons | ( | QDialogButtonBox::StandardButtons | s | ) |
void Launcher::CheckableMessageBox::setText | ( | const QString & | t | ) |
void Launcher::CheckableMessageBox::slotClicked | ( | QAbstractButton * | b | ) | [private, slot] |
QDialogButtonBox::StandardButtons Launcher::CheckableMessageBox::standardButtons | ( | ) | const |
QString Launcher::CheckableMessageBox::text | ( | ) | const |
QDialogButtonBox::StandardButtons Launcher::CheckableMessageBox::buttons [read, write] |
QString Launcher::CheckableMessageBox::checkBoxText [read, write] |
QDialogButtonBox::StandardButton Launcher::CheckableMessageBox::defaultButton [read, write] |
QPixmap Launcher::CheckableMessageBox::iconPixmap [read, write] |
bool Launcher::CheckableMessageBox::isChecked [read, write] |
QString Launcher::CheckableMessageBox::text [read, write] |