File tree Expand file tree Collapse file tree 4 files changed +73
-1
lines changed Expand file tree Collapse file tree 4 files changed +73
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ QT4_WRAP_UI (ui_headers
114
114
inspector/inspector_slur.ui
115
115
inspector/inspector_text.ui
116
116
inspector/inspector_ambitus.ui
117
+ inspector/inspector_empty.ui
117
118
${SCRIPT_UI}
118
119
)
119
120
Original file line number Diff line number Diff line change @@ -794,7 +794,7 @@ InspectorSlur::InspectorSlur(QWidget* parent)
794
794
InspectorEmpty::InspectorEmpty (QWidget* parent)
795
795
:InspectorBase(parent)
796
796
{
797
- setToolTip ( tr ( " Select an element to display its properties " ));
797
+ e. setupUi ( addWidget ( ));
798
798
}
799
799
800
800
// ---------------------------------------------------------
Original file line number Diff line number Diff line change 35
35
#include " ui_inspector_dynamic.h"
36
36
#include " ui_inspector_slur.h"
37
37
#include " ui_inspector_text.h"
38
+ #include " ui_inspector_empty.h"
38
39
39
40
namespace Ms {
40
41
@@ -333,6 +334,8 @@ class InspectorSlur : public InspectorBase {
333
334
class InspectorEmpty : public InspectorBase {
334
335
Q_OBJECT
335
336
337
+ Ui::InspectorEmpty e;
338
+
336
339
public:
337
340
InspectorEmpty (QWidget* parent);
338
341
};
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <ui version =" 4.0" >
3
+ <class >InspectorEmpty</class >
4
+ <widget class =" QWidget" name =" InspectorEmpty" >
5
+ <property name =" geometry" >
6
+ <rect >
7
+ <x >0</x >
8
+ <y >0</y >
9
+ <width >382</width >
10
+ <height >180</height >
11
+ </rect >
12
+ </property >
13
+ <property name =" windowTitle" >
14
+ <string />
15
+ </property >
16
+ <property name =" accessibleName" >
17
+ <string >Image Inspector</string >
18
+ </property >
19
+ <layout class =" QVBoxLayout" name =" verticalLayout" >
20
+ <property name =" spacing" >
21
+ <number >0</number >
22
+ </property >
23
+ <property name =" leftMargin" >
24
+ <number >0</number >
25
+ </property >
26
+ <property name =" topMargin" >
27
+ <number >0</number >
28
+ </property >
29
+ <property name =" rightMargin" >
30
+ <number >0</number >
31
+ </property >
32
+ <property name =" bottomMargin" >
33
+ <number >0</number >
34
+ </property >
35
+ <item >
36
+ <widget class =" QLabel" name =" elementName" >
37
+ <property name =" font" >
38
+ <font >
39
+ <weight >75</weight >
40
+ <bold >true</bold >
41
+ </font >
42
+ </property >
43
+ <property name =" text" >
44
+ <string >nothing selected</string >
45
+ </property >
46
+ <property name =" alignment" >
47
+ <set >Qt::AlignCenter</set >
48
+ </property >
49
+ </widget >
50
+ </item >
51
+ <item >
52
+ <widget class =" QFrame" name =" frame" >
53
+ <property name =" frameShape" >
54
+ <enum >QFrame::HLine</enum >
55
+ </property >
56
+ <property name =" frameShadow" >
57
+ <enum >QFrame::Raised</enum >
58
+ </property >
59
+ <property name =" lineWidth" >
60
+ <number >2</number >
61
+ </property >
62
+ </widget >
63
+ </item >
64
+ </layout >
65
+ </widget >
66
+ <resources />
67
+ <connections />
68
+ </ui >
You can’t perform that action at this time.
0 commit comments