28 lines
412 B
C++
28 lines
412 B
C++
#ifndef QTMATERIALTHEME_P_H
|
|
#define QTMATERIALTHEME_P_H
|
|
|
|
#include <QHash>
|
|
#include <QColor>
|
|
|
|
namespace md
|
|
{
|
|
class Theme;
|
|
|
|
class ThemePrivate
|
|
{
|
|
Q_DISABLE_COPY(ThemePrivate)
|
|
Q_DECLARE_PUBLIC(Theme)
|
|
|
|
public:
|
|
ThemePrivate(Theme *q);
|
|
~ThemePrivate();
|
|
|
|
QColor rgba(int r, int g, int b, qreal a) const;
|
|
|
|
Theme *const q_ptr;
|
|
QHash<QString, QColor> colors;
|
|
};
|
|
}
|
|
|
|
#endif // QTMATERIALTHEME_P_H
|