Added About Dialog, Updated UI, Fixed Bug 6669
[confmgr] / src / mainwindow.ui
index 7683261..e4d7a3b 100644 (file)
    <string>Conference Manager</string>
   </property>
   <widget class="QWidget" name="centralWidget">
-   <widget class="QWidget" name="verticalLayoutWidget">
+   <widget class="QListWidget" name="mainProfileList">
+    <property name="geometry">
+     <rect>
+      <x>25</x>
+      <y>4</y>
+      <width>751</width>
+      <height>241</height>
+     </rect>
+    </property>
+   </widget>
+   <widget class="QWidget" name="verticalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>26</x>
+      <x>535</x>
       <y>260</y>
       <width>241</width>
       <height>141</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout">
-     <property name="sizeConstraint">
-      <enum>QLayout::SetDefaultConstraint</enum>
-     </property>
+    <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
-      <widget class="QPushButton" name="btnmainStartConference">
+      <widget class="QPushButton" name="mainPBEditProfile">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Start Conference</string>
+        <string>Edit Profile</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="mainPBAdd">
+      <widget class="QPushButton" name="mainPBQuit">
        <property name="sizePolicy">
-        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Add Profile</string>
+        <string>Exit</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QListWidget" name="mainProfileList">
+   <widget class="QWidget" name="horizontalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>25</x>
-      <y>4</y>
-      <width>751</width>
-      <height>241</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_2">
-    <property name="geometry">
-     <rect>
-      <x>535</x>
+      <x>31</x>
       <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <width>491</width>
+      <height>71</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_2">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
      <item>
-      <widget class="QPushButton" name="mainPBAbout">
+      <widget class="QPushButton" name="btnmainStartConference">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>About</string>
+        <string>Start Conference</string>
        </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="mainPBQuit">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
+       <property name="autoDefault">
+        <bool>true</bool>
        </property>
-       <property name="text">
-        <string>Exit</string>
+       <property name="default">
+        <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_3">
+   <widget class="QWidget" name="horizontalLayoutWidget">
     <property name="geometry">
      <rect>
-      <x>281</x>
-      <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <x>30</x>
+      <y>340</y>
+      <width>491</width>
+      <height>61</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_3">
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="QPushButton" name="mainPBEditProfile">
+      <widget class="QPushButton" name="mainPBAdd">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Edit Profile</string>
+        <string>Add Profile</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </widget>
+  <widget class="QMenuBar" name="mainMenuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>800</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="mainMenuAbout">
+    <property name="title">
+     <string>About</string>
+    </property>
+    <addaction name="actionAdd_Templated_Profile"/>
+    <addaction name="actionAbout"/>
+   </widget>
+   <addaction name="mainMenuAbout"/>
+  </widget>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
+  <action name="actionAdd_Templated_Profile">
+   <property name="text">
+    <string>Add Templated Profile</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <resources/>
    <slot>close()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>411</x>
-     <y>440</y>
+     <x>536</x>
+     <y>424</y>
     </hint>
     <hint type="destinationlabel">
      <x>399</x>
    </hints>
   </connection>
  </connections>
+ <slots>
+  <signal>mainAboutClickedSignal()</signal>
+  <slot>mainAboutClickedSlot()</slot>
+ </slots>
 </ui>