Qt 4.8
|
#include "qplastiquestyle.h"
#include "qwindowsstyle_p.h"
#include <qapplication.h>
#include <qbitmap.h>
#include <qabstractitemview.h>
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qdebug.h>
#include <qdialogbuttonbox.h>
#include <qformlayout.h>
#include <qgroupbox.h>
#include <qimage.h>
#include <qlineedit.h>
#include <qmainwindow.h>
#include <qmenu.h>
#include <qmenubar.h>
#include <qpainter.h>
#include <qpaintengine.h>
#include <qpainterpath.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpixmap.h>
#include <qpixmapcache.h>
#include <qprogressbar.h>
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qscrollbar.h>
#include <qspinbox.h>
#include <qsplitter.h>
#include <qstyleoption.h>
#include <qtextedit.h>
#include <qelapsedtimer.h>
#include <qtoolbar.h>
#include <qtoolbox.h>
#include <qtoolbutton.h>
#include <qworkspace.h>
#include <qprocess.h>
#include <qvarlengtharray.h>
#include <limits.h>
#include <private/qstylehelper_p.h>
Go to the source code of this file.
Classes | |
class | QPlastiqueStylePrivate |
Macros | |
#define | CT1(c) CT2(c, c) |
#define | CT2(c1, c2) (((uint)c1 << 16) | (uint)c2) |
Functions | |
static QString | elliditide (const QString &text, const QFontMetrics &fontMetrics, const QRect &rect, int *textWidth=0) |
static QColor | mergedColors (const QColor &colorA, const QColor &colorB, int factor=50) |
static QBrush | qBrushDark (QBrush brush, int dark) |
static QBrush | qBrushLight (QBrush brush, int light) |
static void | qBrushSetAlphaF (QBrush *brush, qreal alpha) |
static QBrush | qMapBrushToRect (const QBrush &brush, const QRectF &rect) |
static QLinearGradient | qMapGradientToRect (const QLinearGradient &gradient, const QRectF &rect) |
static void | qt_plastique_draw_frame (QPainter *painter, const QRect &rect, const QStyleOption *option, QFrame::Shadow shadow=QFrame::Plain) |
static void | qt_plastique_draw_gradient (QPainter *painter, const QRect &rect, const QColor &gradientStart, const QColor &gradientStop) |
static void | qt_plastique_draw_handle (QPainter *painter, const QStyleOption *option, const QRect &rect, Qt::Orientation orientation, const QWidget *widget) |
static void | qt_plastique_draw_mdibutton (QPainter *painter, const QStyleOptionTitleBar *option, const QRect &tmp, bool hover, bool sunken) |
static void | qt_plastique_drawFrame (QPainter *painter, const QStyleOption *option, const QWidget *widget) |
static void | qt_plastique_drawShadedPanel (QPainter *painter, const QStyleOption *option, bool base, const QWidget *widget) |
Variables | |
static const bool | AnimateBusyProgressBar = true |
static const bool | AnimateProgressBar = false |
static const int | blueFrameWidth = 2 |
static const int | ProgressBarFps = 25 |
static const char *const | qt_plastique_slider_horizontalhandle [] |
static const char *const | qt_plastique_slider_horizontalhandle_up [] |
static const char *const | qt_plastique_slider_verticalhandle [] |
static const char *const | qt_plastique_slider_verticalhandle_left [] |
static const char *const | qt_scrollbar_button_arrow_down [] |
static const char *const | qt_scrollbar_button_arrow_left [] |
static const char *const | qt_scrollbar_button_arrow_right [] |
static const char *const | qt_scrollbar_button_arrow_up [] |
static const char *const | qt_scrollbar_button_down [] |
static const char *const | qt_scrollbar_button_left [] |
static const char *const | qt_scrollbar_button_right [] |
static const char *const | qt_scrollbar_button_up [] |
static const char *const | qt_scrollbar_slider_pattern_horizontal [] |
static const char *const | qt_scrollbar_slider_pattern_vertical [] |
static const char *const | qt_simple_toolbarhandle [] |
static const char *const | qt_titlebar_context_help [] |
static const char *const | qt_toolbarhandle [] |
static const int | windowsArrowHMargin = 6 |
static const int | windowsCheckMarkWidth = 12 |
static const int | windowsItemFrame = 2 |
static const int | windowsItemHMargin = 3 |
static const int | windowsItemVMargin = 2 |
static const int | windowsRightBorder = 15 |
static const int | windowsSepHeight = 2 |
static const int | windowsTabSpacing = 12 |
Definition at line 5867 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::layoutSpacingImplementation().
Definition at line 5868 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::layoutSpacingImplementation().
|
static |
Definition at line 918 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
Definition at line 730 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), QPlastiqueStyle::drawPrimitive(), qt_plastique_draw_handle(), and qt_plastique_drawFrame().
Definition at line 578 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), QPlastiqueStyle::drawPrimitive(), and qt_plastique_draw_frame().
Definition at line 516 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), and QPlastiqueStyle::drawPrimitive().
Definition at line 450 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), QPlastiqueStylePrivate::drawPartialFrame(), QPlastiqueStyle::drawPrimitive(), and qt_plastique_draw_frame().
Definition at line 440 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), and QPlastiqueStyle::drawPrimitive().
|
static |
Definition at line 432 of file qplastiquestyle.cpp.
Referenced by qMapBrushToRect().
|
static |
Definition at line 652 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), and QPlastiqueStyle::drawPrimitive().
|
static |
Definition at line 740 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl(), QPlastiqueStyle::drawControl(), QPlastiqueStyle::drawPrimitive(), qt_plastique_draw_mdibutton(), and qt_plastique_drawShadedPanel().
|
static |
Definition at line 951 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), and QPlastiqueStyle::drawPrimitive().
|
static |
Definition at line 874 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 780 of file qplastiquestyle.cpp.
Referenced by qt_plastique_drawShadedPanel().
|
static |
Definition at line 847 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), and QPlastiqueStyle::drawPrimitive().
|
static |
Definition at line 46 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), QPlastiqueStyle::polish(), and QPlastiqueStyle::unpolish().
|
static |
Definition at line 47 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), and QPlastiqueStyle::timerEvent().
|
static |
Definition at line 50 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStylePrivate::drawPartialFrame(), and QPlastiqueStyle::subControlRect().
|
static |
Definition at line 49 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), QPlastiqueStyle::eventFilter(), and QPlastiqueStyle::timerEvent().
|
static |
Definition at line 144 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 168 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 104 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 124 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 225 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 192 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 204 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 216 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 309 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 234 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 259 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 284 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 358 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 334 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 387 of file qplastiquestyle.cpp.
Referenced by qt_plastique_draw_handle().
|
static |
Definition at line 397 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawComplexControl().
|
static |
Definition at line 374 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl(), and QPlastiqueStyle::drawPrimitive().
|
static |
Definition at line 99 of file qplastiquestyle.cpp.
|
static |
Definition at line 102 of file qplastiquestyle.cpp.
|
static |
Definition at line 95 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 97 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 98 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 101 of file qplastiquestyle.cpp.
Referenced by QPlastiqueStyle::drawControl().
|
static |
Definition at line 96 of file qplastiquestyle.cpp.
|
static |
Definition at line 100 of file qplastiquestyle.cpp.