WindowsModernStyle Class Reference
Modern Qt style for Windows.
More...
#include <wmstyle/windowsmodernstyle.h>
List of all members.
Public Types
Public Member Functions
- WindowsModernStyle ()
- ~WindowsModernStyle ()
-
void polish (QApplication *application)
-
void unpolish (QApplication *application)
-
void polish (QPalette &palette)
-
void polish (QWidget *widget)
-
void unpolish (QWidget *widget)
-
int pixelMetric (PixelMetric metric, const QStyleOption *option, const QWidget *widget) const
-
int styleHint (StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData=NULL) const
-
QSize sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
-
QRect subElementRect (SubElement element, const QStyleOption *option, const QWidget *widget) const
-
QRect subControlRect (ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const
-
void drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const
-
void drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const
-
void drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const
Protected Slots
-
int layoutSpacingImplementation (QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option, const QWidget *widget) const
Detailed Description
Modern Qt style for Windows.
WindowsModernStyle is a Qt style for Windows which imitates the look of MS Office 2003. It changes the style of toolbars, menus, docked windows and toolboxes. The color scheme used by this style is automatically adjusted to system settings.
Member Enumeration Documentation
- Enumerator:
-
PE_WindowGradient |
Primitive element filled with the main window's background gradient. |
Constructor & Destructor Documentation
Generated on Mon Nov 23 18:07:47 2009 for WMStyle by
1.5.3