BALL 1.5.0
Loading...
Searching...
No Matches
labelDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_VIEW_DIALOGS_LABELDIALOG_H
6#define BALL_VIEW_DIALOGS_LABELDIALOG_H
7
8#ifndef BALL_COMMON_GLOBAL_H
9# include <BALL/COMMON/global.h>
10#endif
11
12#ifndef BALL_FORMAT_INIFILE_H
13# include <BALL/FORMAT/INIFile.h>
14#endif
15
16#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
18#endif
19
20#ifndef BALL_VIEW_KERNEL_MESSAGE_H
22#endif
23
24#include <BALL/VIEW/UIC/ui_labelDialog.h>
25
26#include <QtGui/QFont>
27
28namespace BALL
29{
30 namespace VIEW
31 {
39 : public QDialog,
40 public Ui_LabelDialogData,
41 public ModularWidget
42 {
43 Q_OBJECT
45
46 public:
47
51
59 LabelDialog(QWidget *parent = NULL, const char *name = "LabelDialog");
60
62
65
68 virtual ~LabelDialog();
69
71
74
81 virtual void onNotify(Message *message);
82
84
87
92 virtual void fetchPreferences(INIFile &inifile);
93
98 virtual void writePreferences(INIFile &inifile);
99
107 virtual void initializeWidget(MainControl& main_control);
108
110
111 public Q_SLOTS:
112
116
119 void show();
120
122
125
126 protected Q_SLOTS:
127
133 virtual void accept();
134
138 virtual void editColor();
139
141 virtual void addTag();
142
144 virtual void fontSelected();
145
147 virtual void modeChanged();
148
151
153
155 virtual void checkMenu(MainControl& main_control);
156
157 protected:
158
160
162
163
164 QAction* id_;
165
167 QFont font_;
168 };
169
170} } // namespaces
171
172#endif // BALL_VIEW_DIALOGS_LABELDIALOG_H
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
virtual void modeChanged()
virtual void addTag()
virtual void onNotify(Message *message)
virtual void accept()
Representation * createOneLabel_()
virtual void editColor()
virtual void fetchPreferences(INIFile &inifile)
virtual void fontSelected()
Representation * createMultipleLabels_()
virtual void initializeWidget(MainControl &main_control)
LabelDialog(QWidget *parent=NULL, const char *name="LabelDialog")
virtual void writePreferences(INIFile &inifile)
virtual void checkMenu(MainControl &main_control)
Overloaded from ModularWidget.
#define BALL_VIEW_EXPORT