mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
ddf886eaf1
Fix #59
30 lines
419 B
C++
30 lines
419 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
|
|
class ColorScheme;
|
|
|
|
namespace widgets {
|
|
|
|
class BaseWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit BaseWidget(ColorScheme &_colorScheme, QWidget *parent);
|
|
|
|
explicit BaseWidget(BaseWidget *parent);
|
|
|
|
ColorScheme &colorScheme;
|
|
|
|
private:
|
|
void init();
|
|
|
|
virtual void refreshTheme();
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|