Skip to content

Commit 1898ccd

Browse files
authored
Merge pull request #75 from OpenBangla/revert-topbar
Revert back TopBar.ui changes.
2 parents 4d0c4f8 + a174d43 commit 1898ccd

File tree

1 file changed

+174
-163
lines changed

1 file changed

+174
-163
lines changed

src/frontend/TopBar.ui

Lines changed: 174 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,177 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ui version="4.0">
3-
<class>TopBar</class>
4-
<widget class="QMainWindow" name="TopBar">
5-
<property name="geometry">
6-
<rect>
7-
<x>0</x>
8-
<y>0</y>
9-
<width>156</width>
10-
<height>26</height>
11-
</rect>
12-
</property>
13-
<property name="maximumSize">
14-
<size>
15-
<width>999</width>
16-
<height>999</height>
17-
</size>
18-
</property>
19-
<property name="cursor">
20-
<cursorShape>ArrowCursor</cursorShape>
21-
</property>
22-
<property name="windowTitle">
23-
<string>OpenBangla Keyboard</string>
24-
</property>
25-
<property name="windowIcon">
26-
<iconset resource="images.qrc">
27-
<normaloff>:/images/OpenBangla-Keyboard.png</normaloff>:/images/OpenBangla-Keyboard.png
28-
</iconset>
29-
</property>
30-
<property name="documentMode">
31-
<bool>false</bool>
32-
</property>
33-
<widget class="QWidget" name="centralwidget">
34-
<property name="maximumSize">
35-
<size>
36-
<width>16777187</width>
37-
<height>16777215</height>
38-
</size>
39-
</property>
40-
<layout class="QHBoxLayout" name="horizontalLayout">
41-
<property name="spacing">
42-
<number>0</number>
43-
</property>
44-
<property name="leftMargin">
45-
<number>0</number>
46-
</property>
47-
<property name="topMargin">
48-
<number>0</number>
49-
</property>
50-
<property name="rightMargin">
51-
<number>0</number>
52-
</property>
53-
<property name="bottomMargin">
54-
<number>0</number>
55-
</property>
56-
<item>
57-
<widget class="QPushButton" name="buttonIcon">
58-
<property name="toolTip">
59-
<string>Move</string>
60-
</property>
61-
<property name="text">
62-
<string/>
63-
</property>
64-
<property name="icon">
65-
<iconset resource="images.qrc">
66-
<normaloff>:/images/icon.png</normaloff>:/images/icon.png
67-
</iconset>
68-
</property>
69-
<property name="iconSize">
70-
<size>
71-
<width>16</width>
72-
<height>16</height>
73-
</size>
74-
</property>
75-
</widget>
76-
</item>
77-
<item>
78-
<widget class="QPushButton" name="buttonSetLayout">
79-
<property name="toolTip">
80-
<string>Change Layout</string>
81-
</property>
82-
<property name="icon">
83-
<iconset resource="images.qrc">
84-
<normaloff>:/images/keyboard_layout_viewer.png</normaloff>
85-
:/images/keyboard_layout_viewer.png
86-
</iconset>
87-
</property>
88-
</widget>
89-
</item>
90-
<item>
91-
<widget class="QPushButton" name="buttonViewLayout">
92-
<property name="toolTip">
93-
<string>View information about current layout</string>
94-
</property>
95-
<property name="icon">
96-
<iconset resource="images.qrc">
97-
<normaloff>:/images/keyboard_layout.png</normaloff>:/images/keyboard_layout.png
98-
</iconset>
99-
</property>
100-
</widget>
101-
</item>
102-
<item>
103-
<widget class="QPushButton" name="buttonSettings">
104-
<property name="toolTip">
105-
<string>Settings</string>
106-
</property>
107-
<property name="icon">
108-
<iconset resource="images.qrc">
109-
<normaloff>:/images/settings.png</normaloff>:/images/settings.png
110-
</iconset>
111-
</property>
112-
</widget>
113-
</item>
114-
<item>
115-
<widget class="QPushButton" name="buttonAbout">
116-
<property name="minimumSize">
117-
<size>
118-
<width>0</width>
119-
<height>0</height>
120-
</size>
121-
</property>
122-
<property name="toolTip">
123-
<string>Help</string>
124-
</property>
125-
<property name="icon">
126-
<iconset resource="images.qrc">
127-
<normaloff>:/images/about.png</normaloff>:/images/about.png
128-
</iconset>
129-
</property>
130-
<property name="iconSize">
131-
<size>
132-
<width>16</width>
133-
<height>16</height>
134-
</size>
135-
</property>
136-
<property name="autoDefault">
137-
<bool>false</bool>
138-
</property>
139-
<property name="default">
140-
<bool>false</bool>
141-
</property>
142-
<property name="flat">
143-
<bool>false</bool>
144-
</property>
145-
</widget>
146-
</item>
147-
<item>
148-
<widget class="QPushButton" name="buttonShutdown">
149-
<property name="text">
150-
<string/>
151-
</property>
152-
<property name="icon">
153-
<iconset resource="images.qrc">
154-
<normaloff>:/images/shutdown.png</normaloff>:/images/shutdown.png
155-
</iconset>
156-
</property>
157-
</widget>
158-
</item>
159-
</layout>
160-
</widget>
161-
</widget>
162-
<resources>
163-
<include location="images.qrc"/>
164-
</resources>
165-
<connections/>
3+
<class>TopBar</class>
4+
<widget class="QMainWindow" name="TopBar">
5+
<property name="geometry">
6+
<rect>
7+
<x>0</x>
8+
<y>0</y>
9+
<width>156</width>
10+
<height>26</height>
11+
</rect>
12+
</property>
13+
<property name="maximumSize">
14+
<size>
15+
<width>999</width>
16+
<height>999</height>
17+
</size>
18+
</property>
19+
<property name="cursor">
20+
<cursorShape>ArrowCursor</cursorShape>
21+
</property>
22+
<property name="windowTitle">
23+
<string>OpenBangla Keyboard</string>
24+
</property>
25+
<property name="windowIcon">
26+
<iconset resource="images.qrc">
27+
<normaloff>:/images/OpenBangla-Keyboard.png</normaloff>:/images/OpenBangla-Keyboard.png</iconset>
28+
</property>
29+
<property name="documentMode">
30+
<bool>false</bool>
31+
</property>
32+
<widget class="QWidget" name="centralwidget">
33+
<property name="maximumSize">
34+
<size>
35+
<width>16777187</width>
36+
<height>16777215</height>
37+
</size>
38+
</property>
39+
<widget class="QPushButton" name="buttonAbout">
40+
<property name="geometry">
41+
<rect>
42+
<x>104</x>
43+
<y>0</y>
44+
<width>27</width>
45+
<height>27</height>
46+
</rect>
47+
</property>
48+
<property name="minimumSize">
49+
<size>
50+
<width>0</width>
51+
<height>0</height>
52+
</size>
53+
</property>
54+
<property name="toolTip">
55+
<string>Help</string>
56+
</property>
57+
<property name="icon">
58+
<iconset resource="images.qrc">
59+
<normaloff>:/images/about.png</normaloff>:/images/about.png</iconset>
60+
</property>
61+
<property name="iconSize">
62+
<size>
63+
<width>12</width>
64+
<height>12</height>
65+
</size>
66+
</property>
67+
<property name="autoDefault">
68+
<bool>false</bool>
69+
</property>
70+
<property name="default">
71+
<bool>false</bool>
72+
</property>
73+
<property name="flat">
74+
<bool>false</bool>
75+
</property>
76+
</widget>
77+
<widget class="QPushButton" name="buttonSetLayout">
78+
<property name="geometry">
79+
<rect>
80+
<x>26</x>
81+
<y>0</y>
82+
<width>27</width>
83+
<height>27</height>
84+
</rect>
85+
</property>
86+
<property name="toolTip">
87+
<string>Change Layout</string>
88+
</property>
89+
<property name="icon">
90+
<iconset resource="images.qrc">
91+
<normaloff>:/images/keyboard_layout_viewer.png</normaloff>:/images/keyboard_layout_viewer.png</iconset>
92+
</property>
93+
</widget>
94+
<widget class="QPushButton" name="buttonViewLayout">
95+
<property name="geometry">
96+
<rect>
97+
<x>52</x>
98+
<y>0</y>
99+
<width>27</width>
100+
<height>27</height>
101+
</rect>
102+
</property>
103+
<property name="toolTip">
104+
<string>View information about current layout</string>
105+
</property>
106+
<property name="icon">
107+
<iconset resource="images.qrc">
108+
<normaloff>:/images/keyboard_layout.png</normaloff>:/images/keyboard_layout.png</iconset>
109+
</property>
110+
</widget>
111+
<widget class="QPushButton" name="buttonSettings">
112+
<property name="geometry">
113+
<rect>
114+
<x>78</x>
115+
<y>0</y>
116+
<width>27</width>
117+
<height>27</height>
118+
</rect>
119+
</property>
120+
<property name="toolTip">
121+
<string>Settings</string>
122+
</property>
123+
<property name="icon">
124+
<iconset resource="images.qrc">
125+
<normaloff>:/images/settings.png</normaloff>:/images/settings.png</iconset>
126+
</property>
127+
</widget>
128+
<widget class="QPushButton" name="buttonShutdown">
129+
<property name="geometry">
130+
<rect>
131+
<x>130</x>
132+
<y>0</y>
133+
<width>27</width>
134+
<height>27</height>
135+
</rect>
136+
</property>
137+
<property name="text">
138+
<string/>
139+
</property>
140+
<property name="icon">
141+
<iconset resource="images.qrc">
142+
<normaloff>:/images/shutdown.png</normaloff>:/images/shutdown.png</iconset>
143+
</property>
144+
</widget>
145+
<widget class="QPushButton" name="buttonIcon">
146+
<property name="geometry">
147+
<rect>
148+
<x>0</x>
149+
<y>0</y>
150+
<width>27</width>
151+
<height>27</height>
152+
</rect>
153+
</property>
154+
<property name="toolTip">
155+
<string>Move</string>
156+
</property>
157+
<property name="text">
158+
<string/>
159+
</property>
160+
<property name="icon">
161+
<iconset resource="images.qrc">
162+
<normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
163+
</property>
164+
<property name="iconSize">
165+
<size>
166+
<width>16</width>
167+
<height>16</height>
168+
</size>
169+
</property>
170+
</widget>
171+
</widget>
172+
</widget>
173+
<resources>
174+
<include location="images.qrc"/>
175+
</resources>
176+
<connections/>
166177
</ui>

0 commit comments

Comments
 (0)