svgui  1.9
ColourNameDialog Class Reference

#include <ColourNameDialog.h>

List of all members.

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

Detailed Description

Definition at line 28 of file ColourNameDialog.h.


Constructor & Destructor Documentation

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

Member Function Documentation

Definition at line 68 of file ColourNameDialog.cpp.

References m_darkBackground.

Referenced by PropertyBox::addNewColour().

Definition at line 105 of file ColourNameDialog.cpp.

References m_textField.

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 &  text) [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().


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