##// END OF EJS Templates
Removes margins from visualization widgets
Alexandre Leroux -
r664:0c84bab7fcf0
parent child
Show More
@@ -1,83 +1,95
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>VisualizationGraphWidget</class>
3 <class>VisualizationGraphWidget</class>
4 <widget class="QWidget" name="VisualizationGraphWidget">
4 <widget class="QWidget" name="VisualizationGraphWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>400</width>
9 <width>400</width>
10 <height>300</height>
10 <height>300</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Form</string>
14 <string>Form</string>
15 </property>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="leftMargin">
18 <number>0</number>
19 </property>
20 <property name="topMargin">
21 <number>0</number>
22 </property>
23 <property name="rightMargin">
24 <number>0</number>
25 </property>
26 <property name="bottomMargin">
27 <number>0</number>
28 </property>
17 <item>
29 <item>
18 <widget class="QWidget" name="infobar" native="true">
30 <widget class="QWidget" name="infobar" native="true">
19 <layout class="QHBoxLayout" name="horizontalLayout_2">
31 <layout class="QHBoxLayout" name="horizontalLayout_2">
20 <property name="leftMargin">
32 <property name="leftMargin">
21 <number>0</number>
33 <number>0</number>
22 </property>
34 </property>
23 <property name="topMargin">
35 <property name="topMargin">
24 <number>0</number>
36 <number>0</number>
25 </property>
37 </property>
26 <property name="rightMargin">
38 <property name="rightMargin">
27 <number>0</number>
39 <number>0</number>
28 </property>
40 </property>
29 <property name="bottomMargin">
41 <property name="bottomMargin">
30 <number>0</number>
42 <number>0</number>
31 </property>
43 </property>
32 <item>
44 <item>
33 <widget class="QLabel" name="graphNameLabel">
45 <widget class="QLabel" name="graphNameLabel">
34 <property name="styleSheet">
46 <property name="styleSheet">
35 <string notr="true">font: 75 9pt &quot;MS Shell Dlg 2&quot;;</string>
47 <string notr="true">font: 75 9pt &quot;MS Shell Dlg 2&quot;;</string>
36 </property>
48 </property>
37 <property name="text">
49 <property name="text">
38 <string>TextLabel</string>
50 <string>TextLabel</string>
39 </property>
51 </property>
40 <property name="textFormat">
52 <property name="textFormat">
41 <enum>Qt::AutoText</enum>
53 <enum>Qt::AutoText</enum>
42 </property>
54 </property>
43 <property name="alignment">
55 <property name="alignment">
44 <set>Qt::AlignCenter</set>
56 <set>Qt::AlignCenter</set>
45 </property>
57 </property>
46 </widget>
58 </widget>
47 </item>
59 </item>
48 <item>
60 <item>
49 <widget class="QToolButton" name="closeButton">
61 <widget class="QToolButton" name="closeButton">
50 <property name="styleSheet">
62 <property name="styleSheet">
51 <string notr="true">background-color: transparent;</string>
63 <string notr="true">background-color: transparent;</string>
52 </property>
64 </property>
53 <property name="text">
65 <property name="text">
54 <string>Close</string>
66 <string>Close</string>
55 </property>
67 </property>
56 </widget>
68 </widget>
57 </item>
69 </item>
58 </layout>
70 </layout>
59 </widget>
71 </widget>
60 </item>
72 </item>
61 <item>
73 <item>
62 <widget class="QCustomPlot" name="widget" native="true">
74 <widget class="QCustomPlot" name="widget" native="true">
63 <property name="sizePolicy">
75 <property name="sizePolicy">
64 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
76 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
65 <horstretch>0</horstretch>
77 <horstretch>0</horstretch>
66 <verstretch>0</verstretch>
78 <verstretch>0</verstretch>
67 </sizepolicy>
79 </sizepolicy>
68 </property>
80 </property>
69 </widget>
81 </widget>
70 </item>
82 </item>
71 </layout>
83 </layout>
72 </widget>
84 </widget>
73 <customwidgets>
85 <customwidgets>
74 <customwidget>
86 <customwidget>
75 <class>QCustomPlot</class>
87 <class>QCustomPlot</class>
76 <extends>QWidget</extends>
88 <extends>QWidget</extends>
77 <header>Visualization/qcustomplot.h</header>
89 <header>Visualization/qcustomplot.h</header>
78 <container>1</container>
90 <container>1</container>
79 </customwidget>
91 </customwidget>
80 </customwidgets>
92 </customwidgets>
81 <resources/>
93 <resources/>
82 <connections/>
94 <connections/>
83 </ui>
95 </ui>
@@ -1,57 +1,73
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>VisualizationTabWidget</class>
3 <class>VisualizationTabWidget</class>
4 <widget class="QWidget" name="VisualizationTabWidget">
4 <widget class="QWidget" name="VisualizationTabWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>400</width>
9 <width>400</width>
10 <height>300</height>
10 <height>300</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Form</string>
14 <string>Form</string>
15 </property>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="leftMargin">
17 <property name="leftMargin">
18 <number>0</number>
18 <number>0</number>
19 </property>
19 </property>
20 <property name="topMargin">
20 <property name="topMargin">
21 <number>0</number>
21 <number>0</number>
22 </property>
22 </property>
23 <property name="rightMargin">
23 <property name="rightMargin">
24 <number>0</number>
24 <number>0</number>
25 </property>
25 </property>
26 <property name="bottomMargin">
26 <property name="bottomMargin">
27 <number>0</number>
27 <number>0</number>
28 </property>
28 </property>
29 <item>
29 <item>
30 <widget class="QScrollArea" name="scrollArea">
30 <widget class="QScrollArea" name="scrollArea">
31 <property name="frameShape">
31 <property name="frameShape">
32 <enum>QFrame::NoFrame</enum>
32 <enum>QFrame::NoFrame</enum>
33 </property>
33 </property>
34 <property name="frameShadow">
34 <property name="frameShadow">
35 <enum>QFrame::Sunken</enum>
35 <enum>QFrame::Sunken</enum>
36 </property>
36 </property>
37 <property name="widgetResizable">
37 <property name="widgetResizable">
38 <bool>true</bool>
38 <bool>true</bool>
39 </property>
39 </property>
40 <widget class="QWidget" name="scrollAreaWidgetContents">
40 <widget class="QWidget" name="scrollAreaWidgetContents">
41 <property name="geometry">
41 <property name="geometry">
42 <rect>
42 <rect>
43 <x>0</x>
43 <x>0</x>
44 <y>0</y>
44 <y>0</y>
45 <width>400</width>
45 <width>400</width>
46 <height>300</height>
46 <height>300</height>
47 </rect>
47 </rect>
48 </property>
48 </property>
49 <layout class="QVBoxLayout" name="verticalLayout_3"/>
49 <layout class="QVBoxLayout" name="verticalLayout_3">
50 <property name="spacing">
51 <number>3</number>
52 </property>
53 <property name="leftMargin">
54 <number>0</number>
55 </property>
56 <property name="topMargin">
57 <number>0</number>
58 </property>
59 <property name="rightMargin">
60 <number>0</number>
61 </property>
62 <property name="bottomMargin">
63 <number>0</number>
64 </property>
65 </layout>
50 </widget>
66 </widget>
51 </widget>
67 </widget>
52 </item>
68 </item>
53 </layout>
69 </layout>
54 </widget>
70 </widget>
55 <resources/>
71 <resources/>
56 <connections/>
72 <connections/>
57 </ui>
73 </ui>
@@ -1,28 +1,40
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>VisualizationWidget</class>
3 <class>VisualizationWidget</class>
4 <widget class="QWidget" name="VisualizationWidget">
4 <widget class="QWidget" name="VisualizationWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>400</width>
9 <width>400</width>
10 <height>300</height>
10 <height>300</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Form</string>
14 <string>Form</string>
15 </property>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="leftMargin">
18 <number>0</number>
19 </property>
20 <property name="topMargin">
21 <number>0</number>
22 </property>
23 <property name="rightMargin">
24 <number>0</number>
25 </property>
26 <property name="bottomMargin">
27 <number>0</number>
28 </property>
17 <item>
29 <item>
18 <widget class="QTabWidget" name="tabWidget">
30 <widget class="QTabWidget" name="tabWidget">
19 <property name="currentIndex">
31 <property name="currentIndex">
20 <number>-1</number>
32 <number>-1</number>
21 </property>
33 </property>
22 </widget>
34 </widget>
23 </item>
35 </item>
24 </layout>
36 </layout>
25 </widget>
37 </widget>
26 <resources/>
38 <resources/>
27 <connections/>
39 <connections/>
28 </ui>
40 </ui>
@@ -1,86 +1,117
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
2 <ui version="4.0">
3 <class>VisualizationZoneWidget</class>
3 <class>VisualizationZoneWidget</class>
4 <widget class="QWidget" name="VisualizationZoneWidget">
4 <widget class="QWidget" name="VisualizationZoneWidget">
5 <property name="geometry">
5 <property name="geometry">
6 <rect>
6 <rect>
7 <x>0</x>
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
9 <width>400</width>
9 <width>400</width>
10 <height>300</height>
10 <height>300</height>
11 </rect>
11 </rect>
12 </property>
12 </property>
13 <property name="windowTitle">
13 <property name="windowTitle">
14 <string>Form</string>
14 <string>Form</string>
15 </property>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_2">
16 <layout class="QVBoxLayout" name="verticalLayout_2">
17 <property name="spacing">
18 <number>0</number>
19 </property>
20 <property name="leftMargin">
21 <number>0</number>
22 </property>
23 <property name="topMargin">
24 <number>0</number>
25 </property>
26 <property name="rightMargin">
27 <number>0</number>
28 </property>
29 <property name="bottomMargin">
30 <number>0</number>
31 </property>
17 <item>
32 <item>
18 <widget class="QWidget" name="infobar" native="true">
33 <widget class="QWidget" name="infobar" native="true">
19 <property name="sizePolicy">
34 <property name="sizePolicy">
20 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
35 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
21 <horstretch>0</horstretch>
36 <horstretch>0</horstretch>
22 <verstretch>0</verstretch>
37 <verstretch>0</verstretch>
23 </sizepolicy>
38 </sizepolicy>
24 </property>
39 </property>
25 <layout class="QHBoxLayout" name="horizontalLayout">
40 <layout class="QHBoxLayout" name="horizontalLayout">
41 <property name="spacing">
42 <number>0</number>
43 </property>
26 <property name="leftMargin">
44 <property name="leftMargin">
27 <number>0</number>
45 <number>0</number>
28 </property>
46 </property>
29 <property name="topMargin">
47 <property name="topMargin">
30 <number>0</number>
48 <number>0</number>
31 </property>
49 </property>
32 <property name="rightMargin">
50 <property name="rightMargin">
33 <number>0</number>
51 <number>0</number>
34 </property>
52 </property>
35 <property name="bottomMargin">
53 <property name="bottomMargin">
36 <number>0</number>
54 <number>0</number>
37 </property>
55 </property>
38 <item>
56 <item>
39 <widget class="QLabel" name="zoneNameLabel">
57 <widget class="QLabel" name="zoneNameLabel">
40 <property name="styleSheet">
58 <property name="styleSheet">
41 <string notr="true">color: rgb(127, 127, 127);
59 <string notr="true">color: rgb(127, 127, 127);
42 </string>
60 </string>
43 </property>
61 </property>
44 <property name="text">
62 <property name="text">
45 <string>TextLabel</string>
63 <string>TextLabel</string>
46 </property>
64 </property>
47 </widget>
65 </widget>
48 </item>
66 </item>
49 <item>
67 <item>
50 <widget class="QToolButton" name="closeButton">
68 <widget class="QToolButton" name="closeButton">
51 <property name="styleSheet">
69 <property name="styleSheet">
52 <string notr="true">background-color: transparent;</string>
70 <string notr="true">background-color: transparent;</string>
53 </property>
71 </property>
54 <property name="text">
72 <property name="text">
55 <string>Close</string>
73 <string>Close</string>
56 </property>
74 </property>
57 </widget>
75 </widget>
58 </item>
76 </item>
59 </layout>
77 </layout>
60 </widget>
78 </widget>
61 </item>
79 </item>
62 <item>
80 <item>
63 <widget class="QFrame" name="visualizationZoneFrame">
81 <widget class="QFrame" name="visualizationZoneFrame">
64 <property name="sizePolicy">
82 <property name="sizePolicy">
65 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
83 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
66 <horstretch>0</horstretch>
84 <horstretch>0</horstretch>
67 <verstretch>0</verstretch>
85 <verstretch>0</verstretch>
68 </sizepolicy>
86 </sizepolicy>
69 </property>
87 </property>
70 <property name="frameShape">
88 <property name="frameShape">
71 <enum>QFrame::Box</enum>
89 <enum>QFrame::Box</enum>
72 </property>
90 </property>
73 <property name="frameShadow">
91 <property name="frameShadow">
74 <enum>QFrame::Raised</enum>
92 <enum>QFrame::Raised</enum>
75 </property>
93 </property>
76 <property name="lineWidth">
94 <property name="lineWidth">
77 <number>1</number>
95 <number>1</number>
78 </property>
96 </property>
79 <layout class="QVBoxLayout" name="verticalLayout"/>
97 <layout class="QVBoxLayout" name="verticalLayout">
98 <property name="leftMargin">
99 <number>0</number>
100 </property>
101 <property name="topMargin">
102 <number>0</number>
103 </property>
104 <property name="rightMargin">
105 <number>0</number>
106 </property>
107 <property name="bottomMargin">
108 <number>0</number>
109 </property>
110 </layout>
80 </widget>
111 </widget>
81 </item>
112 </item>
82 </layout>
113 </layout>
83 </widget>
114 </widget>
84 <resources/>
115 <resources/>
85 <connections/>
116 <connections/>
86 </ui>
117 </ui>
General Comments 0
You need to be logged in to leave comments. Login now