1
/***************************************************************************
2
candefs.h - description
5
copyright : (C) 2002 by Alexander Dymo
6
email : cloudtemple@mksat.net
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU Library General Public License as *
13
* published by the Free Software Foundation; either version 2 of the *
14
* License, or (at your option) any later version. *
16
***************************************************************************/
20
#include <qapplication.h>
22
#include <qstringlist.h>
24
enum KuDesignerCanvasRtti { KuDesignerRttiCanvasBox = 1700, KuDesignerRttiCanvasSection, KuDesignerRttiCanvasBand,
25
KuDesignerRttiKugarTemplate=1800, KuDesignerRttiReportHeader, KuDesignerRttiPageHeader, KuDesignerRttiDetailHeader,
26
KuDesignerRttiDetail, KuDesignerRttiDetailFooter, KuDesignerRttiPageFooter, KuDesignerRttiReportFooter,
27
KuDesignerRttiTextBox=2000, KuDesignerRttiCanvasReportItem, KuDesignerRttiCanvasLabel, KuDesignerRttiCanvasField,
28
KuDesignerRttiCanvasSpecial, KuDesignerRttiCanvasCalculated, KuDesignerRttiCanvasLine};
31
QString insertItemActionName(int rtti);
35
Holder size for report items. TODO: configurable
37
const int HolderSize = 6;
39
const int defaultItemWidth = 50;
40
const int defaultItemHeight = 20;