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_MATERIAL_SKIN_H
|
|
|
|
#define QSK_MATERIAL_SKIN_H
|
|
|
|
|
2018-10-12 08:03:03 +02:00
|
|
|
#include "QskMaterialGlobal.h"
|
2017-07-21 18:21:34 +02:00
|
|
|
#include <QskSkin.h>
|
|
|
|
#include <memory>
|
|
|
|
|
2018-10-12 08:03:03 +02:00
|
|
|
class QSK_MATERIAL_EXPORT QskMaterialSkin : public QskSkin
|
2017-07-21 18:21:34 +02:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
using Inherited = QskSkin;
|
|
|
|
|
2018-08-03 08:15:28 +02:00
|
|
|
public:
|
2017-07-21 18:21:34 +02:00
|
|
|
QskMaterialSkin( QObject* parent = nullptr );
|
2018-07-31 17:32:25 +02:00
|
|
|
~QskMaterialSkin() override;
|
2017-07-21 18:21:34 +02:00
|
|
|
|
2018-08-03 08:15:28 +02:00
|
|
|
private:
|
2018-07-31 17:32:25 +02:00
|
|
|
void resetColors( const QColor& accent ) override;
|
2017-07-21 18:21:34 +02:00
|
|
|
|
|
|
|
void initHints();
|
|
|
|
|
|
|
|
void initCommonHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
|
2019-12-15 13:57:19 +01:00
|
|
|
void initBoxHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
void initDialogButtonBoxHints();
|
|
|
|
void initDialogButtonHints();
|
2017-07-21 18:21:34 +02:00
|
|
|
void initFocusIndicatorHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
void initInputPanelHints();
|
2018-04-18 19:41:46 +02:00
|
|
|
void initVirtualKeyboardHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
void initListViewHints();
|
2017-07-21 18:21:34 +02:00
|
|
|
void initPageIndicatorHints();
|
|
|
|
void initPopupHints();
|
2020-08-01 17:51:45 +02:00
|
|
|
void initProgressBarHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
void initPushButtonHints();
|
|
|
|
void initScrollViewHints();
|
|
|
|
void initSeparatorHints();
|
|
|
|
void initSubWindowHints();
|
2017-07-21 18:21:34 +02:00
|
|
|
void initSliderHints();
|
|
|
|
void initTabButtonHints();
|
|
|
|
void initTabBarHints();
|
|
|
|
void initTabViewHints();
|
2018-04-03 10:47:21 +02:00
|
|
|
void initTextInputHints();
|
|
|
|
void initTextLabelHints();
|
2017-07-21 18:21:34 +02:00
|
|
|
|
|
|
|
class PrivateData;
|
|
|
|
std::unique_ptr< PrivateData > m_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|