~mateo-salta/nitroshare/nitroshare

11 by Nathan Osman
Added about dialog.
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>CAboutDialog</class>
4
 <widget class="QDialog" name="CAboutDialog">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>500</width>
10
    <height>200</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>About NitroShare</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <layout class="QHBoxLayout" name="horizontalLayout">
19
     <item>
20
      <widget class="QLabel" name="label">
21
       <property name="text">
22
        <string/>
23
       </property>
24
       <property name="pixmap">
25
        <pixmap resource="../resource/main.qrc">:/images/logo.png</pixmap>
26
       </property>
27
      </widget>
28
     </item>
29
     <item>
30
      <widget class="QLabel" name="label_2">
31
       <property name="sizePolicy">
32
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
33
         <horstretch>0</horstretch>
34
         <verstretch>0</verstretch>
35
        </sizepolicy>
36
       </property>
37
       <property name="text">
38
        <string>&lt;h2&gt;NitroShare&lt;/h2&gt;
39
&lt;i&gt;Copyright 2012 Nathan Osman&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;
40
You should have received a copy of the GNU General Public License along with this program.  If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;</string>
41
       </property>
42
       <property name="alignment">
43
        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
44
       </property>
45
       <property name="wordWrap">
46
        <bool>true</bool>
47
       </property>
48
      </widget>
49
     </item>
50
    </layout>
51
   </item>
52
   <item>
53
    <spacer name="verticalSpacer">
54
     <property name="orientation">
55
      <enum>Qt::Vertical</enum>
56
     </property>
57
     <property name="sizeHint" stdset="0">
58
      <size>
59
       <width>20</width>
60
       <height>40</height>
61
      </size>
62
     </property>
63
    </spacer>
64
   </item>
65
   <item>
66
    <widget class="QDialogButtonBox" name="ButtonBox">
67
     <property name="orientation">
68
      <enum>Qt::Horizontal</enum>
69
     </property>
70
     <property name="standardButtons">
71
      <set>QDialogButtonBox::Ok</set>
72
     </property>
73
    </widget>
74
   </item>
75
  </layout>
76
 </widget>
77
 <resources>
78
  <include location="../resource/main.qrc"/>
79
 </resources>
80
 <connections>
81
  <connection>
82
   <sender>ButtonBox</sender>
83
   <signal>accepted()</signal>
84
   <receiver>CAboutDialog</receiver>
85
   <slot>close()</slot>
86
   <hints>
87
    <hint type="sourcelabel">
88
     <x>248</x>
89
     <y>254</y>
90
    </hint>
91
    <hint type="destinationlabel">
92
     <x>157</x>
93
     <y>274</y>
94
    </hint>
95
   </hints>
96
  </connection>
97
 </connections>
98
</ui>