A form that can be used to select the style of a language element to highlight (for instance, color, bold, italic, etc.).
More...
#include <LanguageElemColorForm.h>
|
|
| LanguageElemColorForm (QWidget *parent=0) |
| |
| void | setColorDescription (const QString &name) |
| | Sets the color description label. More...
|
| |
| void | setColor (const QColor &color) |
| | Sets the color of the foreground button (if valid) More...
|
| |
| void | setBackgroundColor (const QColor &color) |
| | Sets the color of the background button (if valid) More...
|
| |
| 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) |
| |
|
|
virtual void | changeEvent (QEvent *e) |
| |
|
|
void | selectBackground () |
| |
|
void | selectForeground () |
| |
A form that can be used to select the style of a language element to highlight (for instance, color, bold, italic, etc.).
| const QColor& srchiliteqt::LanguageElemColorForm::getBackgroundColor |
( |
) | |
const |
|
inline |
- Returns
- the color of the background
| const QColor& srchiliteqt::LanguageElemColorForm::getColor |
( |
) | |
const |
|
inline |
- Returns
- the color of the foreground
| void srchiliteqt::LanguageElemColorForm::setBackgroundColor |
( |
const QColor & |
color) | |
|
Sets the color of the background button (if valid)
- Parameters
-
| color | the color of the button |
| void srchiliteqt::LanguageElemColorForm::setColor |
( |
const QColor & |
color) | |
|
Sets the color of the foreground button (if valid)
- Parameters
-
| color | the color of the button |
| void srchiliteqt::LanguageElemColorForm::setColorDescription |
( |
const QString & |
name) | |
|
Sets the color description label.
- Parameters
-
| name | the color description label |
The documentation for this class was generated from the following files: