TechDraw: Refractor tracker action with proper enum
This commit is contained in:
@@ -44,13 +44,15 @@ namespace TechDrawGui
|
||||
class QGSPage;
|
||||
class QGIView;
|
||||
|
||||
//TODO: make this a proper enum
|
||||
static constexpr int TRACKERPICK(0);
|
||||
static constexpr int TRACKEREDIT(1);
|
||||
static constexpr int TRACKERCANCEL(2);
|
||||
static constexpr int TRACKERCANCELEDIT(3);
|
||||
static constexpr int TRACKERFINISHED(4);
|
||||
static constexpr int TRACKERSAVE(5);
|
||||
enum TrackerAction
|
||||
{
|
||||
PICK = 0,
|
||||
EDIT = 1,
|
||||
CANCEL = 2,
|
||||
CANCELEDIT = 3,
|
||||
FINISHED = 4,
|
||||
SAVE = 5
|
||||
};
|
||||
|
||||
class TechDrawGuiExport QGTracker : public QObject, public QGIPrimPath
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user