2017-07-21 18:21:34 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* This file may be used under the terms of the QSkinny License, Version 1.0
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_STANDARD_SYMBOL_H
|
|
|
|
#define QSK_STANDARD_SYMBOL_H 1
|
|
|
|
|
|
|
|
#include "QskGlobal.h"
|
2018-07-19 14:10:48 +02:00
|
|
|
#include <qmetatype.h>
|
2017-07-21 18:21:34 +02:00
|
|
|
|
|
|
|
class QskGraphic;
|
|
|
|
|
2019-04-01 17:41:21 +02:00
|
|
|
class QSK_EXPORT QskStandardSymbol
|
2017-07-21 18:21:34 +02:00
|
|
|
{
|
|
|
|
Q_GADGET
|
|
|
|
|
2018-08-03 08:15:28 +02:00
|
|
|
public:
|
2017-07-21 18:21:34 +02:00
|
|
|
enum Type
|
|
|
|
{
|
|
|
|
NoSymbol = -1,
|
|
|
|
|
|
|
|
Ok,
|
|
|
|
Cancel,
|
|
|
|
|
|
|
|
Information,
|
|
|
|
Warning,
|
|
|
|
Critical,
|
|
|
|
Question,
|
|
|
|
|
|
|
|
SymbolTypeCount
|
|
|
|
};
|
|
|
|
|
|
|
|
Q_ENUM( Type )
|
|
|
|
|
|
|
|
static QskGraphic graphic( Type );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|