Skip to content

Commit 9436ce7

Browse files
committed
UI Update
1 parent e893ef2 commit 9436ce7

File tree

1 file changed

+172
-179
lines changed

1 file changed

+172
-179
lines changed

UI/mainview.ui

Lines changed: 172 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>917</width>
10-
<height>680</height>
10+
<height>607</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -19,151 +19,6 @@
1919
</property>
2020
<widget class="QWidget" name="centralWidget">
2121
<layout class="QVBoxLayout" name="verticalLayout">
22-
<item>
23-
<layout class="QHBoxLayout" name="hlCode">
24-
<item>
25-
<widget class="QPushButton" name="btnCodeOpen">
26-
<property name="minimumSize">
27-
<size>
28-
<width>24</width>
29-
<height>24</height>
30-
</size>
31-
</property>
32-
<property name="maximumSize">
33-
<size>
34-
<width>24</width>
35-
<height>24</height>
36-
</size>
37-
</property>
38-
<property name="toolTip">
39-
<string>Open Into Code</string>
40-
</property>
41-
<property name="text">
42-
<string/>
43-
</property>
44-
<property name="icon">
45-
<iconset resource="../PyRunResources.qrc">
46-
<normaloff>:/data/Icons/Open.png</normaloff>:/data/Icons/Open.png</iconset>
47-
</property>
48-
<property name="iconSize">
49-
<size>
50-
<width>16</width>
51-
<height>16</height>
52-
</size>
53-
</property>
54-
</widget>
55-
</item>
56-
<item>
57-
<widget class="QPushButton" name="btnCodeSave">
58-
<property name="minimumSize">
59-
<size>
60-
<width>24</width>
61-
<height>24</height>
62-
</size>
63-
</property>
64-
<property name="maximumSize">
65-
<size>
66-
<width>24</width>
67-
<height>24</height>
68-
</size>
69-
</property>
70-
<property name="toolTip">
71-
<string>Save Code</string>
72-
</property>
73-
<property name="text">
74-
<string/>
75-
</property>
76-
<property name="icon">
77-
<iconset resource="../PyRunResources.qrc">
78-
<normaloff>:/data/Icons/Save.png</normaloff>:/data/Icons/Save.png</iconset>
79-
</property>
80-
<property name="iconSize">
81-
<size>
82-
<width>16</width>
83-
<height>16</height>
84-
</size>
85-
</property>
86-
</widget>
87-
</item>
88-
<item>
89-
<widget class="QPushButton" name="btnCodeClear">
90-
<property name="minimumSize">
91-
<size>
92-
<width>24</width>
93-
<height>24</height>
94-
</size>
95-
</property>
96-
<property name="maximumSize">
97-
<size>
98-
<width>24</width>
99-
<height>24</height>
100-
</size>
101-
</property>
102-
<property name="toolTip">
103-
<string>Clear Code</string>
104-
</property>
105-
<property name="text">
106-
<string/>
107-
</property>
108-
<property name="icon">
109-
<iconset resource="../PyRunResources.qrc">
110-
<normaloff>:/data/Icons/Clear.png</normaloff>:/data/Icons/Clear.png</iconset>
111-
</property>
112-
<property name="iconSize">
113-
<size>
114-
<width>16</width>
115-
<height>16</height>
116-
</size>
117-
</property>
118-
</widget>
119-
</item>
120-
<item>
121-
<widget class="QPushButton" name="btnRun">
122-
<property name="minimumSize">
123-
<size>
124-
<width>24</width>
125-
<height>24</height>
126-
</size>
127-
</property>
128-
<property name="maximumSize">
129-
<size>
130-
<width>24</width>
131-
<height>24</height>
132-
</size>
133-
</property>
134-
<property name="toolTip">
135-
<string>Run Code</string>
136-
</property>
137-
<property name="text">
138-
<string/>
139-
</property>
140-
<property name="icon">
141-
<iconset resource="../PyRunResources.qrc">
142-
<normaloff>:/data/Icons/Run.png</normaloff>:/data/Icons/Run.png</iconset>
143-
</property>
144-
<property name="iconSize">
145-
<size>
146-
<width>16</width>
147-
<height>16</height>
148-
</size>
149-
</property>
150-
</widget>
151-
</item>
152-
<item>
153-
<spacer name="hsCode">
154-
<property name="orientation">
155-
<enum>Qt::Horizontal</enum>
156-
</property>
157-
<property name="sizeHint" stdset="0">
158-
<size>
159-
<width>40</width>
160-
<height>20</height>
161-
</size>
162-
</property>
163-
</spacer>
164-
</item>
165-
</layout>
166-
</item>
16722
<item>
16823
<layout class="QHBoxLayout" name="hlOptions">
16924
<item>
@@ -590,39 +445,148 @@
590445
</layout>
591446
</item>
592447
<item>
593-
<widget class="CodeEditor" name="txtCode">
594-
<property name="minimumSize">
595-
<size>
596-
<width>700</width>
597-
<height>300</height>
598-
</size>
599-
</property>
600-
<property name="font">
601-
<font>
602-
<family>Courier New</family>
603-
<pointsize>12</pointsize>
604-
</font>
605-
</property>
606-
<property name="toolTip">
607-
<string>Code Area</string>
608-
</property>
609-
<property name="verticalScrollBarPolicy">
610-
<enum>Qt::ScrollBarAlwaysOn</enum>
611-
</property>
612-
<property name="horizontalScrollBarPolicy">
613-
<enum>Qt::ScrollBarAlwaysOn</enum>
614-
</property>
615-
<property name="plainText">
616-
<string>print (&quot;hello&quot;)
617-
</string>
618-
</property>
619-
</widget>
620-
</item>
621-
<item>
622-
<layout class="QHBoxLayout" name="hlOneLiner">
623-
<property name="spacing">
624-
<number>6</number>
625-
</property>
448+
<layout class="QHBoxLayout" name="hlCode">
449+
<item>
450+
<widget class="QPushButton" name="btnCodeOpen">
451+
<property name="minimumSize">
452+
<size>
453+
<width>24</width>
454+
<height>24</height>
455+
</size>
456+
</property>
457+
<property name="maximumSize">
458+
<size>
459+
<width>24</width>
460+
<height>24</height>
461+
</size>
462+
</property>
463+
<property name="toolTip">
464+
<string>Open Into Code</string>
465+
</property>
466+
<property name="text">
467+
<string/>
468+
</property>
469+
<property name="icon">
470+
<iconset resource="../PyRunResources.qrc">
471+
<normaloff>:/data/Icons/Open.png</normaloff>:/data/Icons/Open.png</iconset>
472+
</property>
473+
<property name="iconSize">
474+
<size>
475+
<width>16</width>
476+
<height>16</height>
477+
</size>
478+
</property>
479+
</widget>
480+
</item>
481+
<item>
482+
<widget class="QPushButton" name="btnCodeSave">
483+
<property name="minimumSize">
484+
<size>
485+
<width>24</width>
486+
<height>24</height>
487+
</size>
488+
</property>
489+
<property name="maximumSize">
490+
<size>
491+
<width>24</width>
492+
<height>24</height>
493+
</size>
494+
</property>
495+
<property name="toolTip">
496+
<string>Save Code</string>
497+
</property>
498+
<property name="text">
499+
<string/>
500+
</property>
501+
<property name="icon">
502+
<iconset resource="../PyRunResources.qrc">
503+
<normaloff>:/data/Icons/Save.png</normaloff>:/data/Icons/Save.png</iconset>
504+
</property>
505+
<property name="iconSize">
506+
<size>
507+
<width>16</width>
508+
<height>16</height>
509+
</size>
510+
</property>
511+
</widget>
512+
</item>
513+
<item>
514+
<widget class="QPushButton" name="btnCodeClear">
515+
<property name="minimumSize">
516+
<size>
517+
<width>24</width>
518+
<height>24</height>
519+
</size>
520+
</property>
521+
<property name="maximumSize">
522+
<size>
523+
<width>24</width>
524+
<height>24</height>
525+
</size>
526+
</property>
527+
<property name="toolTip">
528+
<string>Clear Code</string>
529+
</property>
530+
<property name="text">
531+
<string/>
532+
</property>
533+
<property name="icon">
534+
<iconset resource="../PyRunResources.qrc">
535+
<normaloff>:/data/Icons/Clear.png</normaloff>:/data/Icons/Clear.png</iconset>
536+
</property>
537+
<property name="iconSize">
538+
<size>
539+
<width>16</width>
540+
<height>16</height>
541+
</size>
542+
</property>
543+
</widget>
544+
</item>
545+
<item>
546+
<widget class="QPushButton" name="btnRun">
547+
<property name="minimumSize">
548+
<size>
549+
<width>24</width>
550+
<height>24</height>
551+
</size>
552+
</property>
553+
<property name="maximumSize">
554+
<size>
555+
<width>24</width>
556+
<height>24</height>
557+
</size>
558+
</property>
559+
<property name="toolTip">
560+
<string>Run Code</string>
561+
</property>
562+
<property name="text">
563+
<string/>
564+
</property>
565+
<property name="icon">
566+
<iconset resource="../PyRunResources.qrc">
567+
<normaloff>:/data/Icons/Run.png</normaloff>:/data/Icons/Run.png</iconset>
568+
</property>
569+
<property name="iconSize">
570+
<size>
571+
<width>16</width>
572+
<height>16</height>
573+
</size>
574+
</property>
575+
</widget>
576+
</item>
577+
<item>
578+
<spacer name="hsCode">
579+
<property name="orientation">
580+
<enum>Qt::Horizontal</enum>
581+
</property>
582+
<property name="sizeHint" stdset="0">
583+
<size>
584+
<width>40</width>
585+
<height>20</height>
586+
</size>
587+
</property>
588+
</spacer>
589+
</item>
626590
<item>
627591
<widget class="CodeEditor" name="txtOneLiner">
628592
<property name="minimumSize">
@@ -700,6 +664,35 @@
700664
</item>
701665
</layout>
702666
</item>
667+
<item>
668+
<widget class="CodeEditor" name="txtCode">
669+
<property name="minimumSize">
670+
<size>
671+
<width>700</width>
672+
<height>300</height>
673+
</size>
674+
</property>
675+
<property name="font">
676+
<font>
677+
<family>Courier New</family>
678+
<pointsize>12</pointsize>
679+
</font>
680+
</property>
681+
<property name="toolTip">
682+
<string>Code Area</string>
683+
</property>
684+
<property name="verticalScrollBarPolicy">
685+
<enum>Qt::ScrollBarAlwaysOn</enum>
686+
</property>
687+
<property name="horizontalScrollBarPolicy">
688+
<enum>Qt::ScrollBarAlwaysOn</enum>
689+
</property>
690+
<property name="plainText">
691+
<string>print (&quot;hello&quot;)
692+
</string>
693+
</property>
694+
</widget>
695+
</item>
703696
</layout>
704697
</widget>
705698
<widget class="QDockWidget" name="dwInput">

0 commit comments

Comments
 (0)