ICS

QicsTable Documentation Set

QicsStyle Class Reference

#include <QicsStyle.h>

Inherits Qics.

Inherited by QicsCellStyle, and QicsGridStyle.

List of all members.

Public Types

enum  QicsStylePropertyType {
  QicsT_Int = 0, QicsT_Float, QicsT_QString, QicsT_QColor,
  QicsT_Boolean, QicsT_QWidget, QicsT_QColorGroup, QicsT_QPalette,
  QicsT_QFont, QicsT_QPixmap, QicsT_QCursor, QicsT_QicsCellDisplay,
  QicsT_QicsDataItemFormatter, QicsT_QValidator, QicsT_QPen, QicsT_QicsRegion,
  QicsT_Pointer
}
enum  QicsSortMode { QicsStableSort = 0, QicsQuickSort }
enum  QicsCellOverflowBehavior { Clip = 0, Overflow, ToolTip }
enum  QicsCurrentCellStyle { Spreadsheet = 0, NormalSelected }
enum  QicsGridCellClipping { AllowPartial = 0, NoDisplayOnPartial, UseClippedSymbol }
enum  QicsGridType { TableGrid = 0, RowHeaderGrid, ColumnHeaderGrid }
enum  QicsHeaderType { RowHeader = 0, ColumnHeader }
enum  QicsIndexType { RowIndex, ColumnIndex }
enum  QicsLineStyle { None = 0, Plain, Raised, Sunken }
enum  QicsRepaintBehavior { RepaintOff = 0, RepaintOn = 1, RepaintCalcOnly = 2 }
enum  QicsScrollBarMode { Auto = 0, AlwaysOff, AlwaysOn }
enum  QicsScrollDirection {
  ScrollNone = 0, ScrollUp, ScrollDown, ScrollLeft,
  ScrollRight, ScrollToRow, ScrollToColumn
}
enum  QicsSelectionPolicy {
  SelectNone = 0, SelectSingle, SelectMultiple, SelectSingleRow,
  SelectMultipleRow
}
enum  QicsSelectionType {
  SelectionNone = 0, SelectionBegin, SelectionDrag, SelectionEnd,
  SelectionExtend, SelectionAdd
}
enum  QicsSortOrder { Ascending = 0, Descending }
enum  QicsTableDisplayOption { DisplayNever = 0, DisplayAlways, DisplayFirstPage }
enum  QicsTraversalKeyEditBehavior { TraverseWithinCell = 0, TraverseBetweenCells }

Public Member Functions

 QicsStyle ()
virtual ~QicsStyle ()
void * getValue (int prop) const
void setValue (int prop, const void *val)
void clear (int prop)
bool isEmpty (void) const

Protected Member Functions

void init (void)

Protected Attributes

void ** myProperties
int myNumProperties
int mySetCount
 counter keeping track of how many properties in the style have been set
const QicsStylePropertyTypemyStyleTypeList

Private Member Functions

QicsStyleoperator= (const QicsStyle &)
 QicsStyle (const QicsStyle &)


Member Enumeration Documentation

enum QicsStyle::QicsStylePropertyType

Enumerator:
QicsT_Int 
QicsT_Float 
QicsT_QString 
QicsT_QColor 
QicsT_Boolean 
QicsT_QWidget 
QicsT_QColorGroup 
QicsT_QPalette 
QicsT_QFont 
QicsT_QPixmap 
QicsT_QCursor 
QicsT_QicsCellDisplay 
QicsT_QicsDataItemFormatter 
QicsT_QValidator 
QicsT_QPen 
QicsT_QicsRegion 
QicsT_Pointer 

enum Qics::QicsSortMode [inherited]

Denotes the sort algorithm wich used

Enumerator:
QicsStableSort 
QicsQuickSort 

enum Qics::QicsCellOverflowBehavior [inherited]

Denotes the behavior of grids when handling cells whose contents cannot be displayed in the boundaries of the cell.

