tools/shared/qtpropertybrowser/qtpropertybrowserutils_p.h
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the tools applications of the Qt Toolkit.
     7 ** This file is part of the tools applications of the Qt Toolkit.
     8 **
     8 **
    66 
    66 
    67 class QtCursorDatabase
    67 class QtCursorDatabase
    68 {
    68 {
    69 public:
    69 public:
    70     QtCursorDatabase();
    70     QtCursorDatabase();
       
    71     void clear();
    71 
    72 
    72     QStringList cursorShapeNames() const;
    73     QStringList cursorShapeNames() const;
    73     QMap<int, QIcon> cursorShapeIcons() const;
    74     QMap<int, QIcon> cursorShapeIcons() const;
    74     QString cursorToShapeName(const QCursor &cursor) const;
    75     QString cursorToShapeName(const QCursor &cursor) const;
    75     QIcon cursorToShapeIcon(const QCursor &cursor) const;
    76     QIcon cursorToShapeIcon(const QCursor &cursor) const;
    92     static QIcon brushValueIcon(const QBrush &b);
    93     static QIcon brushValueIcon(const QBrush &b);
    93     static QString colorValueText(const QColor &c);
    94     static QString colorValueText(const QColor &c);
    94     static QPixmap fontValuePixmap(const QFont &f);
    95     static QPixmap fontValuePixmap(const QFont &f);
    95     static QIcon fontValueIcon(const QFont &f);
    96     static QIcon fontValueIcon(const QFont &f);
    96     static QString fontValueText(const QFont &f);
    97     static QString fontValueText(const QFont &f);
       
    98     static QString dateFormat();
       
    99     static QString timeFormat();
       
   100     static QString dateTimeFormat();
    97 };
   101 };
    98 
   102 
    99 class QtBoolEdit : public QWidget {
   103 class QtBoolEdit : public QWidget {
   100     Q_OBJECT
   104     Q_OBJECT
   101 public:
   105 public: