Changeset 2578 in vbox for trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui.h
- Timestamp:
- May 10, 2007 12:40:16 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui.h
r2392 r2578 157 157 void VBoxNewHDWzd::init() 158 158 { 159 /* Wizard labels recreation */ 160 161 QILabel *txWelcome = new QILabel (pageWelcome, "txWelcome"); 162 txWelcome->setText (tr ("<p>This wizard will help you to create a new " 163 "virtual hard disk image for your virtual " 164 "machine.</p>\n""<p>Use the <b>Next</b> button to " 165 "go to the next page of the wizard\n""and the " 166 "<b>Back</b> button to return to the previous " 167 "page.</p>")); 168 layout33->insertWidget (0, txWelcome); 169 170 QILabel *textLabel1_2 = new QILabel (pageType, "textLabel1_2"); 171 textLabel1_2->setText (tr ("<p>Select the type of virtual hard disk image " 172 "you want to create.</p>\n""<p>A " 173 "<b>dynamically expanding image</b> initially " 174 "occupies a very small amount\n""of space on " 175 "your physical hard disk. It will grow " 176 "dynamically (up to\n""the size specified) as " 177 "the Guest OS claims disk space.</p>\n""<p>A " 178 "<b>fixed-size image</b> does not grow. It is " 179 "stored in a file of approximately\n""the same " 180 "size as the size of the virtual hard " 181 "disk.</p>")); 182 layout12->insertWidget (0, textLabel1_2); 183 184 QILabel *txNameComment = new QILabel (pageNameAndSize, "txNameComment"); 185 txNameComment->setText (tr ("<p>Press the <b>Select</b> button to select " 186 "the location and name of the file\n""to " 187 "store the virtual hard disk image or type a " 188 "file name in the entry field.</p>")); 189 layout36->insertWidget (0, txNameComment); 190 191 QILabel *txSizeComment = new QILabel (pageNameAndSize, "txSizeComment" ); 192 txSizeComment->setText (tr ("<p>Select the size of the virtual hard disk " 193 "image in megabytes. This size will be " 194 "reported to the Guest OS\n""as the size of " 195 "the virtual hard disk.</p>")); 196 layout36->insertWidget (2, txSizeComment); 197 198 QILabel *txSummaryHdr = new QILabel (pageSummary, "txSummaryHdr"); 199 txSummaryHdr->setText (tr ("You are going to create a new virtual hard " 200 "disk image with the following parameters:")); 201 summaryLayout->insertWidget (0, txSummaryHdr); 202 203 QILabel *txSummaryFtr = new QILabel (pageSummary, "txSummaryFtr"); 204 txSummaryFtr->setText (tr ("If the above settings are correct, press the " 205 "<b>Finish</b> button.\n" 206 " Once you press " 207 "it, a new hard disk image will be created.\n" 208 " ")); 209 159 210 /* disable help buttons */ 160 211 helpButton()->setShown (false); … … 221 272 teSummary->setReadOnly (TRUE); 222 273 summaryLayout->insertWidget (1, teSummary); 274 summaryLayout->insertWidget (2, txSummaryFtr); 223 275 224 276 /* filter out Enter keys in order to direct them to the default dlg button */ … … 263 315 /* the finish button on the Summary page is always enabled */ 264 316 setFinishEnabled (pageSummary, true); 265 266 /* setup minimum width for the sizeHint to be calculated correctly */267 int wid = widthSpacer->minimumSize().width();268 txWelcome->setMinimumWidth (wid);269 textLabel1_2->setMinimumWidth (wid);270 txNameComment->setMinimumWidth (wid);271 txSizeComment->setMinimumWidth (wid);272 txSummaryHdr->setMinimumWidth (wid);273 txSummaryFtr->setMinimumWidth (wid);274 317 } 275 318
Note:
See TracChangeset
for help on using the changeset viewer.