Skip to content

Commit 6860dfd

Browse files
authored
Add images, icons and UI files
1 parent a0bec14 commit 6860dfd

File tree

8 files changed

+251
-0
lines changed

8 files changed

+251
-0
lines changed

assets/icons/open-mp-icon.ico

115 KB
Binary file not shown.

assets/icons/samp-icon.ico

271 KB
Binary file not shown.

assets/images/icon-dark-64px.png

1018 Bytes
Loading
368 Bytes
Loading
366 Bytes
Loading
713 Bytes
Loading

assets/ui/form.ui

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
3+
<class>MainWindow</class>
4+
<widget class="QMainWindow" name="MainWindow">
5+
<property name="enabled">
6+
<bool>true</bool>
7+
</property>
8+
<property name="geometry">
9+
<rect>
10+
<x>0</x>
11+
<y>0</y>
12+
<width>846</width>
13+
<height>568</height>
14+
</rect>
15+
</property>
16+
<property name="windowTitle">
17+
<string>MainWindow</string>
18+
</property>
19+
<widget class="QWidget" name="centralwidget">
20+
<layout class="QVBoxLayout" name="verticalLayout">
21+
<item>
22+
<widget class="QFrame" name="frame">
23+
<property name="frameShape">
24+
<enum>QFrame::StyledPanel</enum>
25+
</property>
26+
<property name="frameShadow">
27+
<enum>QFrame::Raised</enum>
28+
</property>
29+
<layout class="QGridLayout" name="gridLayout">
30+
<item row="2" column="0">
31+
<widget class="QTableWidget" name="tableWidget">
32+
<property name="acceptDrops">
33+
<bool>false</bool>
34+
</property>
35+
<property name="accessibleName">
36+
<string/>
37+
</property>
38+
<property name="accessibleDescription">
39+
<string/>
40+
</property>
41+
<property name="horizontalScrollBarPolicy">
42+
<enum>Qt::ScrollBarAlwaysOn</enum>
43+
</property>
44+
<property name="sizeAdjustPolicy">
45+
<enum>QAbstractScrollArea::AdjustIgnored</enum>
46+
</property>
47+
<property name="editTriggers">
48+
<set>QAbstractItemView::NoEditTriggers</set>
49+
</property>
50+
<column>
51+
<property name="text">
52+
<string>IP Address</string>
53+
</property>
54+
</column>
55+
<column>
56+
<property name="text">
57+
<string>Hostname</string>
58+
</property>
59+
</column>
60+
<column>
61+
<property name="text">
62+
<string>Players</string>
63+
</property>
64+
</column>
65+
<column>
66+
<property name="text">
67+
<string>Gamemode</string>
68+
</property>
69+
</column>
70+
<column>
71+
<property name="text">
72+
<string>Language</string>
73+
</property>
74+
</column>
75+
<column>
76+
<property name="text">
77+
<string>Version</string>
78+
</property>
79+
</column>
80+
<column>
81+
<property name="text">
82+
<string>Password</string>
83+
</property>
84+
</column>
85+
<column>
86+
<property name="text">
87+
<string>OMP</string>
88+
</property>
89+
</column>
90+
</widget>
91+
</item>
92+
<item row="0" column="0">
93+
<widget class="QLabel" name="label">
94+
<property name="styleSheet">
95+
<string notr="true">QLabel {
96+
font: 10pt &quot;MS Shell Dlg 2&quot;;
97+
98+
}</string>
99+
</property>
100+
<property name="text">
101+
<string>Open Multiplayer Server Browser</string>
102+
</property>
103+
<property name="alignment">
104+
<set>Qt::AlignCenter</set>
105+
</property>
106+
</widget>
107+
</item>
108+
<item row="8" column="0">
109+
<widget class="QLabel" name="labelOnlinePlayers">
110+
<property name="text">
111+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Online Players: &lt;span style=&quot; font-weight:600;&quot;&gt;-&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
112+
</property>
113+
<property name="alignment">
114+
<set>Qt::AlignCenter</set>
115+
</property>
116+
</widget>
117+
</item>
118+
<item row="7" column="0">
119+
<widget class="QLabel" name="labelOnlineServers">
120+
<property name="text">
121+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Online Servers: &lt;span style=&quot; font-weight:600;&quot;&gt;-&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
122+
</property>
123+
<property name="alignment">
124+
<set>Qt::AlignCenter</set>
125+
</property>
126+
</widget>
127+
</item>
128+
<item row="5" column="0">
129+
<widget class="QCheckBox" name="checkBoxSampServers">
130+
<property name="text">
131+
<string>sa-mp servers</string>
132+
</property>
133+
<property name="icon">
134+
<iconset>
135+
<normalon>:/imagesPrefix/icons/samp-icon.ico</normalon>
136+
</iconset>
137+
</property>
138+
</widget>
139+
</item>
140+
<item row="4" column="0">
141+
<widget class="QCheckBox" name="checkBoxOpenMpServers">
142+
<property name="cursor">
143+
<cursorShape>ArrowCursor</cursorShape>
144+
</property>
145+
<property name="text">
146+
<string>open.mp servers</string>
147+
</property>
148+
<property name="icon">
149+
<iconset>
150+
<normalon>:/imagesPrefix/icons/open-mp-icon.ico</normalon>
151+
</iconset>
152+
</property>
153+
<property name="shortcut">
154+
<string/>
155+
</property>
156+
<property name="checkable">
157+
<bool>true</bool>
158+
</property>
159+
<property name="checked">
160+
<bool>true</bool>
161+
</property>
162+
<property name="tristate">
163+
<bool>false</bool>
164+
</property>
165+
</widget>
166+
</item>
167+
<item row="1" column="0">
168+
<widget class="QPushButton" name="pushButtonRefresh">
169+
<property name="enabled">
170+
<bool>true</bool>
171+
</property>
172+
<property name="text">
173+
<string>Refresh</string>
174+
</property>
175+
<property name="icon">
176+
<iconset>
177+
<normalon>:/imagesPrefix/images/icon-refresh-24px.png</normalon>
178+
</iconset>
179+
</property>
180+
</widget>
181+
</item>
182+
<item row="3" column="0">
183+
<widget class="QLineEdit" name="lineEdit">
184+
<property name="inputMask">
185+
<string/>
186+
</property>
187+
<property name="text">
188+
<string/>
189+
</property>
190+
<property name="maxLength">
191+
<number>64</number>
192+
</property>
193+
<property name="placeholderText">
194+
<string>Search by Hostname, Gamemode, Language, Version</string>
195+
</property>
196+
<property name="clearButtonEnabled">
197+
<bool>true</bool>
198+
</property>
199+
</widget>
200+
</item>
201+
</layout>
202+
</widget>
203+
</item>
204+
</layout>
205+
</widget>
206+
<widget class="QMenuBar" name="menuBar">
207+
<property name="geometry">
208+
<rect>
209+
<x>0</x>
210+
<y>0</y>
211+
<width>846</width>
212+
<height>21</height>
213+
</rect>
214+
</property>
215+
<widget class="QMenu" name="menuAppearance">
216+
<property name="title">
217+
<string>Appearance</string>
218+
</property>
219+
<addaction name="actionTheme"/>
220+
</widget>
221+
<addaction name="menuAppearance"/>
222+
</widget>
223+
<action name="actionTheme">
224+
<property name="icon">
225+
<iconset>
226+
<normalon>:/imagesPrefix/images/icon-dark-64px.png</normalon>
227+
</iconset>
228+
</property>
229+
<property name="text">
230+
<string>Dark Mode</string>
231+
</property>
232+
</action>
233+
</widget>
234+
<resources>
235+
<include location="resources/resources_rc.qrc"/>
236+
</resources>
237+
<connections/>
238+
</ui>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<RCC>
2+
<qresource prefix="imagesPrefix">
3+
<file>../../images/icon-dark-64px.png</file>
4+
<file>../../images/icon-sun-48px-white.png</file>
5+
<file>../../images/icon-refresh-24px-white.png</file>
6+
<file>../../images/icon-refresh-24px.png</file>
7+
<file>../../icons/samp-icon.ico</file>
8+
<file>../../icons/open-mp-icon.ico</file>
9+
</qresource>
10+
<qresource prefix="uiPrefix">
11+
<file>../form.ui</file>
12+
</qresource>
13+
</RCC>

0 commit comments

Comments
 (0)