Browse Source

fixed how it looks in ubuntu

Luis 9 years ago
parent
commit
4b290fd160
2 changed files with 5 additions and 2 deletions
  1. 1
    0
      main.cpp
  2. 4
    2
      mainwindow.ui

+ 1
- 0
main.cpp View File

61
     srand(time(NULL));
61
     srand(time(NULL));
62
     QApplication a(argc, argv);
62
     QApplication a(argc, argv);
63
     MainWindow w;
63
     MainWindow w;
64
+    w.setWindowTitle("Testing Lab");
64
     w.show();
65
     w.show();
65
 
66
 
66
 
67
 

+ 4
- 2
mainwindow.ui View File

150
        <x>30</x>
150
        <x>30</x>
151
        <y>54</y>
151
        <y>54</y>
152
        <width>641</width>
152
        <width>641</width>
153
-       <height>4</height>
153
+       <height>21</height>
154
       </rect>
154
       </rect>
155
      </property>
155
      </property>
156
      <property name="styleSheet">
156
      <property name="styleSheet">
163
       <enum>QFrame::Raised</enum>
163
       <enum>QFrame::Raised</enum>
164
      </property>
164
      </property>
165
     </widget>
165
     </widget>
166
+    <zorder>frame_2</zorder>
167
+    <zorder>label</zorder>
166
    </widget>
168
    </widget>
167
    <widget class="QFrame" name="frame_3">
169
    <widget class="QFrame" name="frame_3">
168
     <property name="geometry">
170
     <property name="geometry">
177
      <string notr="true">background-image: url(:/images/resources/logo.png);</string>
179
      <string notr="true">background-image: url(:/images/resources/logo.png);</string>
178
     </property>
180
     </property>
179
     <property name="frameShape">
181
     <property name="frameShape">
180
-     <enum>QFrame::StyledPanel</enum>
182
+     <enum>QFrame::NoFrame</enum>
181
     </property>
183
     </property>
182
     <property name="frameShadow">
184
     <property name="frameShadow">
183
      <enum>QFrame::Raised</enum>
185
      <enum>QFrame::Raised</enum>