kexi

KexiTableView::Appearance Class Reference

#include <kexitableview.h>

List of all members.


Detailed Description

Defines table view's detailed appearance settings.

Definition at line 79 of file kexitableview.h.


Public Member Functions

 Appearance (QWidget *widget=0)

Public Attributes

QColor baseColor
QColor textColor
QColor borderColor
QColor emptyAreaColor
QColor alternateBackgroundColor
bool backgroundAltering: 1
bool fullRowSelection: 1
bool gridEnabled: 1
bool navigatorEnabled: 1
bool rowHighlightingEnabled: 1
bool rowMouseOverHighlightingEnabled: 1
bool persistentSelections: 1
QColor rowHighlightingColor
QColor rowHighlightingTextColor
QColor rowMouseOverHighlightingColor
QColor rowMouseOverHighlightingTextColor
QColor rowMouseOverAlternateHighlightingColor

Member Data Documentation

QColor KexiTableView::Appearance::alternateBackgroundColor
 

alternate background color, default is KGlobalSettings::alternateBackgroundColor()

Definition at line 99 of file kexitableview.h.

bool KexiTableView::Appearance::backgroundAltering
 

true if background altering should be enabled, true by default

Definition at line 102 of file kexitableview.h.

QColor KexiTableView::Appearance::baseColor
 

base color for cells, default is "Base" color for application's current active palette

Definition at line 85 of file kexitableview.h.

QColor KexiTableView::Appearance::borderColor
 

border color for cells, default is QColor(200,200,200)

Definition at line 92 of file kexitableview.h.

QColor KexiTableView::Appearance::emptyAreaColor
 

empty area color, default is "Base" color for application's current active palette

Definition at line 96 of file kexitableview.h.

bool KexiTableView::Appearance::fullRowSelection
 

true if full-row-selection mode is set, what means that all cells of the current row are always selected, instead of single cell. This mode is usable for read-only table views, when we're interested only in navigating by rows. False by default, even for read-only table views.

Definition at line 109 of file kexitableview.h.

bool KexiTableView::Appearance::gridEnabled
 

true if fullgrid is enabled. True by default. It is set to false for comboboxpopup table, to mimic original combobox look and feel.

Definition at line 114 of file kexitableview.h.

bool KexiTableView::Appearance::persistentSelections
 

true if selection of a row should be kept when a user moved mouse pointer over other rows. Makes only sense when rowMouseOverHighlightingEnabled is true. True by default. It is set to false for comboboxpopup table, to mimic original combobox look and feel.

Definition at line 130 of file kexitableview.h.

QColor KexiTableView::Appearance::rowHighlightingColor
 

color for row highlight, default is intermediate (33/60%) between active highlight and base color.

Definition at line 134 of file kexitableview.h.

bool KexiTableView::Appearance::rowHighlightingEnabled
 

true if "row highlight" behaviour is enabled. False by default.

Definition at line 121 of file kexitableview.h.

QColor KexiTableView::Appearance::rowHighlightingTextColor
 

color for text under row highlight, default is the same as textColor. Used when rowHighlightingEnabled is true;

Definition at line 138 of file kexitableview.h.

QColor KexiTableView::Appearance::rowMouseOverAlternateHighlightingColor
 

Like rowMouseOverHighlightingColor but for areas painted with alternate color. This is computed using active highlight color and alternateBackgroundColor.

Definition at line 150 of file kexitableview.h.

QColor KexiTableView::Appearance::rowMouseOverHighlightingColor
 

color for row highlight for mouseover, default is intermediate (20/80%) between active highlight and base color. Used when rowMouseOverHighlightingEnabled is true.

Definition at line 142 of file kexitableview.h.

bool KexiTableView::Appearance::rowMouseOverHighlightingEnabled
 

true if "row highlight over " behaviour is enabled. False by default.

Definition at line 124 of file kexitableview.h.

QColor KexiTableView::Appearance::rowMouseOverHighlightingTextColor
 

color for text under row highlight for mouseover, default is the same as textColor. Used when rowMouseOverHighlightingEnabled is true;

Definition at line 146 of file kexitableview.h.

QColor KexiTableView::Appearance::textColor
 

text color for cells, default is "Text" color for application's current active palette

Definition at line 89 of file kexitableview.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys