Ignition Gui

API Reference

5.0.0
Enums.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef IGNITION_GUI_ENUMS_HH_
19 #define IGNITION_GUI_ENUMS_HH_
20 
21 #include "ignition/gui/qt.h"
22 
23 namespace ignition
24 {
25 namespace gui
26 {
28  enum DataRole
29  {
31  DISPLAY_NAME = Qt::UserRole + 100,
32 
36 
40 
43  };
44 
46  enum class StringType
47  {
49  NONE,
50 
53  LINE,
54 
57  };
58 
60  enum class NumberType
61  {
63  NONE,
64 
66  DOUBLE,
67 
69  INT,
70 
72  UINT
73  };
74 
76  enum FileType
77  {
80 
83  };
84 }
85 }
86 #endif
StringType
String types.
Definition: Enums.hh:46
Comma separated value (CSV)
Definition: Enums.hh:79
Use text for longer strings which span multiple lines.
FileType
File types.
Definition: Enums.hh:76
Text which is displayed for the user.
Definition: Enums.hh:31
Use line for short strings which usually fit in a single line.
URI including detailed query. This is the information carried during a drag-drop operation.
Definition: Enums.hh:35
Flag indicating whether an item should be expanded or not.
Definition: Enums.hh:42
DataRole
Data roles.
Definition: Enums.hh:28
NumberType
Number types.
Definition: Enums.hh:60
Portable document format (PDF)
Definition: Enums.hh:82
Data type name, such as "Double" or "Bool", or "model", "link". Used to specialize display according ...
Definition: Enums.hh:39
Definition: Application.hh:40