2017-09-29 13:33:26 +00:00
|
|
|
#ifndef PROGRESSSETTINGSEDITOR_H
|
|
|
|
#define PROGRESSSETTINGSEDITOR_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2022-02-17 14:22:14 +00:00
|
|
|
#include <QColorDialog>
|
|
|
|
|
2022-02-17 15:17:19 +00:00
|
|
|
#include <progress.h>
|
|
|
|
#include <lib/theme.h>
|
2022-02-17 14:22:14 +00:00
|
|
|
|
2017-09-29 13:33:26 +00:00
|
|
|
#include "ui_progresssettingsform.h"
|
|
|
|
|
2022-02-17 14:22:14 +00:00
|
|
|
using namespace md;
|
2017-09-29 13:33:26 +00:00
|
|
|
|
|
|
|
class ProgressSettingsEditor : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ProgressSettingsEditor(QWidget *parent = 0);
|
|
|
|
~ProgressSettingsEditor();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void setupForm();
|
|
|
|
void updateWidget();
|
|
|
|
void selectColor();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ProgressSettingsForm *const ui;
|
2022-02-17 14:22:14 +00:00
|
|
|
ProgressBar *const m_progress;
|
2017-09-29 13:33:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PROGRESSSETTINGSEDITOR_H
|