Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

flat.cpp File Reference

#include <qtopia/qpeapplication.h>
#include <qpushbutton.h>
#include <qtoolbutton.h>
#include <qpainter.h>
#include <qfontmetrics.h>
#include <qpalette.h>
#include <qdrawutil.h>
#include <qscrollbar.h>
#include <qbutton.h>
#include <qframe.h>
#include <qtabbar.h>
#include <qspinbox.h>
#include <qlineedit.h>
#include <qmap.h>
#include <qmenudata.h>
#include <qpopupmenu.h>
#include "flat.h"
#include "flat.moc"

Include dependency graph for flat.cpp:

Go to the source code of this file.

Defines

#define INCLUDE_MENUITEM_DEF
#define QCOORDARRLEN(x)   sizeof(x)/(sizeof(QCOORD)*2)
#define HORIZONTAL   (sb->orientation() == QScrollBar::Horizontal)
#define VERTICAL   !HORIZONTAL
#define MOTIF_BORDER   2
#define SLIDER_MIN   9
#define ADD_LINE_ACTIVE   ( activeControl == AddLine )
#define SUB_LINE_ACTIVE   ( activeControl == SubLine )

Functions

 Q_EXPORT_INTERFACE ()

Variables

static const int motifItemFrame = 0
static const int motifSepHeight = 2
static const int motifItemHMargin = 1
static const int motifItemVMargin = 2
static const int motifArrowHMargin = 0
static const int motifTabSpacing = 12
static const int motifCheckMarkHMargin = 1
static const int windowsRightBorder = 8
static const int windowsCheckMarkWidth = 2


Define Documentation

#define ADD_LINE_ACTIVE   ( activeControl == AddLine )
 

Referenced by FreshStyle::drawScrollBarControls(), and FlatStyle::drawScrollBarControls().

#define HORIZONTAL   (sb->orientation() == QScrollBar::Horizontal)
 

Definition at line 499 of file flat.cpp.

Referenced by FreshStyle::drawScrollBarControls(), FlatStyle::drawScrollBarControls(), FreshStyle::scrollBarMetrics(), and FlatStyle::scrollBarMetrics().

#define INCLUDE_MENUITEM_DEF
 

Definition at line 36 of file flat.cpp.

#define MOTIF_BORDER   2
 

Definition at line 501 of file flat.cpp.

#define QCOORDARRLEN  )     sizeof(x)/(sizeof(QCOORD)*2)
 

Definition at line 42 of file flat.cpp.

#define SLIDER_MIN   9
 

Definition at line 502 of file flat.cpp.

Referenced by FreshStyle::scrollBarMetrics(), and FlatStyle::scrollBarMetrics().

#define SUB_LINE_ACTIVE   ( activeControl == SubLine )
 

Referenced by FreshStyle::drawScrollBarControls(), and FlatStyle::drawScrollBarControls().

#define VERTICAL   !HORIZONTAL
 

Definition at line 500 of file flat.cpp.

Referenced by FreshStyle::drawScrollBarControls(), and FlatStyle::drawScrollBarControls().


Function Documentation

Q_EXPORT_INTERFACE  ) 
 

Definition at line 1101 of file flat.cpp.

References Q_CREATE_INSTANCE.


Variable Documentation

const int motifArrowHMargin = 0 [static]
 

Definition at line 844 of file flat.cpp.

Referenced by OThemeStyle::drawPopupMenuItem(), FreshStyle::drawPopupMenuItem(), LiquidStyle::drawPopupMenuItem(), and FlatStyle::drawPopupMenuItem().

const int motifCheckMarkHMargin = 1 [static]
 

Definition at line 846 of file flat.cpp.

Referenced by FreshStyle::extraPopupMenuItemWidth(), and FlatStyle::extraPopupMenuItemWidth().

const int motifItemFrame = 0 [static]
 

Definition at line 840 of file flat.cpp.

Referenced by OThemeStyle::drawPopupMenuItem(), FreshStyle::drawPopupMenuItem(), LiquidStyle::drawPopupMenuItem(), FlatStyle::drawPopupMenuItem(), FreshStyle::extraPopupMenuItemWidth(), FlatStyle::extraPopupMenuItemWidth(), FreshStyle::popupMenuItemHeight(), and FlatStyle::popupMenuItemHeight().

const int motifItemHMargin = 1 [static]
 

Definition at line 842 of file flat.cpp.

Referenced by OThemeStyle::drawPopupMenuItem(), FreshStyle::drawPopupMenuItem(), LiquidStyle::drawPopupMenuItem(), FlatStyle::drawPopupMenuItem(), FreshStyle::extraPopupMenuItemWidth(), and FlatStyle::extraPopupMenuItemWidth().

const int motifItemVMargin = 2 [static]
 

Definition at line 843 of file flat.cpp.

Referenced by OThemeStyle::drawPopupMenuItem(), FreshStyle::drawPopupMenuItem(), LiquidStyle::drawPopupMenuItem(), FlatStyle::drawPopupMenuItem(), FreshStyle::popupMenuItemHeight(), and FlatStyle::popupMenuItemHeight().

const int motifSepHeight = 2 [static]
 

Definition at line 841 of file flat.cpp.

Referenced by FreshStyle::popupMenuItemHeight(), and FlatStyle::popupMenuItemHeight().

const int motifTabSpacing = 12 [static]
 

Definition at line 845 of file flat.cpp.

Referenced by FreshStyle::extraPopupMenuItemWidth(), and FlatStyle::extraPopupMenuItemWidth().

const int windowsCheckMarkWidth = 2 [static]
 

Definition at line 848 of file flat.cpp.

Referenced by FreshStyle::extraPopupMenuItemWidth(), and FlatStyle::extraPopupMenuItemWidth().

const int windowsRightBorder = 8 [static]
 

Definition at line 847 of file flat.cpp.

Referenced by OThemeStyle::drawPopupMenuItem(), FreshStyle::drawPopupMenuItem(), LiquidStyle::drawPopupMenuItem(), FlatStyle::drawPopupMenuItem(), FreshStyle::extraPopupMenuItemWidth(), and FlatStyle::extraPopupMenuItemWidth().


Generated on Sat Nov 5 16:54:13 2005 for OPIE by  doxygen 1.4.2