qt_demoe/other/echartgauge/widget.h

34 lines
490 B
C++

#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
class QWebView;
class QWebEngineView;
namespace Ui {
class Widget;
}
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
QList<QWebView *> webViews;
#elif webengine
QList<QWebEngineView *> webViews;
#endif
};
#endif // WIDGET_H