--- a/QTfrontend/ui/widget/togglebutton.h Sat Mar 17 23:55:32 2018 +0300
+++ b/QTfrontend/ui/widget/togglebutton.h Sat Mar 17 22:26:02 2018 +0100
@@ -25,6 +25,7 @@
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>
+#include <QIcon>
class ToggleButtonWidget : public QPushButton
{
@@ -33,8 +34,8 @@
ToggleButtonWidget(QWidget * parent, QString img);
~ToggleButtonWidget();
private:
- QPixmap pmChecked;
- QPixmap pmDisabled;
+ QIcon icoUnchecked;
+ QIcon icoChecked;
private slots:
void eventToggled(bool checked);
};