Advertisement
Guest User

steven

a guest
Mar 14th, 2010
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.23 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3.  <class>MainWindow</class>
  4.  <widget class="QMainWindow" name="MainWindow">
  5.   <property name="geometry">
  6.    <rect>
  7.     <x>0</x>
  8.     <y>0</y>
  9.     <width>838</width>
  10.     <height>548</height>
  11.    </rect>
  12.   </property>
  13.   <property name="contextMenuPolicy">
  14.    <enum>Qt::NoContextMenu</enum>
  15.   </property>
  16.   <property name="windowTitle">
  17.    <string>Clinibook</string>
  18.   </property>
  19.   <property name="windowIcon">
  20.    <iconset resource="assets.qrc">
  21.     <normaloff>:/images/window-logo</normaloff>:/images/window-logo</iconset>
  22.   </property>
  23.   <property name="animated">
  24.    <bool>false</bool>
  25.   </property>
  26.   <property name="documentMode">
  27.    <bool>false</bool>
  28.   </property>
  29.   <property name="unifiedTitleAndToolBarOnMac">
  30.    <bool>false</bool>
  31.   </property>
  32.   <widget class="QWidget" name="centralWidget">
  33.    <layout class="QGridLayout" name="gridLayout">
  34.     <property name="margin">
  35.      <number>0</number>
  36.     </property>
  37.     <item row="0" column="0">
  38.      <widget class="QStackedWidget" name="stackedWidget">
  39.       <property name="toolTip">
  40.        <string/>
  41.       </property>
  42.       <property name="currentIndex">
  43.        <number>0</number>
  44.       </property>
  45.       <widget class="AppointmentListScreen" name="appointmentListLayer"/>
  46.       <widget class="AppointmentInfoScreen" name="appointmentInfoLayer"/>
  47.       <widget class="PatientListScreen" name="patientListLayer"/>
  48.       <widget class="PatientInfoScreen" name="patientInfoLayer"/>
  49.      </widget>
  50.     </item>
  51.    </layout>
  52.   </widget>
  53.   <widget class="QMenuBar" name="menuBar">
  54.    <property name="geometry">
  55.     <rect>
  56.      <x>0</x>
  57.      <y>0</y>
  58.      <width>838</width>
  59.      <height>19</height>
  60.     </rect>
  61.    </property>
  62.    <widget class="QMenu" name="menu_Edit">
  63.     <property name="title">
  64.      <string>&amp;Edit</string>
  65.     </property>
  66.     <addaction name="actionSettings"/>
  67.    </widget>
  68.    <widget class="QMenu" name="menu_File">
  69.     <property name="title">
  70.      <string>&amp;File</string>
  71.     </property>
  72.     <addaction name="action_New_Patient"/>
  73.     <addaction name="action_Connect"/>
  74.     <addaction name="separator"/>
  75.     <addaction name="actionExit"/>
  76.    </widget>
  77.    <widget class="QMenu" name="menu_View">
  78.     <property name="title">
  79.      <string>&amp;View</string>
  80.     </property>
  81.     <addaction name="actionAppointments"/>
  82.     <addaction name="actionPatients"/>
  83.     <addaction name="action_Toolbar"/>
  84.     <addaction name="action_Statusbar"/>
  85.    </widget>
  86.    <widget class="QMenu" name="menu_Help">
  87.     <property name="title">
  88.      <string>&amp;Help</string>
  89.     </property>
  90.     <addaction name="actionAbout"/>
  91.    </widget>
  92.    <addaction name="menu_File"/>
  93.    <addaction name="menu_Edit"/>
  94.    <addaction name="menu_View"/>
  95.    <addaction name="menu_Help"/>
  96.   </widget>
  97.   <widget class="QStatusBar" name="statusBar">
  98.    <property name="sizeGripEnabled">
  99.     <bool>false</bool>
  100.    </property>
  101.   </widget>
  102.   <widget class="QToolBar" name="toolBar">
  103.    <property name="contextMenuPolicy">
  104.     <enum>Qt::DefaultContextMenu</enum>
  105.    </property>
  106.    <property name="windowTitle">
  107.     <string>toolBar</string>
  108.    </property>
  109.    <property name="movable">
  110.     <bool>false</bool>
  111.    </property>
  112.    <property name="allowedAreas">
  113.     <set>Qt::AllToolBarAreas</set>
  114.    </property>
  115.    <property name="iconSize">
  116.     <size>
  117.      <width>22</width>
  118.      <height>22</height>
  119.     </size>
  120.    </property>
  121.    <property name="toolButtonStyle">
  122.     <enum>Qt::ToolButtonTextUnderIcon</enum>
  123.    </property>
  124.    <property name="floatable">
  125.     <bool>true</bool>
  126.    </property>
  127.    <attribute name="toolBarArea">
  128.     <enum>TopToolBarArea</enum>
  129.    </attribute>
  130.    <attribute name="toolBarBreak">
  131.     <bool>false</bool>
  132.    </attribute>
  133.    <addaction name="action_Connect"/>
  134.    <addaction name="actionSettings"/>
  135.    <addaction name="separator"/>
  136.    <addaction name="actionAppointments"/>
  137.    <addaction name="actionPatients"/>
  138.    <addaction name="action_New_Patient"/>
  139.   </widget>
  140.   <action name="actionExit">
  141.    <property name="icon">
  142.     <iconset resource="assets.qrc">
  143.      <normaloff>:/images/icons/32x32/exit</normaloff>:/images/icons/32x32/exit</iconset>
  144.    </property>
  145.    <property name="text">
  146.     <string>E&amp;xit</string>
  147.    </property>
  148.    <property name="statusTip">
  149.     <string>Exit the application</string>
  150.    </property>
  151.    <property name="shortcut">
  152.     <string>Ctrl+Q</string>
  153.    </property>
  154.   </action>
  155.   <action name="actionAbout">
  156.    <property name="icon">
  157.     <iconset resource="assets.qrc">
  158.      <normaloff>:/images/icons/32x32/about</normaloff>:/images/icons/32x32/about</iconset>
  159.    </property>
  160.    <property name="text">
  161.     <string>&amp;About</string>
  162.    </property>
  163.    <property name="toolTip">
  164.     <string>About</string>
  165.    </property>
  166.    <property name="statusTip">
  167.     <string>Display the about dialog</string>
  168.    </property>
  169.   </action>
  170.   <action name="actionSettings">
  171.    <property name="icon">
  172.     <iconset resource="assets.qrc">
  173.      <normaloff>:/images/icons/32x32/configure</normaloff>:/images/icons/32x32/configure</iconset>
  174.    </property>
  175.    <property name="text">
  176.     <string>&amp;Settings</string>
  177.    </property>
  178.    <property name="statusTip">
  179.     <string>Manage the application's settings and configuration</string>
  180.    </property>
  181.   </action>
  182.   <action name="action_New_Patient">
  183.    <property name="icon">
  184.     <iconset resource="assets.qrc">
  185.      <normaloff>:/images/icons/32x32/new-patient</normaloff>:/images/icons/32x32/new-patient</iconset>
  186.    </property>
  187.    <property name="text">
  188.     <string>&amp;New Patient</string>
  189.    </property>
  190.    <property name="statusTip">
  191.     <string>Add a new patient to the system</string>
  192.    </property>
  193.    <property name="shortcut">
  194.     <string>Ctrl+N</string>
  195.    </property>
  196.   </action>
  197.   <action name="actionAppointments">
  198.    <property name="icon">
  199.     <iconset resource="assets.qrc">
  200.      <normaloff>:/images/icons/32x32/appointments</normaloff>:/images/icons/32x32/appointments</iconset>
  201.    </property>
  202.    <property name="text">
  203.     <string>&amp;Appointments</string>
  204.    </property>
  205.    <property name="toolTip">
  206.     <string>Upcoming Appointments</string>
  207.    </property>
  208.    <property name="statusTip">
  209.     <string>List appointments</string>
  210.    </property>
  211.   </action>
  212.   <action name="actionPatients">
  213.    <property name="icon">
  214.     <iconset resource="assets.qrc">
  215.      <normaloff>:/images/icons/32x32/patients</normaloff>:/images/icons/32x32/patients</iconset>
  216.    </property>
  217.    <property name="text">
  218.     <string>&amp;Patients</string>
  219.    </property>
  220.    <property name="toolTip">
  221.     <string>List Patients</string>
  222.    </property>
  223.    <property name="statusTip">
  224.     <string>List patients on the system</string>
  225.    </property>
  226.   </action>
  227.   <action name="action_Connect">
  228.    <property name="checked">
  229.     <bool>false</bool>
  230.    </property>
  231.    <property name="icon">
  232.     <iconset resource="assets.qrc">
  233.      <normaloff>:/images/icons/32x32/connect</normaloff>
  234.      <normalon>:/images/icons/32x32/connect</normalon>:/images/icons/32x32/connect</iconset>
  235.    </property>
  236.    <property name="text">
  237.     <string>&amp;Connect</string>
  238.    </property>
  239.    <property name="toolTip">
  240.     <string>Connect to the database</string>
  241.    </property>
  242.    <property name="statusTip">
  243.     <string>Connect to the database</string>
  244.    </property>
  245.   </action>
  246.   <action name="action_Toolbar">
  247.    <property name="checkable">
  248.     <bool>true</bool>
  249.    </property>
  250.    <property name="checked">
  251.     <bool>true</bool>
  252.    </property>
  253.    <property name="text">
  254.     <string>&amp;Toolbar</string>
  255.    </property>
  256.   </action>
  257.   <action name="action_Statusbar">
  258.    <property name="checkable">
  259.     <bool>true</bool>
  260.    </property>
  261.    <property name="checked">
  262.     <bool>true</bool>
  263.    </property>
  264.    <property name="text">
  265.     <string>&amp;Statusbar</string>
  266.    </property>
  267.   </action>
  268.  </widget>
  269.  <layoutdefault spacing="6" margin="11"/>
  270.  <customwidgets>
  271.   <customwidget>
  272.    <class>AppointmentListScreen</class>
  273.    <extends>QWidget</extends>
  274.    <header>appointmentlistscreen.h</header>
  275.    <container>1</container>
  276.   </customwidget>
  277.   <customwidget>
  278.    <class>AppointmentInfoScreen</class>
  279.    <extends>QWidget</extends>
  280.    <header>appointmentinfoscreen.h</header>
  281.    <container>1</container>
  282.   </customwidget>
  283.   <customwidget>
  284.    <class>PatientListScreen</class>
  285.    <extends>QWidget</extends>
  286.    <header>patientlistscreen.h</header>
  287.    <container>1</container>
  288.   </customwidget>
  289.   <customwidget>
  290.    <class>PatientInfoScreen</class>
  291.    <extends>QWidget</extends>
  292.    <header>patientinfoscreen.h</header>
  293.    <container>1</container>
  294.   </customwidget>
  295.  </customwidgets>
  296.  <resources>
  297.   <include location="assets.qrc"/>
  298.  </resources>
  299.  <connections>
  300.   <connection>
  301.    <sender>actionExit</sender>
  302.    <signal>triggered()</signal>
  303.    <receiver>MainWindow</receiver>
  304.    <slot>close()</slot>
  305.    <hints>
  306.     <hint type="sourcelabel">
  307.      <x>-1</x>
  308.      <y>-1</y>
  309.     </hint>
  310.     <hint type="destinationlabel">
  311.      <x>418</x>
  312.      <y>273</y>
  313.     </hint>
  314.    </hints>
  315.   </connection>
  316.   <connection>
  317.    <sender>actionAbout</sender>
  318.    <signal>triggered()</signal>
  319.    <receiver>MainWindow</receiver>
  320.    <slot>about()</slot>
  321.    <hints>
  322.     <hint type="sourcelabel">
  323.      <x>-1</x>
  324.      <y>-1</y>
  325.     </hint>
  326.     <hint type="destinationlabel">
  327.      <x>418</x>
  328.      <y>273</y>
  329.     </hint>
  330.    </hints>
  331.   </connection>
  332.   <connection>
  333.    <sender>actionSettings</sender>
  334.    <signal>triggered()</signal>
  335.    <receiver>MainWindow</receiver>
  336.    <slot>settings()</slot>
  337.    <hints>
  338.     <hint type="sourcelabel">
  339.      <x>-1</x>
  340.      <y>-1</y>
  341.     </hint>
  342.     <hint type="destinationlabel">
  343.      <x>418</x>
  344.      <y>273</y>
  345.     </hint>
  346.    </hints>
  347.   </connection>
  348.   <connection>
  349.    <sender>action_New_Patient</sender>
  350.    <signal>triggered()</signal>
  351.    <receiver>MainWindow</receiver>
  352.    <slot>newPatient()</slot>
  353.    <hints>
  354.     <hint type="sourcelabel">
  355.      <x>-1</x>
  356.      <y>-1</y>
  357.     </hint>
  358.     <hint type="destinationlabel">
  359.      <x>418</x>
  360.      <y>273</y>
  361.     </hint>
  362.    </hints>
  363.   </connection>
  364.   <connection>
  365.    <sender>actionAppointments</sender>
  366.    <signal>triggered()</signal>
  367.    <receiver>MainWindow</receiver>
  368.    <slot>showAppointmentListLayer()</slot>
  369.    <hints>
  370.     <hint type="sourcelabel">
  371.      <x>-1</x>
  372.      <y>-1</y>
  373.     </hint>
  374.     <hint type="destinationlabel">
  375.      <x>418</x>
  376.      <y>273</y>
  377.     </hint>
  378.    </hints>
  379.   </connection>
  380.   <connection>
  381.    <sender>actionPatients</sender>
  382.    <signal>triggered()</signal>
  383.    <receiver>MainWindow</receiver>
  384.    <slot>showPatientListLayer()</slot>
  385.    <hints>
  386.     <hint type="sourcelabel">
  387.      <x>-1</x>
  388.      <y>-1</y>
  389.     </hint>
  390.     <hint type="destinationlabel">
  391.      <x>418</x>
  392.      <y>273</y>
  393.     </hint>
  394.    </hints>
  395.   </connection>
  396.   <connection>
  397.    <sender>action_Connect</sender>
  398.    <signal>triggered()</signal>
  399.    <receiver>MainWindow</receiver>
  400.    <slot>dbConnect()</slot>
  401.    <hints>
  402.     <hint type="sourcelabel">
  403.      <x>-1</x>
  404.      <y>-1</y>
  405.     </hint>
  406.     <hint type="destinationlabel">
  407.      <x>418</x>
  408.      <y>273</y>
  409.     </hint>
  410.    </hints>
  411.   </connection>
  412.   <connection>
  413.    <sender>action_Toolbar</sender>
  414.    <signal>toggled(bool)</signal>
  415.    <receiver>toolBar</receiver>
  416.    <slot>setVisible(bool)</slot>
  417.    <hints>
  418.     <hint type="sourcelabel">
  419.      <x>-1</x>
  420.      <y>-1</y>
  421.     </hint>
  422.     <hint type="destinationlabel">
  423.      <x>418</x>
  424.      <y>41</y>
  425.     </hint>
  426.    </hints>
  427.   </connection>
  428.   <connection>
  429.    <sender>action_Statusbar</sender>
  430.    <signal>toggled(bool)</signal>
  431.    <receiver>statusBar</receiver>
  432.    <slot>setVisible(bool)</slot>
  433.    <hints>
  434.     <hint type="sourcelabel">
  435.      <x>-1</x>
  436.      <y>-1</y>
  437.     </hint>
  438.     <hint type="destinationlabel">
  439.      <x>418</x>
  440.      <y>538</y>
  441.     </hint>
  442.    </hints>
  443.   </connection>
  444.  </connections>
  445.  <slots>
  446.   <slot>about()</slot>
  447.   <slot>newPatient()</slot>
  448.   <slot>settings()</slot>
  449.   <slot>showAppointmentListLayer()</slot>
  450.   <slot>showAppointmentInfoLayer()</slot>
  451.   <slot>showPatientListLayer()</slot>
  452.   <slot>showPatientInfoLayer()</slot>
  453.   <slot>dbConnect()</slot>
  454.   <slot>patientViewActivate(QModelIndex)</slot>
  455.  </slots>
  456. </ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement