ICS

QicsTable Documentation Set

QicsNamespace.h

Go to the documentation of this file.
00001 /*********************************************************************
00002 **
00003 ** Copyright (C) 2002-2006 Integrated Computer Solutions, Inc
00004 ** All rights reserved.
00005 **
00006 ** This file is part of the QicsTable Product.
00007 **
00008 **********************************************************************/
00009 
00010 #ifndef _QICSNAMESPACE_H
00011 #define _QICSNAMESPACE_H
00012 
00013 #include <qglobal.h>
00014 
00015 // Note: qicstable_version mask = N.N.N (no more, no less, N-number)
00016 // Else brakes PyQicsTable
00017 #define QICSTABLE_VERSION "qicstable_version: 1.1.3 (04-Dec-06)"
00018 
00019 #include <limits.h>
00020 #include <assert.h>
00021 
00022 #if defined(Q_WS_WIN32)
00023 #pragma warning( disable : 4251 )
00024 #endif
00025 
00026 #if defined(Q_WS_WIN32)
00027 #  if defined(QICS_MAKEDLL) /* create a Qics DLL library */
00028 #    if !defined(QT_NODLL)
00029 #      define QICS_EXPORT  __declspec(dllexport)
00030 #    else
00031 #      undef QICS_MAKEDLL
00032 #    endif
00033 #  elif defined(QT_DLL)     /* use a Qics DLL library */
00034 #    if !defined(QT_NODLL)
00035 #      define QICS_EXPORT  __declspec(dllimport)
00036 #    endif
00037 #  endif
00038 #endif
00039 
00040 #ifndef QICSTABLE_EVAL
00041 #  if !defined(QICS_EXPORT)
00042 #    define QICS_EXPORT
00043 #  endif
00044 #endif
00045 
00053 class QICS_EXPORT Qics {
00054 public:
00055 
00056 #if defined(Q_WS_WIN32)
00057     enum { QicsLAST_ROW = INT_MAX };
00058     enum { QicsLAST_COLUMN = INT_MAX };
00059 #endif
00060 #if (defined(Q_WS_X11) || defined(Q_WS_MAC))
00061     static const int QicsLAST_ROW;
00062     static const int QicsLAST_COLUMN;
00063 #endif
00064 
00070     enum QicsSortMode { QicsStableSort = 0,
00071                          QicsQuickSort       };
00072 
00083     enum QicsCellOverflowBehavior { Clip = 0,
00084                     Overflow,
00085                     ToolTip };
00086 
00097     enum QicsCurrentCellStyle { Spreadsheet = 0,
00098                 NormalSelected };
00099 
00109     enum QicsGridCellClipping { AllowPartial = 0,
00110                 NoDisplayOnPartial,
00111                 UseClippedSymbol };
00112 
00119     enum QicsGridType { TableGrid = 0,
00120             RowHeaderGrid,
00121             ColumnHeaderGrid };
00122 
00129     enum QicsHeaderType { RowHeader = 0,
00130               ColumnHeader };
00131 
00132 
00139     enum QicsIndexType { RowIndex,
00140              ColumnIndex };
00141     
00149     enum QicsLineStyle { None = 0,
00150              Plain,
00151              Raised,
00152              Sunken };
00153 
00161     enum QicsRepaintBehavior { RepaintOff = 0,
00162                    RepaintOn = 1,
00163                    RepaintCalcOnly = 2 };
00164 
00173     enum QicsScrollBarMode { Auto = 0,
00174                  AlwaysOff,
00175                  AlwaysOn };
00176 
00188     enum QicsScrollDirection { ScrollNone = 0,
00189                    ScrollUp,
00190                    ScrollDown,
00191                    ScrollLeft,
00192                    ScrollRight,
00193                                ScrollToRow,
00194                                ScrollToColumn };
00195 
00207     enum QicsSelectionPolicy { SelectNone = 0,
00208                    SelectSingle,
00209                    SelectMultiple,
00210                    SelectSingleRow,
00211                    SelectMultipleRow };
00212 
00226     enum QicsSelectionType { SelectionNone = 0,
00227                  SelectionBegin,
00228                  SelectionDrag,
00229                  SelectionEnd,
00230                  SelectionExtend,
00231                  SelectionAdd };
00232 
00233 
00239     enum QicsSortOrder { Ascending = 0,
00240                  Descending };
00241 
00249     enum QicsTableDisplayOption { DisplayNever = 0,
00250                   DisplayAlways,
00251                   DisplayFirstPage };
00252 
00261     enum QicsTraversalKeyEditBehavior { TraverseWithinCell = 0,
00262                     TraverseBetweenCells };
00263 };
00264 
00265 #endif /* _QICSNAMESPACE_H */

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