Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/styles/qwindowsmobilestyle_p.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    6161#ifndef QT_NO_STYLE_WINDOWSMOBILE
    6262
     63class QStyleOptionTab;
     64class QStyleOptionSlider;
     65class QStyleOptionViewItemV4;
     66
    6367class QWindowsMobileStylePrivate : public QWindowsStylePrivate
    6468{
     
    6872    bool doubleControls;
    6973    bool smartphone;
     74#ifdef Q_WS_WINCE_WM
     75    bool wm65;
     76#endif
    7077
    7178    QImage imageRadioButton;
     
    8693    QImage imageNormalize;
    8794    QImage imageMinimize;
     95
     96    void setupWindowsMobileStyle65();
     97
     98#ifdef Q_WS_WINCE_WM
     99    //Windows Mobile 6.5 images
     100    QImage imageScrollbarHandleUp;
     101    QImage imageScrollbarHandleDown;
     102    QImage imageScrollbarHandleUpHigh;
     103    QImage imageScrollbarHandleDownHigh;
     104    QImage imageScrollbarGripUp;
     105    QImage imageScrollbarGripDown;
     106    QImage imageScrollbarGripMiddle;
     107    QImage imageListViewHighlightCornerLeft;
     108    QImage imageListViewHighlightCornerRight;
     109    QImage imageListViewHighlightMiddle;
     110    QImage imageTabEnd;
     111    QImage imageTabSelectedEnd;
     112    QImage imageTabSelectedBegin;
     113    QImage imageTabMiddle;
     114
     115    QColor currentTintHigh;
     116    QColor currentTintButton;
     117
     118    void tintImagesHigh(QColor color);
     119    void tintImagesButton(QColor color);
     120    void tintListViewHighlight(QColor color);
     121
     122#endif //Q_WS_WINCE_WM
     123
     124    void drawScrollbarHandleUp(QPainter *p, QStyleOptionSlider *opt, bool completeFrame = false, bool secondScrollBar = false);
     125    void drawScrollbarHandleDown(QPainter *p, QStyleOptionSlider *opt, bool completeFrame = false, bool secondScrollBar = false);
     126    void drawScrollbarGroove(QPainter *p, const QStyleOptionSlider *opt);
     127    void drawScrollbarGrip(QPainter *p, QStyleOptionSlider *newScrollbar, const QStyleOptionComplex *option, bool drawCompleteFrame);
     128    void drawTabBarTab(QPainter *p, const QStyleOptionTab *tab);
     129    void drawPanelItemViewSelected(QPainter *painter, const QStyleOptionViewItemV4 *option, QRect rect = QRect());
     130
    88131};
    89132
Note: See TracChangeset for help on using the changeset viewer.