qskinny/skins/squiek/QskSquiekSkin.h

70 lines
1.7 KiB
C
Raw Normal View History

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_SQUIEK_SKIN_H
#define QSK_SQUIEK_SKIN_H
2018-10-12 08:03:03 +02:00
#include "QskSquiekGlobal.h"
2017-07-21 18:21:34 +02:00
#include <QskSkin.h>
#include <memory>
2018-10-12 08:03:03 +02:00
class QSK_SQUIEK_EXPORT QskSquiekSkin : 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
QskSquiekSkin( QObject* parent = nullptr );
2018-07-31 17:32:25 +02:00
~QskSquiekSkin() 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();
2019-12-15 13:57:19 +01:00
void initBoxHints();
void initDialogButtonHints();
void initDialogButtonBoxHints();
2017-07-21 18:21:34 +02:00
void initFocusIndicatorHints();
void initInputPanelHints();
2018-04-30 10:03:51 +02:00
void initInputPredictionBar();
void initVirtualKeyboardHints();
void initListViewHints();
2017-07-21 18:21:34 +02:00
void initPageIndicatorHints();
void initPopupHints();
2020-08-01 17:51:45 +02:00
void initProgressBarHints();
void initPushButtonHints();
void initScrollViewHints();
void initSeparatorHints();
2017-07-21 18:21:34 +02:00
void initSliderHints();
void initSubWindowHints();
2017-07-21 18:21:34 +02:00
void initTabButtonHints();
void initTabBarHints();
void initTabViewHints();
void initTextLabelHints();
void initTextInputHints();
2017-07-21 18:21:34 +02:00
enum PanelStyle
{
NoPanel,
Raised,
Sunken,
Plain,
Flat
};
void setSeparator( QskAspect::Aspect );
void setButton( QskAspect::Aspect, PanelStyle, qreal border = 2.0 );
void setPanel( QskAspect::Aspect, PanelStyle );
2017-07-21 18:21:34 +02:00
class PrivateData;
std::unique_ptr< PrivateData > m_data;
};
#endif