1 /******************************************************************************************************
2  * (C) 2019 markummitchell@github.com. This file is part of Engauge Digitizer, which is released      *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission.     *
5  ******************************************************************************************************/
6 
7 #ifndef GUIDELINE_STATE_H
8 #define GUIDELINE_STATE_H
9 
10 #include <QString>
11 
12 /// Set of possible Guideline states. See class Guideline for more information
13 enum GuidelineState {
14   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT,
15   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT_APPEARING,
16   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT_HOVER,
17   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_HIDE,
18   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_LOCK,
19   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_UNSELECT_EDIT,
20   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_UNSELECT_HIDE,
21   GUIDELINE_STATE_DEPLOYED_CONSTANT_R_UNSELECT_LOCK,
22   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_SELECT_EDIT,
23   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_SELECT_EDIT_APPEARING,
24   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_SELECT_EDIT_HOVER,
25   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_SELECT_HIDE,
26   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_SELECT_LOCK,
27   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_UNSELECT_EDIT,
28   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_UNSELECT_HIDE,
29   GUIDELINE_STATE_DEPLOYED_CONSTANT_T_UNSELECT_LOCK,
30   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_SELECT_EDIT,
31   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_SELECT_EDIT_APPEARING,
32   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_SELECT_EDIT_HOVER,
33   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_SELECT_HIDE,
34   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_SELECT_LOCK,
35   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_UNSELECT_EDIT,
36   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_UNSELECT_HIDE,
37   GUIDELINE_STATE_DEPLOYED_CONSTANT_X_UNSELECT_LOCK,
38   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_EDIT,
39   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_EDIT_APPEARING,
40   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_EDIT_HOVER,
41   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_HIDE,
42   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_SELECT_LOCK,
43   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_UNSELECT_EDIT,
44   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_UNSELECT_HIDE,
45   GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_UNSELECT_LOCK,
46   GUIDELINE_STATE_DISCARDED,
47   GUIDELINE_STATE_HANDLE_R,
48   GUIDELINE_STATE_HANDLE_T,
49   GUIDELINE_STATE_HANDLE_X,
50   GUIDELINE_STATE_HANDLE_Y,
51   NUM_GUIDELINE_STATES
52 };
53 
54 extern QString guidelineStateAsString (GuidelineState state);
55 
56 #endif // GUIDELINE_STATE_H
57