graphic android patches: buttons moved to popup-menu on tap-and-hold gesture
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <QElapsedTimer>
|
||||
#include <QTranslator>
|
||||
#include <QGestureEvent>
|
||||
#include <QMenu>
|
||||
#include <qmath.h>
|
||||
#include <float.h>
|
||||
#include "graphic_conf.h"
|
||||
@@ -402,6 +403,7 @@ protected:
|
||||
GraphicConf * conf;
|
||||
EvalSpinBox line_x_min, line_x_max, line_y_min, line_y_max;
|
||||
QElapsedTimer tm;
|
||||
QMenu * buttons_menu = nullptr;
|
||||
#ifdef Q_OS_ANDROID
|
||||
QElapsedTimer tm_fscr;
|
||||
#endif
|
||||
@@ -448,6 +450,7 @@ protected slots:
|
||||
void actionGuidesTriggered(QAction * a);
|
||||
void enterFullscreen();
|
||||
void leaveFullscreen();
|
||||
void showMenu();
|
||||
|
||||
signals:
|
||||
void beforeGraphicPaintEvent(QPainter * );
|
||||
|
||||
Reference in New Issue
Block a user