svgui
1.9
|
#include <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 |
Definition at line 28 of file ColourNameDialog.h.
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().
void ColourNameDialog::showDarkBackgroundCheckbox | ( | QString | text | ) |
Definition at line 68 of file ColourNameDialog.cpp.
References m_darkBackground.
Referenced by PropertyBox::addNewColour().
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 & | 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().
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().