Kexi API Documentation (2.0 alpha)

KexiDisplayUtils Class Reference

#include <kexidisplayutils.h>

List of all members.


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

void KexiDisplayUtils::initDisplayForAutonumberSign DisplayParameters par,
QWidget widget
[static]
 

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().

void KexiDisplayUtils::initDisplayForDefaultValue DisplayParameters par,
QWidget widget
[static]
 

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().

void KexiDisplayUtils::paintAutonumberSign const DisplayParameters par,
QPainter *  painter,
int  x,
int  y,
int  width,
int  height,
int  align,
bool  overrideColor = false
[static]
 

Paints autonumber sign using par parameters.

Todo:

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:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:58 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003