no real OpenGL in Graphic in Qt Designer

This commit is contained in:
2021-07-15 16:00:01 +03:00
parent 4d423facd6
commit 12399b0c51
4 changed files with 16 additions and 9 deletions

View File

@@ -44,6 +44,7 @@ namespace Ui {
class UGLWidget;
class GraphicPlugin;
Q_DECLARE_METATYPE(QVector<QPointF>)
@@ -119,6 +120,8 @@ class QAD_GRAPHIC_EXPORT Graphic: public QFrame
Q_PROPERTY(Graphic::GraphicsData graphicsData READ graphicsData WRITE setGraphicsData)
Q_PROPERTY(QByteArray graphicsDataRaw READ graphicsDataRaw WRITE setGraphicsDataRaw)
friend class GraphicPlugin;
public:
Graphic(QWidget * parent = 0);
virtual ~Graphic();
@@ -406,7 +409,7 @@ protected:
double gridx, gridy, history, visible_time, inc_x, grid_numbers_x, grid_numbers_y, LN10;
double eminx, eminy, emaxx, emaxy, pause_phase, gesture_angle;
int lastw, lasth, min_repaint_int, timer_pause, thick;
bool aalias, aupdate, grid, guides, isFit, isOGL, isHover, bufferActive, cancel, pause_, gestures, m_LODOptimization;
bool aalias, aupdate, grid, guides, isFit, isOGL, isHover, bufferActive, cancel, pause_, gestures, m_LODOptimization, m_fakeGL;
bool hasLblX, hasLblY, navigation, only_expand_y, only_expand_x, is_lines_update, leg_update, visible_update, fullscr, need_mouse_pan;
protected slots: