12345678910111213141516171819202122232425 |
- #ifndef COLORDIALOGAPI_H
- #define COLORDIALOGAPI_H
- #include <QWidget>
- #if defined (EXPORT_LIBRARY)
- # define EXPORT_DLL Q_DECL_EXPORT
- #else
- # define EXPORT_DLL Q_DECL_IMPORT
- #endif
- enum class ColorDlgSkin {
- BRIGHT = 0,
- DARK = 1,
- OTHER = 2,
- };
- QColor getColor(QWidget* parent, ColorDlgSkin skin, const QString& qss = QString(),
- const QColor& initClr = QColor(),
- const QList<QColor>& baseClrs = QList<QColor>(),
- const QList<QColor>& customClrs = QList<QColor>());
- #endif
|