#include <LanguageElemColorForm.h>
Public Member Functions | |
| LanguageElemColorForm (QWidget *parent=0) | |
| void | setColorDescription (const QString &name) |
| Sets the color description label. | |
| void | setColor (const QColor &color) |
| Sets the color of the foreground button (if valid). | |
| void | setBackgroundColor (const QColor &color) |
| Sets the color of the background button (if valid). | |
| const QColor & | getColor () const |
| const QColor & | getBackgroundColor () const |
| bool | isBold () const |
| void | setBold (bool b) |
| bool | isItalic () const |
| void | setItalic (bool i) |
| bool | isUnderline () const |
| void | setUnderline (bool u) |
| bool | isMonospace () const |
| void | setMonospace (bool m) |
Protected Member Functions | |
| virtual void | changeEvent (QEvent *e) |
Private Slots | |
| void | selectBackground () |
| void | selectForeground () |
Private Attributes | |
| Ui::LanguageElemColorForm * | m_ui |
| QColor | foreground |
| QColor | background |
).
| const QColor& srchiliteqt::LanguageElemColorForm::getBackgroundColor | ( | ) | const [inline] |
| const QColor& srchiliteqt::LanguageElemColorForm::getColor | ( | ) | const [inline] |
| void srchiliteqt::LanguageElemColorForm::setBackgroundColor | ( | const QColor & | color | ) |
Sets the color of the background button (if valid).
| color | the color of the button |
| void srchiliteqt::LanguageElemColorForm::setColor | ( | const QColor & | color | ) |
Sets the color of the foreground button (if valid).
| color | the color of the button |
| void srchiliteqt::LanguageElemColorForm::setColorDescription | ( | const QString & | name | ) |
Sets the color description label.
| name | the color description label |
1.5.9