qt_demoe/other/echartgauge/widget.h

34 lines
490 B
C
Raw Normal View History

2020-01-04 06:46:39 +00:00
#ifndef WIDGET_H
#define WIDGET_H
2021-11-17 07:33:19 +00:00
#include <QWidget>
class QWebView;
class QWebEngineView;
2020-01-04 06:46:39 +00:00
2021-11-17 07:33:19 +00:00
namespace Ui {
class Widget;
2020-01-04 06:46:39 +00:00
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
private slots:
void initForm();
void on_horizontalSlider_valueChanged(int value);
private:
Ui::Widget *ui;
#ifdef webkit
2022-05-27 07:40:19 +00:00
QList<QWebView *> webViews;
2021-11-17 07:33:19 +00:00
#elif webengine
2022-05-27 07:40:19 +00:00
QList<QWebEngineView *> webViews;
2020-01-04 06:46:39 +00:00
#endif
};
#endif // WIDGET_H