Enumerator:
Clip 
Overflow 
ToolTip 

enum Qics::QicsCurrentCellStyle [inherited]

Denotes the visual style that the current cell of the table will be drawn with.

Enumerator:
Spreadsheet 
NormalSelected 

enum Qics::QicsGridCellClipping [inherited]

Denotes the policy for displaying text that is too long to fit in its cell

Enumerator:
AllowPartial 
NoDisplayOnPartial 
UseClippedSymbol 

enum Qics::QicsGridType [inherited]

Specifies a type of grid object.

Enumerator:
TableGrid 
RowHeaderGrid 
ColumnHeaderGrid 

enum Qics::QicsHeaderType [inherited]

Specifies the type of table header.

Enumerator:
RowHeader 
ColumnHeader 

enum Qics::QicsIndexType [inherited]

Specifies the type of table index.

Enumerator:
RowIndex 
ColumnIndex 

enum Qics::QicsLineStyle [inherited]

Denotes the style of lines and borders in the table widget.

Enumerator:
None 
Plain 
Raised 
Sunken 

enum Qics::QicsRepaintBehavior [inherited]

Specifies the recalculation and repainting behavior of tables and grids.

Enumerator:
RepaintOff 
RepaintOn 
RepaintCalcOnly 

enum Qics::QicsScrollBarMode [inherited]

Specifies the various modes of QicsTable's scroll bars.

Enumerator:
Auto 
AlwaysOff 
AlwaysOn 

enum Qics::QicsScrollDirection [inherited]

Denotes a direction for scrolling operations, or that an absolute scroll should occur.

Enumerator:
ScrollNone 
ScrollUp 
ScrollDown 
ScrollLeft 
ScrollRight 
ScrollToRow 
ScrollToColumn 

enum Qics::QicsSelectionPolicy [inherited]

Denotes the selection policy for the table.

Enumerator:
SelectNone 
SelectSingle 
SelectMultiple 
SelectSingleRow 
SelectMultipleRow 

enum Qics::QicsSelectionType [inherited]

Enumerator:
SelectionNone 
SelectionBegin 
SelectionDrag 
SelectionEnd 
SelectionExtend 
SelectionAdd 

enum Qics::QicsSortOrder [inherited]

Specifies if ordering should be ascending or descending.

Enumerator:
Ascending 
Descending 

enum Qics::QicsTableDisplayOption [inherited]

Specifies a printing display policy for elements of the table

Enumerator:
DisplayNever 
DisplayAlways 
DisplayFirstPage 

enum Qics::QicsTraversalKeyEditBehavior [inherited]

Specifies the behavior of the traversal keys (left, right, up, down, etc) while editing a cell.

Enumerator:
TraverseWithinCell 
TraverseBetweenCells 


Constructor & Destructor Documentation

QicsStyle::QicsStyle (  ) 

virtual QicsStyle::~QicsStyle (  )  [virtual]

Destructor

QicsStyle::QicsStyle ( const QicsStyle  )  [inline, private]


Member Function Documentation

void* QicsStyle::getValue ( int  prop  )  const [inline]

void QicsStyle::setValue ( int  prop,
const void *  val 
)

void QicsStyle::clear ( int  prop  ) 

bool QicsStyle::isEmpty ( void   )  const

void QicsStyle::init ( void   )  [protected]

QicsStyle& QicsStyle::operator= ( const QicsStyle  )  [inline, private]


Member Data Documentation

void** QicsStyle::myProperties [protected]

int QicsStyle::myNumProperties [protected]

int QicsStyle::mySetCount [protected]

counter keeping track of how many properties in the style have been set

const QicsStylePropertyType* QicsStyle::myStyleTypeList [protected]


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

All trademarks and copyrights on this page are properties of their respective owners.
The rest is copyright 1999-2006 Integrated Computer Solutions, Inc.