~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to ui/CFirstStartWizard.ui

  • Committer: Nathan Osman
  • Date: 2012-06-30 01:18:20 UTC
  • Revision ID: admin@quickmediasolutions.com-20120630011820-c8dz7p16fll1glro
Fixed a couple of bugs with the new broadcast class, added an icon to the wizard, and tweaked things a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<ui version="4.0">
3
 
 <class>CFirstStartWizard</class>
4
 
 <widget class="QWizard" name="CFirstStartWizard">
5
 
  <property name="geometry">
6
 
   <rect>
7
 
    <x>0</x>
8
 
    <y>0</y>
9
 
    <width>500</width>
10
 
    <height>350</height>
11
 
   </rect>
12
 
  </property>
13
 
  <property name="windowTitle">
14
 
   <string>NitroShare Wizard</string>
15
 
  </property>
16
 
  <property name="wizardStyle">
17
 
   <enum>QWizard::AeroStyle</enum>
18
 
  </property>
19
 
  <property name="options">
20
 
   <set>QWizard::NoCancelButton</set>
21
 
  </property>
22
 
  <widget class="QWizardPage" name="WelcomePage">
23
 
   <property name="title">
24
 
    <string>NitroShare Setup</string>
25
 
   </property>
26
 
   <property name="subTitle">
27
 
    <string>Gathering information for initial configuration.</string>
28
 
   </property>
29
 
   <attribute name="pageId">
30
 
    <string notr="true">CFirstStartWizard::WelcomePage</string>
31
 
   </attribute>
32
 
   <layout class="QVBoxLayout" name="verticalLayout">
33
 
    <item>
34
 
     <widget class="QLabel" name="WelcomeLabel">
35
 
      <property name="text">
36
 
       <string>Welcome to NitroShare! To help make it easier to set everything up, NitroShare can guide you through the configuration process.</string>
37
 
      </property>
38
 
      <property name="wordWrap">
39
 
       <bool>true</bool>
40
 
      </property>
41
 
     </widget>
42
 
    </item>
43
 
    <item>
44
 
     <widget class="QRadioButton" name="AutoConfigure">
45
 
      <property name="text">
46
 
       <string>Help me set up NitroShare</string>
47
 
      </property>
48
 
      <property name="checked">
49
 
       <bool>true</bool>
50
 
      </property>
51
 
     </widget>
52
 
    </item>
53
 
    <item>
54
 
     <widget class="QRadioButton" name="ManualConfigure">
55
 
      <property name="text">
56
 
       <string>I will configure NitroShare myself</string>
57
 
      </property>
58
 
     </widget>
59
 
    </item>
60
 
   </layout>
61
 
  </widget>
62
 
  <widget class="QWizardPage" name="MachineNamePage">
63
 
   <property name="title">
64
 
    <string>NitroShare Setup</string>
65
 
   </property>
66
 
   <property name="subTitle">
67
 
    <string>Collecting basic information about the client.</string>
68
 
   </property>
69
 
   <attribute name="pageId">
70
 
    <string notr="true">CFirstStartWizard::MachineNamePage</string>
71
 
   </attribute>
72
 
   <layout class="QVBoxLayout" name="verticalLayout_2">
73
 
    <item>
74
 
     <widget class="QLabel" name="MachineNameLabel">
75
 
      <property name="text">
76
 
       <string>Please enter a name for your machine. This name will be displayed to other machines on the network.</string>
77
 
      </property>
78
 
      <property name="wordWrap">
79
 
       <bool>true</bool>
80
 
      </property>
81
 
     </widget>
82
 
    </item>
83
 
    <item>
84
 
     <widget class="QLineEdit" name="MachineName"/>
85
 
    </item>
86
 
   </layout>
87
 
  </widget>
88
 
  <widget class="QWizardPage" name="BroadcastDiscoveryPage">
89
 
   <property name="title">
90
 
    <string>NitroShare Setup</string>
91
 
   </property>
92
 
   <property name="subTitle">
93
 
    <string>Discovering other machines on the local network.</string>
94
 
   </property>
95
 
   <attribute name="pageId">
96
 
    <string notr="true">CFirstStartWizard::BroadcastDiscoveryPage</string>
97
 
   </attribute>
98
 
   <layout class="QVBoxLayout" name="verticalLayout_4">
99
 
    <item>
100
 
     <widget class="CBroadcastDiscoveryWidget" name="BroadcastDiscovery" native="true"/>
101
 
    </item>
102
 
   </layout>
103
 
  </widget>
104
 
  <widget class="QWizardPage" name="FinishPage">
105
 
   <property name="title">
106
 
    <string>NitroShare Setup</string>
107
 
   </property>
108
 
   <property name="subTitle">
109
 
    <string>Completing the configuration phase.</string>
110
 
   </property>
111
 
   <attribute name="pageId">
112
 
    <string notr="true">CFirstStartWizard::FinishPage</string>
113
 
   </attribute>
114
 
   <layout class="QVBoxLayout" name="verticalLayout_3">
115
 
    <item>
116
 
     <widget class="QLabel" name="ThankYouLabel">
117
 
      <property name="text">
118
 
       <string>Thank you! NitroShare has finished collecting all of the information that it needs to complete the configuration process.</string>
119
 
      </property>
120
 
      <property name="wordWrap">
121
 
       <bool>true</bool>
122
 
      </property>
123
 
     </widget>
124
 
    </item>
125
 
    <item>
126
 
     <widget class="QLabel" name="StartLabel">
127
 
      <property name="text">
128
 
       <string>The application will start after you click &quot;Finish&quot;.</string>
129
 
      </property>
130
 
     </widget>
131
 
    </item>
132
 
   </layout>
133
 
  </widget>
134
 
 </widget>
135
 
 <customwidgets>
136
 
  <customwidget>
137
 
   <class>CBroadcastDiscoveryWidget</class>
138
 
   <extends>QWidget</extends>
139
 
   <header location="global">include/widgets/CBroadcastDiscoveryWidget.h</header>
140
 
   <container>1</container>
141
 
  </customwidget>
142
 
 </customwidgets>
143
 
 <resources/>
144
 
 <connections>
145
 
  <connection>
146
 
   <sender>CFirstStartWizard</sender>
147
 
   <signal>accepted()</signal>
148
 
   <receiver>CFirstStartWizard</receiver>
149
 
   <slot>OnFinished()</slot>
150
 
   <hints>
151
 
    <hint type="sourcelabel">
152
 
     <x>199</x>
153
 
     <y>149</y>
154
 
    </hint>
155
 
    <hint type="destinationlabel">
156
 
     <x>199</x>
157
 
     <y>149</y>
158
 
    </hint>
159
 
   </hints>
160
 
  </connection>
161
 
 </connections>
162
 
 <slots>
163
 
  <slot>OnFinished()</slot>
164
 
 </slots>
165
 
</ui>
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>CFirstStartWizard</class>
 
4
 <widget class="QWizard" name="CFirstStartWizard">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>500</width>
 
10
    <height>350</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>NitroShare Wizard</string>
 
15
  </property>
 
16
  <property name="wizardStyle">
 
17
   <enum>QWizard::ModernStyle</enum>
 
18
  </property>
 
19
  <property name="options">
 
20
   <set>QWizard::NoCancelButton</set>
 
21
  </property>
 
22
  <widget class="QWizardPage" name="WelcomePage">
 
23
   <property name="title">
 
24
    <string>NitroShare Setup</string>
 
25
   </property>
 
26
   <property name="subTitle">
 
27
    <string>Gathering information for initial configuration.</string>
 
28
   </property>
 
29
   <attribute name="pageId">
 
30
    <string notr="true">CFirstStartWizard::WelcomePage</string>
 
31
   </attribute>
 
32
   <layout class="QVBoxLayout" name="verticalLayout">
 
33
    <property name="spacing">
 
34
     <number>12</number>
 
35
    </property>
 
36
    <item>
 
37
     <widget class="QLabel" name="WelcomeLabel">
 
38
      <property name="text">
 
39
       <string>Welcome to NitroShare! To help make it easier to set everything up, NitroShare can guide you through the configuration process.</string>
 
40
      </property>
 
41
      <property name="wordWrap">
 
42
       <bool>true</bool>
 
43
      </property>
 
44
     </widget>
 
45
    </item>
 
46
    <item>
 
47
     <layout class="QVBoxLayout" name="ConfigureLayout">
 
48
      <item>
 
49
       <widget class="QRadioButton" name="AutoConfigure">
 
50
        <property name="text">
 
51
         <string>Help me set up NitroShare</string>
 
52
        </property>
 
53
        <property name="checked">
 
54
         <bool>true</bool>
 
55
        </property>
 
56
       </widget>
 
57
      </item>
 
58
      <item>
 
59
       <widget class="QRadioButton" name="ManualConfigure">
 
60
        <property name="text">
 
61
         <string>I will configure NitroShare myself</string>
 
62
        </property>
 
63
       </widget>
 
64
      </item>
 
65
     </layout>
 
66
    </item>
 
67
   </layout>
 
68
  </widget>
 
69
  <widget class="QWizardPage" name="MachineNamePage">
 
70
   <property name="title">
 
71
    <string>NitroShare Setup</string>
 
72
   </property>
 
73
   <property name="subTitle">
 
74
    <string>Collecting basic information about the client.</string>
 
75
   </property>
 
76
   <attribute name="pageId">
 
77
    <string notr="true">CFirstStartWizard::MachineNamePage</string>
 
78
   </attribute>
 
79
   <layout class="QVBoxLayout" name="verticalLayout_2">
 
80
    <property name="spacing">
 
81
     <number>12</number>
 
82
    </property>
 
83
    <item>
 
84
     <widget class="QLabel" name="MachineNameLabel">
 
85
      <property name="text">
 
86
       <string>Please enter a name for your machine. This name will be displayed to other machines on the network.</string>
 
87
      </property>
 
88
      <property name="wordWrap">
 
89
       <bool>true</bool>
 
90
      </property>
 
91
     </widget>
 
92
    </item>
 
93
    <item>
 
94
     <widget class="QLineEdit" name="MachineName"/>
 
95
    </item>
 
96
   </layout>
 
97
  </widget>
 
98
  <widget class="QWizardPage" name="BroadcastDiscoveryPage">
 
99
   <property name="title">
 
100
    <string>NitroShare Setup</string>
 
101
   </property>
 
102
   <property name="subTitle">
 
103
    <string>Discovering other machines on the local network.</string>
 
104
   </property>
 
105
   <attribute name="pageId">
 
106
    <string notr="true">CFirstStartWizard::BroadcastDiscoveryPage</string>
 
107
   </attribute>
 
108
   <layout class="QVBoxLayout" name="verticalLayout_4">
 
109
    <item>
 
110
     <widget class="CBroadcastDiscoveryWidget" name="BroadcastDiscovery" native="true"/>
 
111
    </item>
 
112
   </layout>
 
113
  </widget>
 
114
  <widget class="QWizardPage" name="FinishPage">
 
115
   <property name="title">
 
116
    <string>NitroShare Setup</string>
 
117
   </property>
 
118
   <property name="subTitle">
 
119
    <string>Completing the configuration phase.</string>
 
120
   </property>
 
121
   <attribute name="pageId">
 
122
    <string notr="true">CFirstStartWizard::FinishPage</string>
 
123
   </attribute>
 
124
   <layout class="QVBoxLayout" name="verticalLayout_3">
 
125
    <property name="spacing">
 
126
     <number>12</number>
 
127
    </property>
 
128
    <item>
 
129
     <widget class="QLabel" name="ThankYouLabel">
 
130
      <property name="text">
 
131
       <string>Thank you! NitroShare has finished collecting all of the information that it needs to complete the configuration process.</string>
 
132
      </property>
 
133
      <property name="wordWrap">
 
134
       <bool>true</bool>
 
135
      </property>
 
136
     </widget>
 
137
    </item>
 
138
    <item>
 
139
     <widget class="QLabel" name="StartLabel">
 
140
      <property name="text">
 
141
       <string>The application will start after you click &quot;Finish&quot;.</string>
 
142
      </property>
 
143
     </widget>
 
144
    </item>
 
145
   </layout>
 
146
  </widget>
 
147
 </widget>
 
148
 <customwidgets>
 
149
  <customwidget>
 
150
   <class>CBroadcastDiscoveryWidget</class>
 
151
   <extends>QWidget</extends>
 
152
   <header location="global">include/widgets/CBroadcastDiscoveryWidget.h</header>
 
153
   <container>1</container>
 
154
  </customwidget>
 
155
 </customwidgets>
 
156
 <resources/>
 
157
 <connections>
 
158
  <connection>
 
159
   <sender>CFirstStartWizard</sender>
 
160
   <signal>accepted()</signal>
 
161
   <receiver>CFirstStartWizard</receiver>
 
162
   <slot>OnFinished()</slot>
 
163
   <hints>
 
164
    <hint type="sourcelabel">
 
165
     <x>199</x>
 
166
     <y>149</y>
 
167
    </hint>
 
168
    <hint type="destinationlabel">
 
169
     <x>199</x>
 
170
     <y>149</y>
 
171
    </hint>
 
172
   </hints>
 
173
  </connection>
 
174
 </connections>
 
175
 <slots>
 
176
  <slot>OnFinished()</slot>
 
177
 </slots>
 
178
</ui>