KexiTableView::Appearance Class Reference

#include <kexitableview.h>

Public Member Functions

 Appearance (TQWidget *widget=0)
 

Public Attributes

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

Detailed Description

Defines table view's detailed appearance settings.

Definition at line 78 of file kexitableview.h.

Constructor & Destructor Documentation

◆ Appearance()

KexiTableView::Appearance::Appearance ( TQWidget *  widget = 0)

Definition at line 62 of file kexitableview.cpp.

Member Data Documentation

◆ alternateBackgroundColor

TQColor KexiTableView::Appearance::alternateBackgroundColor

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

Definition at line 98 of file kexitableview.h.

◆ backgroundAltering

bool KexiTableView::Appearance::backgroundAltering

true if background altering should be enabled, true by default

Definition at line 101 of file kexitableview.h.

◆ baseColor

TQColor KexiTableView::Appearance::baseColor

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

Definition at line 84 of file kexitableview.h.

◆ borderColor

TQColor KexiTableView::Appearance::borderColor

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

Definition at line 91 of file kexitableview.h.

◆ emptyAreaColor

TQColor KexiTableView::Appearance::emptyAreaColor

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

Definition at line 95 of file kexitableview.h.

◆ fullRowSelection

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 108 of file kexitableview.h.

◆ gridEnabled

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 113 of file kexitableview.h.

◆ navigatorEnabled

bool KexiTableView::Appearance::navigatorEnabled

Definition at line 117 of file kexitableview.h.

◆ persistentSelections

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 129 of file kexitableview.h.

◆ rowHighlightingColor

TQColor KexiTableView::Appearance::rowHighlightingColor

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

Definition at line 133 of file kexitableview.h.

◆ rowHighlightingEnabled

bool KexiTableView::Appearance::rowHighlightingEnabled

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

Definition at line 120 of file kexitableview.h.

◆ rowHighlightingTextColor

TQColor KexiTableView::Appearance::rowHighlightingTextColor

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

Definition at line 137 of file kexitableview.h.

◆ rowMouseOverAlternateHighlightingColor

TQColor KexiTableView::Appearance::rowMouseOverAlternateHighlightingColor

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

Definition at line 149 of file kexitableview.h.

◆ rowMouseOverHighlightingColor

TQColor 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 141 of file kexitableview.h.

◆ rowMouseOverHighlightingEnabled

bool KexiTableView::Appearance::rowMouseOverHighlightingEnabled

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

Definition at line 123 of file kexitableview.h.

◆ rowMouseOverHighlightingTextColor

TQColor 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 145 of file kexitableview.h.

◆ textColor

TQColor KexiTableView::Appearance::textColor

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

Definition at line 88 of file kexitableview.h.


The documentation for this class was generated from the following files: