#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 () |
Private Attributes | |
| Ui::MainColorForm * | m_ui |
| QColor | foreground |
| QColor | background |
| const QColor& srchiliteqt::MainColorForm::getBackgroundColor | ( | ) | const [inline] |
| const QColor& srchiliteqt::MainColorForm::getColor | ( | ) | const [inline] |
| void srchiliteqt::MainColorForm::setBackgroundColor | ( | const QColor & | color | ) |
Sets the color of the background button (if valid).
| color | the color of the button |
| void srchiliteqt::MainColorForm::setColor | ( | const QColor & | color | ) |
Sets the color of the foreground button (if valid).
| color | the color of the button |
1.5.9