ColourNameDialog Class Reference

#include <ColourNameDialog.h>

List of all members.


Detailed Description

Definition at line 28 of file ColourNameDialog.h.

Public Member Functions

 ColourNameDialog (QString title, QString message, QColor colour, QString defaultName, QWidget *parent=0)
void showDarkBackgroundCheckbox (QString text)
QString getColourName () const
bool isDarkBackgroundChecked () const

Protected Slots

void darkBackgroundChanged (int)
void textChanged (const QString &)

Protected Member Functions

void fillColourLabel ()

Protected Attributes

QColor m_colour
QLabel * m_colourLabel
QLineEdit * m_textField
QPushButton * m_okButton
QCheckBox * m_darkBackground


Constructor & Destructor Documentation

ColourNameDialog::ColourNameDialog ( QString  title,
QString  message,
QColor  colour,
QString  defaultName,
QWidget *  parent = 0 
)

Definition at line 27 of file ColourNameDialog.cpp.

References darkBackgroundChanged(), fillColourLabel(), m_colourLabel, m_darkBackground, m_okButton, m_textField, and textChanged().


Member Function Documentation

void ColourNameDialog::showDarkBackgroundCheckbox ( QString  text  ) 

Definition at line 68 of file ColourNameDialog.cpp.

References m_darkBackground.

QString ColourNameDialog::getColourName (  )  const

Definition at line 105 of file ColourNameDialog.cpp.

References m_textField.

bool ColourNameDialog::isDarkBackgroundChecked (  )  const

Definition at line 75 of file ColourNameDialog.cpp.

References m_darkBackground.

void ColourNameDialog::darkBackgroundChanged ( int   )  [protected, slot]

Definition at line 81 of file ColourNameDialog.cpp.

References fillColourLabel().

Referenced by ColourNameDialog().

void ColourNameDialog::textChanged ( const QString &   )  [protected, slot]

Definition at line 87 of file ColourNameDialog.cpp.

References m_okButton.

Referenced by ColourNameDialog().

void ColourNameDialog::fillColourLabel (  )  [protected]

Definition at line 93 of file ColourNameDialog.cpp.

References m_colour, m_colourLabel, and m_darkBackground.

Referenced by ColourNameDialog(), and darkBackgroundChanged().


Member Data Documentation

QColor ColourNameDialog::m_colour [protected]

Definition at line 47 of file ColourNameDialog.h.

Referenced by fillColourLabel().

QLabel* ColourNameDialog::m_colourLabel [protected]

Definition at line 48 of file ColourNameDialog.h.

Referenced by ColourNameDialog(), and fillColourLabel().

QLineEdit* ColourNameDialog::m_textField [protected]

Definition at line 49 of file ColourNameDialog.h.

Referenced by ColourNameDialog(), and getColourName().

QPushButton* ColourNameDialog::m_okButton [protected]

Definition at line 50 of file ColourNameDialog.h.

Referenced by ColourNameDialog(), and textChanged().

QCheckBox* ColourNameDialog::m_darkBackground [protected]

Definition at line 51 of file ColourNameDialog.h.

Referenced by ColourNameDialog(), fillColourLabel(), isDarkBackgroundChecked(), and showDarkBackgroundCheckbox().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:32 2008 for SonicVisualiser by  doxygen 1.5.1