|
|
@ -5,6 +5,7 @@
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QAction>
|
|
|
|
#include <QAction>
|
|
|
|
|
|
|
|
#include <QtGui/QUndoStack>
|
|
|
|
|
|
|
|
|
|
|
|
namespace NLQT {
|
|
|
|
namespace NLQT {
|
|
|
|
class QNLWidget;
|
|
|
|
class QNLWidget;
|
|
|
@ -26,7 +27,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
void loadConfig();
|
|
|
|
void loadConfig();
|
|
|
|
void saveConfig();
|
|
|
|
void saveConfig();
|
|
|
|
|
|
|
|
QUndoStack *getUndoStack() { return m_undoStack; }
|
|
|
|
public Q_SLOTS:
|
|
|
|
public Q_SLOTS:
|
|
|
|
void setToolMode(int value);
|
|
|
|
void setToolMode(int value);
|
|
|
|
void setToolMode();
|
|
|
|
void setToolMode();
|
|
|
@ -49,7 +50,7 @@ private:
|
|
|
|
QAction *_toolSelectModeAction;
|
|
|
|
QAction *_toolSelectModeAction;
|
|
|
|
QAction *_toolPickModeAction;
|
|
|
|
QAction *_toolPickModeAction;
|
|
|
|
QMenu *_toolModeMenu;
|
|
|
|
QMenu *_toolModeMenu;
|
|
|
|
|
|
|
|
QUndoStack *m_undoStack;
|
|
|
|
//QAction *m_setBackColorAction;
|
|
|
|
//QAction *m_setBackColorAction;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|