Skip to content

Commit 096e220

Browse files
Merge pull request #1 from idaljeetsingh/experimental
Experimental
2 parents 226e179 + 6d4f0c3 commit 096e220

File tree

7 files changed

+364
-105
lines changed

7 files changed

+364
-105
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
**/.idea/
44
**/build
55
**/dist
6+
main.spec
7+
**/output/

Executer.ui

Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
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="windowModality">
6+
<enum>Qt::WindowModal</enum>
7+
</property>
8+
<property name="geometry">
9+
<rect>
10+
<x>0</x>
11+
<y>0</y>
12+
<width>680</width>
13+
<height>440</height>
14+
</rect>
15+
</property>
16+
<property name="minimumSize">
17+
<size>
18+
<width>680</width>
19+
<height>440</height>
20+
</size>
21+
</property>
22+
<property name="maximumSize">
23+
<size>
24+
<width>680</width>
25+
<height>440</height>
26+
</size>
27+
</property>
28+
<property name="font">
29+
<font>
30+
<pointsize>10</pointsize>
31+
<weight>50</weight>
32+
<bold>false</bold>
33+
</font>
34+
</property>
35+
<property name="windowTitle">
36+
<string>Executer</string>
37+
</property>
38+
<property name="autoFillBackground">
39+
<bool>true</bool>
40+
</property>
41+
<widget class="QWidget" name="centralwidget">
42+
<widget class="QWidget" name="formLayoutWidget">
43+
<property name="geometry">
44+
<rect>
45+
<x>10</x>
46+
<y>10</y>
47+
<width>321</width>
48+
<height>88</height>
49+
</rect>
50+
</property>
51+
<layout class="QFormLayout" name="formLayout">
52+
<property name="bottomMargin">
53+
<number>0</number>
54+
</property>
55+
<item row="0" column="0">
56+
<widget class="QLabel" name="hostLabel">
57+
<property name="text">
58+
<string>Host</string>
59+
</property>
60+
</widget>
61+
</item>
62+
<item row="0" column="1">
63+
<widget class="QLineEdit" name="host_entry">
64+
<property name="placeholderText">
65+
<string>HostName/IP Address of remote server</string>
66+
</property>
67+
<property name="clearButtonEnabled">
68+
<bool>true</bool>
69+
</property>
70+
</widget>
71+
</item>
72+
<item row="1" column="0">
73+
<widget class="QLabel" name="portLabel">
74+
<property name="text">
75+
<string>Port</string>
76+
</property>
77+
</widget>
78+
</item>
79+
<item row="1" column="1">
80+
<widget class="QLineEdit" name="port_entry">
81+
<property name="echoMode">
82+
<enum>QLineEdit::Normal</enum>
83+
</property>
84+
<property name="placeholderText">
85+
<string>SSH port number of remote server</string>
86+
</property>
87+
<property name="clearButtonEnabled">
88+
<bool>true</bool>
89+
</property>
90+
</widget>
91+
</item>
92+
<item row="2" column="0">
93+
<widget class="QLabel" name="scriptLabel">
94+
<property name="text">
95+
<string>Script</string>
96+
</property>
97+
</widget>
98+
</item>
99+
<item row="2" column="1">
100+
<widget class="QLineEdit" name="script_entry">
101+
<property name="whatsThis">
102+
<string extracomment="Enter the path to the cript file stored on your local machine"/>
103+
</property>
104+
<property name="placeholderText">
105+
<string>Type path to script/press enter to browse</string>
106+
</property>
107+
<property name="clearButtonEnabled">
108+
<bool>true</bool>
109+
</property>
110+
</widget>
111+
</item>
112+
</layout>
113+
</widget>
114+
<widget class="QWidget" name="formLayoutWidget_2">
115+
<property name="geometry">
116+
<rect>
117+
<x>340</x>
118+
<y>10</y>
119+
<width>331</width>
120+
<height>93</height>
121+
</rect>
122+
</property>
123+
<layout class="QFormLayout" name="formLayout_2">
124+
<item row="0" column="0">
125+
<widget class="QLabel" name="usernameLabel">
126+
<property name="text">
127+
<string>Username</string>
128+
</property>
129+
</widget>
130+
</item>
131+
<item row="0" column="1">
132+
<widget class="QLineEdit" name="username_entry">
133+
<property name="placeholderText">
134+
<string>SSH remote login username</string>
135+
</property>
136+
<property name="clearButtonEnabled">
137+
<bool>true</bool>
138+
</property>
139+
</widget>
140+
</item>
141+
<item row="1" column="0">
142+
<widget class="QLabel" name="passwordLabel">
143+
<property name="text">
144+
<string>Password</string>
145+
</property>
146+
</widget>
147+
</item>
148+
<item row="1" column="1">
149+
<widget class="QLineEdit" name="password_entry">
150+
<property name="echoMode">
151+
<enum>QLineEdit::Password</enum>
152+
</property>
153+
<property name="placeholderText">
154+
<string>SSH remote login password</string>
155+
</property>
156+
<property name="clearButtonEnabled">
157+
<bool>true</bool>
158+
</property>
159+
</widget>
160+
</item>
161+
<item row="2" column="0">
162+
<widget class="QCheckBox" name="as_sudo">
163+
<property name="text">
164+
<string>as sudo?</string>
165+
</property>
166+
</widget>
167+
</item>
168+
<item row="2" column="1">
169+
<layout class="QHBoxLayout" name="horizontalLayout_2">
170+
<item>
171+
<widget class="QPushButton" name="execute_button">
172+
<property name="text">
173+
<string>Execute</string>
174+
</property>
175+
</widget>
176+
</item>
177+
<item>
178+
<widget class="QPushButton" name="clear_button">
179+
<property name="text">
180+
<string>Clear</string>
181+
</property>
182+
</widget>
183+
</item>
184+
</layout>
185+
</item>
186+
</layout>
187+
</widget>
188+
<widget class="QLabel" name="label">
189+
<property name="geometry">
190+
<rect>
191+
<x>10</x>
192+
<y>90</y>
193+
<width>60</width>
194+
<height>16</height>
195+
</rect>
196+
</property>
197+
<property name="text">
198+
<string>Response:</string>
199+
</property>
200+
</widget>
201+
<widget class="QTextEdit" name="server_response">
202+
<property name="geometry">
203+
<rect>
204+
<x>10</x>
205+
<y>110</y>
206+
<width>661</width>
207+
<height>291</height>
208+
</rect>
209+
</property>
210+
<property name="undoRedoEnabled">
211+
<bool>false</bool>
212+
</property>
213+
<property name="readOnly">
214+
<bool>true</bool>
215+
</property>
216+
<property name="textInteractionFlags">
217+
<set>Qt::TextSelectableByMouse</set>
218+
</property>
219+
</widget>
220+
</widget>
221+
<widget class="QMenuBar" name="menubar">
222+
<property name="geometry">
223+
<rect>
224+
<x>0</x>
225+
<y>0</y>
226+
<width>680</width>
227+
<height>21</height>
228+
</rect>
229+
</property>
230+
<widget class="QMenu" name="menuExecuter">
231+
<property name="title">
232+
<string>Executer</string>
233+
</property>
234+
<addaction name="actionExit"/>
235+
<addaction name="actionAbout"/>
236+
<addaction name="actionHelp"/>
237+
</widget>
238+
<addaction name="menuExecuter"/>
239+
</widget>
240+
<widget class="QStatusBar" name="statusbar"/>
241+
<action name="actionExit">
242+
<property name="text">
243+
<string>Exit</string>
244+
</property>
245+
</action>
246+
<action name="actionAbout">
247+
<property name="text">
248+
<string>About</string>
249+
</property>
250+
</action>
251+
<action name="actionHelp">
252+
<property name="text">
253+
<string>Help</string>
254+
</property>
255+
</action>
256+
</widget>
257+
<resources/>
258+
<connections/>
259+
</ui>

icon.png

19.1 KB
Loading

img/demo.png

1.54 KB
Loading

0 commit comments

Comments
 (0)