New Site dialog implemented
[biaweb_qt.git] / site_configuration_dialog.ui
index 11ee0d3..0b74288 100644 (file)
@@ -2,6 +2,9 @@
 <ui version="4.0">
  <class>SiteConfigDialog</class>
  <widget class="QDialog" name="SiteConfigDialog">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
   <property name="geometry">
    <rect>
     <x>0</x>
@@ -13,6 +16,9 @@
   <property name="windowTitle">
    <string>Site Configuration</string>
   </property>
+  <property name="modal">
+   <bool>true</bool>
+  </property>
   <layout class="QGridLayout" name="gridLayout">
    <item row="0" column="0">
     <widget class="QLabel" name="label">
     </widget>
    </item>
    <item row="0" column="1" colspan="7">
-    <widget class="QLineEdit" name="site_title"/>
-   </item>
-   <item row="1" column="0">
-    <widget class="QLabel" name="label_2">
+    <widget class="QLineEdit" name="site_title">
      <property name="text">
-      <string>Site URL</string>
+      <string>My Site</string>
      </property>
     </widget>
    </item>
-   <item row="1" column="2" colspan="6">
-    <widget class="QLineEdit" name="site_url">
+   <item row="1" column="0">
+    <widget class="QLabel" name="label_2">
      <property name="text">
-      <string/>
+      <string>Site URL</string>
      </property>
     </widget>
    </item>
     </widget>
    </item>
    <item row="2" column="1" colspan="7">
-    <widget class="QLineEdit" name="keywords"/>
+    <widget class="QLineEdit" name="keywords">
+     <property name="text">
+      <string>some keywords here</string>
+     </property>
+    </widget>
    </item>
    <item row="3" column="0">
     <widget class="QLabel" name="label_4">
@@ -63,6 +70,9 @@
      <property name="tabChangesFocus">
       <bool>true</bool>
      </property>
+     <property name="plainText">
+      <string>Your site's description here. This appears in the site header.</string>
+     </property>
     </widget>
    </item>
    <item row="4" column="0" colspan="2">
     </widget>
    </item>
    <item row="4" column="4" colspan="4">
-    <widget class="QLineEdit" name="copyright"/>
+    <widget class="QLineEdit" name="copyright">
+     <property name="text">
+      <string>Copyright (C) year, your name here</string>
+     </property>
+    </widget>
    </item>
    <item row="4" column="3">
     <widget class="QLabel" name="label_7">
      </property>
     </widget>
    </item>
+   <item row="1" column="2" colspan="6">
+    <widget class="QLineEdit" name="site_url">
+     <property name="text">
+      <string>example.com</string>
+     </property>
+    </widget>
+   </item>
   </layout>
  </widget>
  <tabstops>
    <slot>accept()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>248</x>
-     <y>254</y>
+     <x>257</x>
+     <y>357</y>
     </hint>
     <hint type="destinationlabel">
      <x>157</x>
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>316</x>
-     <y>260</y>
+     <x>325</x>
+     <y>357</y>
     </hint>
     <hint type="destinationlabel">
      <x>286</x>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>destination_browse_button</sender>
+   <signal>clicked()</signal>
+   <receiver>SiteConfigDialog</receiver>
+   <slot>on_browse()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>529</x>
+     <y>321</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>558</x>
+     <y>310</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
+ <slots>
+  <slot>on_browse()</slot>
+ </slots>
 </ui>