Changeset 19120 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Apr 22, 2009 8:34:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxAquaStyle.h
r8155 r19120 30 30 31 31 /** 32 * The Virtual 33 * 34 * The purpose of this class is to make some small adjustments to 32 * The VirtualBox QAquaStyle overrider. 33 * 34 * The purpose of this class is to make some small adjustments to 35 35 * the QAquaStyle so it looks and works better. 36 * 36 * 37 37 * Since the QAquaStyle class isn't exported we have to do all the 38 38 * virtual method work our selves. This also means we doesn't have … … 54 54 virtual void polish( QPalette &p ); 55 55 virtual void polishPopupMenu( Q3PopupMenu *m ); 56 virtual QRect itemRect( QPainter *p, const QRect &r, int flags, bool enabled, const QPixmap *pixmap, 56 virtual QRect itemRect( QPainter *p, const QRect &r, int flags, bool enabled, const QPixmap *pixmap, 57 57 const QString &text, int len = -1 ) const; 58 virtual void drawItem( QPainter *p, const QRect &r, int flags, const QColorGroup &g, bool enabled, 58 virtual void drawItem( QPainter *p, const QRect &r, int flags, const QColorGroup &g, bool enabled, 59 59 const QPixmap *pixmap, const QString &text, int len = -1, const QColor *penColor = 0 ) const; 60 60 virtual void drawPrimitive( PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, … … 66 66 virtual QRect subRect( SubRect r, const QWidget *widget ) const; 67 67 virtual int pixelMetric( PixelMetric metric, const QWidget *widget = 0 ) const; 68 virtual QSize sizeFromContents( ContentsType contents, const QWidget *widget, const QSize &contentsSize, 68 virtual QSize sizeFromContents( ContentsType contents, const QWidget *widget, const QSize &contentsSize, 69 69 const QStyleOption &foo = QStyleOption::Default ) const; 70 virtual int styleHint( StyleHint stylehint, const QWidget *widget = 0, const QStyleOption &foo = QStyleOption::Default, 70 virtual int styleHint( StyleHint stylehint, const QWidget *widget = 0, const QStyleOption &foo = QStyleOption::Default, 71 71 QStyleHintReturn* returnData = 0 ) const; 72 72 virtual QPixmap stylePixmap( StylePixmap stylepixmap, const QWidget *widget = 0, const QStyleOption &foo = QStyleOption::Default ) const;
Note:
See TracChangeset
for help on using the changeset viewer.