A form that can be used to select the color of the main font of the editor.
More...
#include <MainColorForm.h>
Public Member Functions |
|
| MainColorForm (QWidget *parent=0) |
| 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 |
Protected Member Functions |
|
virtual void | changeEvent (QEvent *e) |
Private Slots |
|
void | selectBackground () |
|
void | selectForeground () |
Detailed Description
A form that can be used to select the color of the main font of the editor.
Member Function Documentation
| const QColor& srchiliteqt::MainColorForm::getBackgroundColor |
( |
| ) |
const |
|
inline |
- Returns
- the color of the background (might be invalid)
| const QColor& srchiliteqt::MainColorForm::getColor |
( |
| ) |
const |
|
inline |
- Returns
- the color of the foreground (might be invalid)
| void srchiliteqt::MainColorForm::setBackgroundColor |
( |
const QColor & |
color | ) |
|
Sets the color of the background button (if valid)
- Parameters
-
| color | the color of the button |
| void srchiliteqt::MainColorForm::setColor |
( |
const QColor & |
color | ) |
|
Sets the color of the foreground button (if valid)
- Parameters
-
| color | the color of the button |
The documentation for this class was generated from the following files: