Changeset 40147 in vbox
- Timestamp:
- Feb 16, 2012 11:25:30 AM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r40146 r40147 184 184 /* Decorate page */ 185 185 Ui::UINewVMWzdPage1::setupUi(this); 186 187 /* Register 'message-box-warning-icon' image in m_pPage1Text1 as 'image': */ 188 m_pPage1Text1->registerImage(UIIconPool::defaultIcon(UIIconPool::MessageBoxWarningIcon).pixmap(256, 256).toImage(), "image"); 189 190 /* Prepare table template: */ 191 QString strTable("<table cellspacing=0 cellpadding=0>%1</table>"); 192 QString strTableRow("<tr>%1</tr>"); 193 QString strTableData("<td>%1</td>"); 194 QString strTableDataCentered("<td valign=middle>%1</td>"); 195 QString strImage("<img src=\"image\"/>"); 196 QString strSpacing(" "); 197 QString strTableDataImage(strTableDataCentered.arg(strImage)); 198 QString strTableDataSpacing(strTableData.arg(strSpacing)); 199 m_strTableTemplate = strTable.arg(strTableRow.arg(strTableDataImage + strTableDataSpacing + strTableData)); 186 200 } 187 201 … … 194 208 setTitle(tr("Welcome to the New Virtual Machine Wizard!")); 195 209 196 m_pPage1Text1->setText(tr("<p>This wizard will guide you through the steps that are necessary " 210 m_pPage1Text1->setText(m_strTableTemplate.arg("<b>STOP!</b> Before continuing, please understand what you are doing. " 211 "Computer system virtualization involves complex concepts, " 212 "which no user interface can hide. Please make sure that you have read " 213 "the first section of the user manual before continuing " 214 "or seeking out online assistance!")); 215 216 m_pPage1Text2->setText(tr("<p>This wizard will guide you through the steps that are necessary " 197 217 "to create a new virtual machine for VirtualBox.</p><p>%1</p>") 198 218 .arg(standardHelpText())); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.h
r34740 r40147 61 61 62 62 void initializePage(); 63 64 private: 65 66 QString m_strTableTemplate; 63 67 }; 64 68 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage1.ui
r40142 r40147 29 29 </item> 30 30 <item> 31 <widget class="QIRichTextLabel" name="m_pPage1Text2"/> 32 </item> 33 <item> 31 34 <spacer name="m_pSpacer"> 32 35 <property name="orientation" >
Note:
See TracChangeset
for help on using the changeset viewer.