Gazebo Gui

API Reference

3.12.1
gz/gui/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 GZ_GUI_ENUMS_HH_
19 #define GZ_GUI_ENUMS_HH_
20 
21 #include "gz/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
@ URI_QUERY
URI including detailed query. This is the information carried during a drag-drop operation.
Definition: gz/gui/Enums.hh:35
@ DISPLAY_NAME
Text which is displayed for the user.
Definition: gz/gui/Enums.hh:31
@ NONE
Undefined type.
@ TO_EXPAND
Flag indicating whether an item should be expanded or not.
Definition: gz/gui/Enums.hh:42
@ PDFFile
Portable document format (PDF)
Definition: gz/gui/Enums.hh:82
@ UINT
Unsigned integer.
@ TYPE
Data type name, such as "Double" or "Bool", or "model", "link". Used to specialize display according ...
Definition: gz/gui/Enums.hh:39
@ PLAIN_TEXT
Use text for longer strings which span multiple lines.
DataRole
Data roles.
Definition: gz/gui/Enums.hh:28
StringType
String types.
Definition: gz/gui/Enums.hh:46
FileType
File types.
Definition: gz/gui/Enums.hh:76
@ CSVFile
Comma separated value (CSV)
Definition: gz/gui/Enums.hh:79
NumberType
Number types.
Definition: gz/gui/Enums.hh:60
@ NONE
Undefined type.
@ LINE
Use line for short strings which usually fit in a single line.