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: 2.1.0 (08-Feb-07)"
00018 
00019 // Note: numeric version to be able to use conditional compilation (using #if directive).
00020 // This macro expands a numeric value of the form 0xMMNNPP (MM = major, NN = minor, PP = patch) that
00021 // specifies QicsTable's version number
00022 #define QICSTABLE_VERSION_NUMERIC 0x020100
00023 
00024 // Note: packaging date string
00025 #define QICSTABLE_PACKAGEDATE  "08-Feb-2007"
00026 
00027 // Note: numeric date definition to be able to use conditional compilation (using #if directive).
00028 // This macro expands a numeric value of the form 0xYYMMDD (YY = year, MM = month, DD = day) that
00029 // specifies QicsTable's packaging date.
00030 
00031 #define QICSTABLE_PACKAGEDATE_NUMERIC 0x070208
00032 
00033 #include <limits.h>
00034 #include <assert.h>
00035 
00036 #if defined(Q_WS_WIN32)
00037 #  if defined(QICS_MAKEDLL) /* create a Qics DLL library */
00038 #    if !defined(QT_NODLL)
00039 #      define QICS_EXPORT  __declspec(dllexport)
00040 #    else
00041 #      undef QICS_MAKEDLL
00042 #    endif
00043 #  elif defined(QT_DLL)     /* use a Qics DLL library */
00044 #    if !defined(QT_NODLL)
00045 #      define QICS_EXPORT  __declspec(dllimport)
00046 #    endif
00047 #  endif
00048 #endif
00049 
00050 #ifndef QICSTABLE_EVAL
00051 #  if !defined(QICS_EXPORT)
00052 #    define QICS_EXPORT
00053 #  endif
00054 #endif
00055 
00057 
00060 
00061 
00069 class QICS_EXPORT Qics {
00070 public:
00071 
00072 #if defined(Q_WS_WIN32)
00073     enum { QicsLAST_ROW = INT_MAX-1 };
00074     enum { QicsLAST_COLUMN = INT_MAX-1 };
00075 #endif
00076 #if (defined(Q_WS_X11) || defined(Q_WS_MAC))
00077     static const int QicsLAST_ROW;
00078     static const int QicsLAST_COLUMN;
00079 #endif
00080 
00086     enum QicsSortMode { QicsStableSort = 0,
00087                         QicsQuickSort       };
00088 
00099     enum QicsCellOverflowBehavior { Clip = 0,
00100                     Overflow,
00101                     ToolTip };
00102 
00113     enum QicsCurrentCellStyle { Spreadsheet = 0,
00114                 NormalSelected};
00120      enum QicsSelectionStyle{ Normal = 0,
00121      Exclusive };
00122 
00132     enum QicsGridCellClipping { AllowPartial = 0,
00133                 NoDisplayOnPartial,
00134                 UseClippedSymbol };
00135 
00142     enum QicsGridType { TableGrid = 0,
00143             RowHeaderGrid,
00144             ColumnHeaderGrid };
00145 
00152     enum QicsHeaderType { RowHeader = 0,
00153               ColumnHeader };
00154 
00155 
00162     enum QicsIndexType {NoIndex = 0,
00163             RowIndex,
00164             ColumnIndex,
00165             RowAndColumnIndex };
00166 
00174     enum QicsLineStyle { None = 0,
00175              Plain,
00176              Raised,
00177              Sunken };
00178 
00186     enum QicsRepaintBehavior { RepaintOff = 0,
00187                    RepaintOn = 1,
00188                    RepaintCalcOnly = 2 };
00189 
00198     enum QicsScrollBarMode { Auto = 0,
00199                  AlwaysOff,
00200                  AlwaysOn };
00201 
00213     enum QicsScrollDirection { ScrollNone = 0,
00214                    ScrollUp,
00215                    ScrollDown,
00216                    ScrollLeft,
00217                    ScrollRight,
00218                    ScrollToRow,
00219                    ScrollToColumn };
00220 
00232     enum QicsSelectionPolicy { SelectNone = 0,
00233                    SelectSingle,
00234                    SelectMultiple,
00235                    SelectSingleRow,
00236                    SelectMultipleRow };
00237 
00251     enum QicsSelectionType { SelectionNone = 0,
00252                  SelectionBegin,
00253                  SelectionDrag,
00254                  SelectionEnd,
00255                  SelectionExtend,
00256                  SelectionAdd };
00257 
00258 
00264     enum QicsSortOrder { Ascending = 0,
00265                  Descending };
00266 
00274     enum QicsTableDisplayOption { DisplayNever = 0,
00275                   DisplayAlways,
00276                   DisplayFirstPage };
00277 
00286     enum QicsTraversalKeyEditBehavior { TraverseWithinCell = 0,
00287                     TraverseBetweenCells };
00288 };
00289 
00290 
00291 #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.