diff options
Diffstat (limited to 'src/autogen/applicationstyle.h')
-rw-r--r-- | src/autogen/applicationstyle.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/autogen/applicationstyle.h b/src/autogen/applicationstyle.h new file mode 100644 index 0000000..f9bf1bd --- /dev/null +++ b/src/autogen/applicationstyle.h @@ -0,0 +1,26 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/cgit/smolbote + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SMOLBOTE_APPLICATION_STYLE_H +#define SMOLBOTE_APPLICATION_STYLE_H + +#include <QProxyStyle> + +class ApplicationStyle : public QProxyStyle +{ +public: + ApplicationStyle(); + ~ApplicationStyle() override = default; + + QIcon standardIcon(QStyle::StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget) const override; + + static QIcon applicationIcon(); + static QIcon windowIcon(); +}; + +#endif
\ No newline at end of file |