2017-09-30 01:14:28 +00:00
|
|
|
#ifndef SCROLLBARSETTINGSEDITOR_H
|
|
|
|
#define SCROLLBARSETTINGSEDITOR_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2022-02-17 14:22:14 +00:00
|
|
|
#include <QVBoxLayout>
|
|
|
|
#include <QColorDialog>
|
|
|
|
#include <QtWidgets/QTextEdit>
|
|
|
|
|
2022-02-17 15:17:19 +00:00
|
|
|
#include <scrollbar.h>
|
2022-02-17 14:22:14 +00:00
|
|
|
|
2017-09-30 01:14:28 +00:00
|
|
|
#include "ui_scrollbarsettingsform.h"
|
|
|
|
|
2022-02-17 14:22:14 +00:00
|
|
|
using namespace md;
|
2017-09-30 01:14:28 +00:00
|
|
|
|
|
|
|
class ScrollBarSettingsEditor : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ScrollBarSettingsEditor(QWidget *parent = 0);
|
|
|
|
~ScrollBarSettingsEditor();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void setupForm();
|
|
|
|
void updateWidget();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ScrollBarSettingsForm *const ui;
|
2022-02-17 14:22:14 +00:00
|
|
|
ScrollBar *const m_verticalScrollbar;
|
|
|
|
ScrollBar *const m_horizontalScrollbar;
|
2017-09-30 01:14:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCROLLBARSETTINGSEDITOR_H
|