KexiDisplayUtils Class Reference
#include <kexidisplayutils.h>
Detailed Description
A set of utilities related to displaying common elements in Kexi, like e.g. (autonumber) sign.
Definition at line 28 of file kexidisplayutils.h.
Static Public Member Functions | |
| static void | initDisplayForAutonumberSign (DisplayParameters &par, QWidget *widget) |
| Initializes display parameters for autonumber sign. | |
| static void | paintAutonumberSign (const DisplayParameters &par, QPainter *painter, int x, int y, int width, int height, int align, bool overrideColor=false) |
| Paints autonumber sign using par parameters. | |
| static void | initDisplayForDefaultValue (DisplayParameters &par, QWidget *widget) |
| Initializes display parameters for default value. | |
Classes | |
| class | DisplayParameters |
| Stores set of display parameters used in utility functions. More... | |
Member Function Documentation
|
||||||||||||
|
Initializes display parameters for autonumber sign.
Definition at line 100 of file kexidisplayutils.cpp. References KexiDisplayUtils::DisplayParameters::font, initDisplayUtilsImages(), KexiDisplayUtils::DisplayParameters::selectedTextColor, SPECIAL_TEXT_COLOR, KexiDisplayUtils::DisplayParameters::textColor, KexiDisplayUtils::DisplayParameters::textHeight, and KexiDisplayUtils::DisplayParameters::textWidth. Referenced by KexiDBTextWidgetInterface::setColumnInfo(), and KexiTableView::updateFonts(). |
|
||||||||||||
|
Initializes display parameters for default value.
Definition at line 113 of file kexidisplayutils.cpp. References KexiDisplayUtils::DisplayParameters::font, KexiDisplayUtils::DisplayParameters::selectedTextColor, SPECIAL_TEXT_COLOR, and KexiDisplayUtils::DisplayParameters::textColor. Referenced by KexiFormDataItemInterface::setDisplayDefaultValue(), and KexiTableView::updateFonts(). |
|
||||||||||||||||||||||||||||||||||||
|
Paints autonumber sign using par parameters.
Definition at line 121 of file kexidisplayutils.cpp. References KexiDisplayUtils_autonum. Referenced by KexiDBTextWidgetInterface::paint(), and KexiTableView::paintCell(). |
The documentation for this class was generated from the following files:
