34 using Inherited = QObject;
49 QskSkin( QObject* parent =
nullptr );
52 template<
typename Control,
typename Skinlet >
53 void declareSkinlet();
55 void setSkinHint(
QskAspect,
const QVariant& hint );
56 const QVariant& skinHint(
QskAspect )
const;
59 void resetGraphicFilter(
int graphicRole );
68 bool hasGraphicProvider()
const;
70 virtual const int* dialogButtonLayout( Qt::Orientation )
const;
71 virtual QString dialogButtonText(
int button )
const;
74 const QMetaObject* skinletMetaObject(
const QMetaObject* )
const;
79 const QHash< QskFontRole, QFont >& fontTable()
const;
80 const QHash< int, QskColorFilter >& graphicFilters()
const;
82 ColorScheme colorScheme()
const;
85 void setColorScheme( ColorScheme );
88 void colorSchemeChanged( ColorScheme );
92 virtual void initHints() = 0;
94 void setupFontTable(
const QString& family,
bool italic =
false );
95 void completeFontTable();
98 void declareSkinlet(
const QMetaObject* metaObject,
99 const QMetaObject* skinletMetaObject );
102 std::unique_ptr< PrivateData > m_data;