OpenMW
Public Member Functions | Static Public Member Functions | Properties | Private Slots | Private Attributes
Launcher::CheckableMessageBox Class Reference

#include <checkablemessagebox.hpp>

List of all members.

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

CheckableMessageBoxPrivated

Constructor & Destructor Documentation

Launcher::CheckableMessageBox::CheckableMessageBox ( QWidget *  parent) [explicit]

Member Function Documentation

QPushButton * Launcher::CheckableMessageBox::addButton ( const QString &  text,
QDialogButtonBox::ButtonRole  role 
)
QPushButton * Launcher::CheckableMessageBox::button ( QDialogButtonBox::StandardButton  b) 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]
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::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

Member Data Documentation


Property Documentation

QDialogButtonBox::StandardButtons Launcher::CheckableMessageBox::buttons [read, write]
QDialogButtonBox::StandardButton Launcher::CheckableMessageBox::defaultButton [read, write]
QString Launcher::CheckableMessageBox::text [read, write]

The documentation for this class was generated from the following files: