Commits

iorodeo committed e8a691b Draft

Fixed issue with demo GUI appearance on windows.

Comments (0)

Files changed (2)

flyherder_demo_gui/flyherder_demo_gui/flyherder_gui.ui

     <x>0</x>
     <y>0</y>
     <width>678</width>
-    <height>464</height>
+    <height>455</height>
    </rect>
   </property>
   <property name="sizePolicy">
    <string>FlyHerder Demo GUI v1.0</string>
   </property>
   <widget class="QWidget" name="centralwidget">
-   <layout class="QVBoxLayout" name="verticalLayout_9">
+   <layout class="QHBoxLayout" name="horizontalLayout_4">
     <item>
      <widget class="QTabWidget" name="tabWidget">
       <property name="currentIndex">
-       <number>0</number>
+       <number>1</number>
       </property>
       <widget class="QWidget" name="setupTab">
        <attribute name="title">
             </widget>
            </item>
            <item>
-            <widget class="Line" name="line">
-             <property name="orientation">
-              <enum>Qt::Horizontal</enum>
-             </property>
-            </widget>
-           </item>
-           <item>
             <widget class="QGroupBox" name="paramGroupBox">
              <property name="sizePolicy">
               <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
             </widget>
            </item>
            <item>
-            <widget class="Line" name="line_3">
-             <property name="orientation">
-              <enum>Qt::Horizontal</enum>
-             </property>
-            </widget>
-           </item>
-           <item>
             <widget class="QGroupBox" name="positionGroupBox">
              <property name="title">
               <string>Current Position [mm]</string>

flyherder_demo_gui/flyherder_demo_gui/flyherder_gui_ui.py

 
 # Form implementation generated from reading ui file 'flyherder_gui.ui'
 #
-# Created: Fri Aug 31 13:23:04 2012
+# Created: Fri Aug 31 13:28:41 2012
 #      by: PyQt4 UI code generator 4.7.2
 #
 # WARNING! All changes made in this file will be lost!
     def setupUi(self, MainWindow):
         MainWindow.setObjectName("MainWindow")
         MainWindow.setEnabled(True)
-        MainWindow.resize(678, 464)
+        MainWindow.resize(678, 455)
         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
         sizePolicy.setHorizontalStretch(0)
         sizePolicy.setVerticalStretch(0)
         MainWindow.setSizePolicy(sizePolicy)
         self.centralwidget = QtGui.QWidget(MainWindow)
         self.centralwidget.setObjectName("centralwidget")
-        self.verticalLayout_9 = QtGui.QVBoxLayout(self.centralwidget)
-        self.verticalLayout_9.setObjectName("verticalLayout_9")
+        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.centralwidget)
+        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
         self.tabWidget = QtGui.QTabWidget(self.centralwidget)
         self.tabWidget.setObjectName("tabWidget")
         self.setupTab = QtGui.QWidget()
         self.horizontalLayout_2.addItem(spacerItem)
         self.verticalLayout_4.addWidget(self.widget)
         self.verticalLayout_6.addWidget(self.commGroupBox)
-        self.line = QtGui.QFrame(self.widget_9)
-        self.line.setFrameShape(QtGui.QFrame.HLine)
-        self.line.setFrameShadow(QtGui.QFrame.Sunken)
-        self.line.setObjectName("line")
-        self.verticalLayout_6.addWidget(self.line)
         self.paramGroupBox = QtGui.QGroupBox(self.widget_9)
         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
         sizePolicy.setHorizontalStretch(0)
         self.horizontalLayout_8.addItem(spacerItem14)
         self.verticalLayout.addWidget(self.widget_10)
         self.verticalLayout_7.addWidget(self.moveGroupBox)
-        self.line_3 = QtGui.QFrame(self.widget_6)
-        self.line_3.setFrameShape(QtGui.QFrame.HLine)
-        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
-        self.line_3.setObjectName("line_3")
-        self.verticalLayout_7.addWidget(self.line_3)
         self.positionGroupBox = QtGui.QGroupBox(self.widget_6)
         self.positionGroupBox.setObjectName("positionGroupBox")
         self.verticalLayout_5 = QtGui.QVBoxLayout(self.positionGroupBox)
         self.verticalLayout_7.addItem(spacerItem20)
         self.verticalLayout_8.addWidget(self.widget_6)
         self.tabWidget.addTab(self.controlTab, "")
-        self.verticalLayout_9.addWidget(self.tabWidget)
+        self.horizontalLayout_4.addWidget(self.tabWidget)
         MainWindow.setCentralWidget(self.centralwidget)
         self.statusbar = QtGui.QStatusBar(MainWindow)
         self.statusbar.setObjectName("statusbar")
         self.actionUsage.setObjectName("actionUsage")
 
         self.retranslateUi(MainWindow)
-        self.tabWidget.setCurrentIndex(0)
+        self.tabWidget.setCurrentIndex(1)
         QtCore.QMetaObject.connectSlotsByName(MainWindow)
 
     def retranslateUi(self, MainWindow):