copasi API  0.1
Public Member Functions | Static Public Member Functions | Protected Attributes
CQMessageBox Class Reference

#include <CQMessageBox.h>

List of all members.

Public Member Functions

 CQMessageBox (Icon icon, const QString &title, const QString &text, StandardButtons buttons=NoButton, QWidget *parent=0, Qt::WindowFlags f=Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint)
void setText (const QString &text)
void setFilteredText (const QString &text)

Static Public Member Functions

static StandardButton information (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton)
static StandardButton question (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton)
static StandardButton warning (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton)
static StandardButton critical (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton)
static StandardButton confirmDelete (QWidget *parent, const QString &objectType, const QString &objects, const std::set< const CCopasiObject * > &deletedObjects)

Protected Attributes

QTabWidget * mpTabWidget
QWidget * mpPage1
QVBoxLayout * mpVerticalLayoutPage1
QTextEdit * mpText1
QWidget * mpPage2
QVBoxLayout * mpVerticalLayoutPage2
QTextEdit * mpText2

Constructor & Destructor Documentation

CQMessageBox::CQMessageBox ( Icon  icon,
const QString &  title,
const QString &  text,
StandardButtons  buttons = NoButton,
QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint 
)

Member Function Documentation

QMessageBox::StandardButton CQMessageBox::confirmDelete ( QWidget *  parent,
const QString &  objectType,
const QString &  objects,
const std::set< const CCopasiObject * > &  deletedObjects 
) [static]
QMessageBox::StandardButton CQMessageBox::critical ( QWidget *  parent,
const QString &  title,
const QString &  text,
StandardButtons  buttons = Ok,
StandardButton  defaultButton = NoButton 
) [static]
QMessageBox::StandardButton CQMessageBox::information ( QWidget *  parent,
const QString &  title,
const QString &  text,
StandardButtons  buttons = Ok,
StandardButton  defaultButton = NoButton 
) [static]
QMessageBox::StandardButton CQMessageBox::question ( QWidget *  parent,
const QString &  title,
const QString &  text,
StandardButtons  buttons = Ok,
StandardButton  defaultButton = NoButton 
) [static]
void CQMessageBox::setFilteredText ( const QString &  text)
void CQMessageBox::setText ( const QString &  text)
QMessageBox::StandardButton CQMessageBox::warning ( QWidget *  parent,
const QString &  title,
const QString &  text,
StandardButtons  buttons = Ok,
StandardButton  defaultButton = NoButton 
) [static]

Member Data Documentation

QWidget* CQMessageBox::mpPage1 [protected]
QWidget* CQMessageBox::mpPage2 [protected]
QTabWidget* CQMessageBox::mpTabWidget [protected]
QTextEdit* CQMessageBox::mpText1 [protected]
QTextEdit* CQMessageBox::mpText2 [protected]
QVBoxLayout* CQMessageBox::mpVerticalLayoutPage1 [protected]
QVBoxLayout* CQMessageBox::mpVerticalLayoutPage2 [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines