~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to ui/CFirstStartWizard.ui

  • Committer: Nathan Osman
  • Date: 2012-06-26 23:07:20 UTC
  • Revision ID: admin@quickmediasolutions.com-20120626230720-uzgqoc5w7lnowgx7
Added wizard to run when NitroShare is first started to guide new users in configuring the application.

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>400</width>
 
10
    <height>300</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="Page1">
 
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="Page2">
 
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="Page3">
 
89
   <property name="title">
 
90
    <string>NitroShare Setup</string>
 
91
   </property>
 
92
   <property name="subTitle">
 
93
    <string>Completing the configuration phase.</string>
 
94
   </property>
 
95
   <attribute name="pageId">
 
96
    <string notr="true">CFirstStartWizard::FinishPage</string>
 
97
   </attribute>
 
98
   <layout class="QVBoxLayout" name="verticalLayout_3">
 
99
    <item>
 
100
     <widget class="QLabel" name="ThankYouLabel">
 
101
      <property name="text">
 
102
       <string>Thank you! NitroShare has collected all of the information that it needs.</string>
 
103
      </property>
 
104
      <property name="wordWrap">
 
105
       <bool>true</bool>
 
106
      </property>
 
107
     </widget>
 
108
    </item>
 
109
    <item>
 
110
     <widget class="QLabel" name="StartLabel">
 
111
      <property name="text">
 
112
       <string>The application will now start.</string>
 
113
      </property>
 
114
     </widget>
 
115
    </item>
 
116
   </layout>
 
117
  </widget>
 
118
 </widget>
 
119
 <resources/>
 
120
 <connections>
 
121
  <connection>
 
122
   <sender>CFirstStartWizard</sender>
 
123
   <signal>accepted()</signal>
 
124
   <receiver>CFirstStartWizard</receiver>
 
125
   <slot>OnFinished()</slot>
 
126
   <hints>
 
127
    <hint type="sourcelabel">
 
128
     <x>199</x>
 
129
     <y>149</y>
 
130
    </hint>
 
131
    <hint type="destinationlabel">
 
132
     <x>199</x>
 
133
     <y>149</y>
 
134
    </hint>
 
135
   </hints>
 
136
  </connection>
 
137
 </connections>
 
138
 <slots>
 
139
  <slot>OnFinished()</slot>
 
140
 </slots>
 
141
</ui>