- Timestamp:
- Feb 16, 2012 9:42:38 AM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.cpp
r40043 r40142 28 28 : QWidget(pParent) 29 29 , m_pTextEdit(new QTextEdit(this)) 30 , m_iMinimumTextWidth(0) 30 31 { 32 /* Setup self: */ 33 setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); 31 34 /* Setup text-edit: */ 32 35 m_pTextEdit->setReadOnly(true); 36 m_pTextEdit->setFocusPolicy(Qt::NoFocus); 33 37 m_pTextEdit->setFrameShape(QFrame::NoFrame); 34 38 m_pTextEdit->viewport()->setAutoFillBackground(false); … … 41 45 } 42 46 47 /* Text getter: */ 48 QString QIRichTextLabel::text() const 49 { 50 return m_pTextEdit->toHtml(); 51 } 52 43 53 /* Minimum text-width setter: */ 44 54 void QIRichTextLabel::setMinimumTextWidth(int iMinimumTextWidth) 45 55 { 56 /* Remember minimum text width: */ 57 m_iMinimumTextWidth = iMinimumTextWidth; 58 46 59 /* Get corresponding QTextDocument: */ 47 60 QTextDocument *pTextDocument = m_pTextEdit->document(); 48 61 /* Bug in QTextDocument (?) : setTextWidth doesn't work from the first time. */ 49 for (int iTry = 0; pTextDocument->textWidth() != iMinimumTextWidth && iTry < 3; ++iTry) 50 pTextDocument->setTextWidth(iMinimumTextWidth); 62 for (int iTry = 0; pTextDocument->textWidth() != m_iMinimumTextWidth && iTry < 3; ++iTry) 63 pTextDocument->setTextWidth(m_iMinimumTextWidth); 64 /* Get corresponding QTextDocument size: */ 65 QSize size = pTextDocument->size().toSize(); 66 67 /* Resize to content size: */ 68 m_pTextEdit->setMinimumSize(size); 69 layout()->activate(); 51 70 } 52 71 … … 55 74 { 56 75 /* Set text: */ 57 m_pTextEdit->setText(strText); 76 m_pTextEdit->setHtml(strText); 77 58 78 /* Get corresponding QTextDocument: */ 59 79 QTextDocument *pTextDocument = m_pTextEdit->document(); 80 /* Adjust text-edit size: */ 81 pTextDocument->adjustSize(); 60 82 /* Get corresponding QTextDocument size: */ 61 83 QSize size = pTextDocument->size().toSize(); 62 /* Check if current size is valid, otherwise adjust it: */ 63 if (!size.isValid()) 64 { 65 pTextDocument->adjustSize(); 66 size = pTextDocument->size().toSize(); 67 } 68 /* Resize to content size: */ 69 m_pTextEdit->setMinimumSize(size); 84 85 /* Set minimum text width to corresponding value: */ 86 setMinimumTextWidth(m_iMinimumTextWidth == 0 ? size.width() : m_iMinimumTextWidth); 70 87 } 71 88 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.h
r40043 r40142 28 28 { 29 29 Q_OBJECT; 30 Q_PROPERTY(QString text READ text WRITE setText); 30 31 31 32 public: … … 33 34 /* Constructor: */ 34 35 QIRichTextLabel(QWidget *pParent = 0); 36 37 /* Text getter: */ 38 QString text() const; 35 39 36 40 public slots: … … 46 50 /* QTextEdit private member: */ 47 51 QTextEdit *m_pTextEdit; 52 53 /* Minimum text-width: */ 54 int m_iMinimumTextWidth; 48 55 }; 49 56 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.cpp
r40044 r40142 7 7 8 8 /* 9 * Copyright (C) 2009-201 0Oracle Corporation9 * Copyright (C) 2009-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 18 18 */ 19 19 20 /* Global includes */20 /* Global includes: */ 21 21 #include <QAbstractButton> 22 22 #include <QLayout> 23 #include < QTextEdit>24 25 /* Local includes */23 #include <qmath.h> 24 25 /* Local includes: */ 26 26 #include "QIWizard.h" 27 #include "QILabel.h"28 27 #include "VBoxGlobal.h" 29 30 /* System includes */ 31 #include <math.h> 28 #include "QIRichTextLabel.h" 32 29 33 30 QIWizard::QIWizard(QWidget *pParent) 34 31 : QIWithRetranslateUI<QWizard>(pParent) 35 , m_iMinimumContentWidth(0)36 32 { 37 33 #ifdef Q_WS_MAC … … 42 38 } 43 39 40 int QIWizard::addPage(QIWizardPage *pPage) 41 { 42 /* Configure page first: */ 43 configurePage(pPage); 44 45 /* Add page finally: */ 46 return QWizard::addPage(pPage); 47 } 48 49 void QIWizard::setPage(int iId, QIWizardPage *pPage) 50 { 51 /* Configure page first: */ 52 configurePage(pPage); 53 54 /* Add page finally: */ 55 QWizard::setPage(iId, pPage); 56 } 57 58 void QIWizard::retranslateAllPages() 59 { 60 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 61 for(int i = 0; i < pages.size(); ++i) 62 qobject_cast<QIWizardPage*>(pages.at((i)))->retranslate(); 63 } 64 44 65 void QIWizard::resizeToGoldenRatio() 45 66 { 46 /* Random initial QILabel width() to be adjusted! */ 47 int iLabelsWidth = 400; 48 resizeAccordingLabelWidth(iLabelsWidth); 49 50 /* Label delta for 'golden ratio' calculation. */ 51 int iLabelDelta = width() - iLabelsWidth; 52 53 /* Calculating nearest 'golden ratio' width. */ 54 int iGoldRatioWidth = (int)sqrt(1.61 * width() * height()); 55 int iNewLabelWidth = iGoldRatioWidth - iLabelDelta; 67 /* Use some small (!) initial QIRichTextLabel width: */ 68 int iInitialLabelWidth = 200; 69 70 /* Resize wizard according that initial width, 71 * actually there could be other content 72 * which wants to be wider than that initial width. */ 73 resizeAccordingLabelWidth(iInitialLabelWidth); 74 75 /* Get all the pages: */ 76 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 77 /* Get some (first) of those pages: */ 78 QIWizardPage *pSomePage = pages[0]; 79 80 /* Calculate actual label width: */ 81 int iPageWidth = pSomePage->width(); 82 int iLeft, iTop, iRight, iBottom; 83 pSomePage->layout()->getContentsMargins(&iLeft, &iTop, &iRight, &iBottom); 84 int iCurrentLabelWidth = iPageWidth - iLeft - iRight; 85 86 /* Calculate summary margin length, including margins of the page and wizard: */ 87 int iMarginsLength = width() - iCurrentLabelWidth; 88 89 /* Calculating nearest to 'golden ratio' label width: */ 90 int iCurrentWizardWidth = width(); 91 int iCurrentWizardHeight = height(); 92 #ifndef Q_WS_MAC 93 /* We should take into account watermar thought its not assigned yet: */ 94 QPixmap watermarkPixmap(m_strWatermarkName); 95 int iWatermarkWidth = watermarkPixmap.width(); 96 iCurrentWizardWidth += iWatermarkWidth; 97 #endif /* !Q_WS_MAC */ 98 int iGoldenRatioWidth = (int)qSqrt((float)1.6 * iCurrentWizardWidth * iCurrentWizardHeight); 99 int iProposedLabelWidth = iGoldenRatioWidth - iMarginsLength; 100 #ifndef Q_WS_MAC 101 /* We should take into account watermar thought its not assigned yet: */ 102 iProposedLabelWidth -= iWatermarkWidth; 103 #endif /* !Q_WS_MAC */ 104 105 /* Choose maximum between current and proposed label width: */ 106 int iNewLabelWidth = qMax(iCurrentLabelWidth, iProposedLabelWidth); 107 108 /* Finally resize wizard according new label width, 109 * taking into account all the content and 'golden ratio' rule: */ 56 110 resizeAccordingLabelWidth(iNewLabelWidth); 57 m_iMinimumContentWidth = iNewLabelWidth; 58 } 59 111 112 #ifndef Q_WS_MAC 113 /* Really assign watermark: */ 114 if (!m_strWatermarkName.isEmpty()) 115 assignWatermarkHelper(); 116 #endif /* !Q_WS_MAC */ 117 } 118 119 #ifndef Q_WS_MAC 60 120 void QIWizard::assignWatermark(const QString &strWatermark) 61 121 { 62 /* Create initial watermark. */ 63 QPixmap pixWaterMark(strWatermark); 64 122 if (wizardStyle() != QWizard::AeroStyle) 123 m_strWatermarkName = strWatermark; 124 } 125 #else 126 void QIWizard::assignBackground(const QString &strBackground) 127 { 128 setPixmap(QWizard::BackgroundPixmap, strBackground); 129 } 130 #endif 131 132 void QIWizard::configurePage(QIWizardPage *pPage) 133 { 134 /* Page margins: */ 135 switch (wizardStyle()) 136 { 137 case QWizard::ClassicStyle: 138 { 139 int iLeft, iTop, iRight, iBottom; 140 pPage->layout()->getContentsMargins(&iLeft, &iTop, &iRight, &iBottom); 141 pPage->layout()->setContentsMargins(iLeft, iTop, 0, 0); 142 break; 143 } 144 default: 145 break; 146 } 147 } 148 149 void QIWizard::resizeAccordingLabelWidth(int iLabelsWidth) 150 { 151 /* Unfortunately QWizard hides some of useful API in private part, 152 * and also have few layouting bugs which could be easy fixed 153 * by that API, so we will use QWizard::restart() method 154 * to call the same functionality indirectly... 155 * Early call restart() which is usually goes on show()! */ 156 restart(); 157 158 /* Update QIRichTextLabel(s) text-width(s): */ 159 QList<QIRichTextLabel*> labels = findChildren<QIRichTextLabel*>(); 160 foreach (QIRichTextLabel *pLabel, labels) 161 pLabel->setMinimumTextWidth(iLabelsWidth); 162 163 /* Now we have correct label size-hint(s) for all the pages. 164 * We have to make sure all the pages uses maximum available size-hint. */ 165 QSize maxOfSizeHints; 166 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 167 /* Search for the maximum available size-hint: */ 168 foreach (QIWizardPage *pPage, pages) 169 { 170 maxOfSizeHints.rwidth() = pPage->sizeHint().width() > maxOfSizeHints.width() ? 171 pPage->sizeHint().width() : maxOfSizeHints.width(); 172 maxOfSizeHints.rheight() = pPage->sizeHint().height() > maxOfSizeHints.height() ? 173 pPage->sizeHint().height() : maxOfSizeHints.height(); 174 } 175 /* Use that size-hint for all the pages: */ 176 foreach (QIWizardPage *pPage, pages) 177 pPage->setMinimumSize(maxOfSizeHints); 178 179 /* Relayout widgets: */ 180 QList<QLayout*> layouts = findChildren<QLayout*>(); 181 foreach(QLayout *pLayout, layouts) 182 pLayout->activate(); 183 184 /* Unfortunately QWizard hides some of useful API in private part, 185 * BUT it also have few layouting bugs which could be easy fixed 186 * by that API, so we will use QWizard::restart() method 187 * to call the same functionality indirectly... 188 * And now we call restart() after layout activation procedure! */ 189 restart(); 190 191 /* Resize it to minimum size: */ 192 resize(QSize(0, 0)); 193 } 194 195 #ifndef Q_WS_MAC 196 int QIWizard::proposedWatermarkHeight() 197 { 198 /* We should calculate suitable height for watermark pixmap, 199 * for that we have to take into account: 200 * 1. wizard-layout top-margin (for modern style), 201 * 2. wizard-header height, 202 * 3. margin between wizard-header and wizard-page, 203 * 4. wizard-page height, 204 * 5. wizard-layout bottom-margin (for modern style). */ 205 206 /* Get current application style: */ 207 QStyle *pStyle = QApplication::style(); 208 209 /* Acquire wizard-layout top-margin: */ 210 int iTopMargin = 0; 211 if (wizardStyle() == QWizard::ModernStyle) 212 iTopMargin = pStyle->pixelMetric(QStyle::PM_LayoutTopMargin); 213 214 /* We have no direct access to QWizardHeader inside QWizard private data... 215 * From Qt sources it seems title font is hardcoded as current font point-size + 4: */ 216 QFont titleFont(QApplication::font()); 217 titleFont.setPointSize(titleFont.pointSize() + 4); 218 QFontMetrics titleFontMetrics(titleFont); 219 int iTitleHeight = titleFontMetrics.height(); 220 221 /* We have no direct access to margin between QWizardHeader and wizard-pages... 222 * From Qt sources it seems its hardcoded as just 7 pixels: */ 223 int iMarginBetweenTitleAndPage = 7; 224 225 /* Also we should get any page height: */ 226 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 227 int iPageHeight = pages[0]->height(); 228 229 /* Acquire wizard-layout bottom-margin: */ 230 int iBottomMargin = 0; 231 if (wizardStyle() == QWizard::ModernStyle) 232 iBottomMargin = pStyle->pixelMetric(QStyle::PM_LayoutBottomMargin); 233 234 /* Finally, calculate summary height: */ 235 return iTopMargin + iTitleHeight + iMarginBetweenTitleAndPage + iPageHeight + iBottomMargin; 236 } 237 238 void QIWizard::assignWatermarkHelper() 239 { 240 /* Create initial watermark: */ 241 QPixmap pixWaterMark(m_strWatermarkName); 65 242 /* Convert watermark to image which 66 * allows to manage pixel data directly .*/243 * allows to manage pixel data directly: */ 67 244 QImage imgWatermark = pixWaterMark.toImage(); 68 69 /* Use the right-top watermark pixel as frame color */ 245 /* Use the right-top watermark pixel as frame color: */ 70 246 QRgb rgbFrame = imgWatermark.pixel(imgWatermark.width() - 1, 0); 71 72 /* Take into account button's height */ 73 int iPageHeight = height() - button(QWizard::CancelButton)->height(); 74 75 /* Create final image on the basis of incoming, applying the rules. */ 76 QImage imgWatermarkNew(imgWatermark.width(), qMax(imgWatermark.height(), iPageHeight), imgWatermark.format()); 247 /* Create final image on the basis of incoming, applying the rules: */ 248 QImage imgWatermarkNew(imgWatermark.width(), qMax(imgWatermark.height(), proposedWatermarkHeight()), imgWatermark.format()); 77 249 for (int y = 0; y < imgWatermarkNew.height(); ++ y) 78 250 { … … 100 272 } 101 273 } 102 103 274 /* Convert processed image to pixmap and assign it to wizard's watermark. */ 104 275 QPixmap pixWatermarkNew = QPixmap::fromImage(imgWatermarkNew); 105 276 setPixmap(QWizard::WatermarkPixmap, pixWatermarkNew); 106 277 } 107 108 void QIWizard::assignBackground(const QString &strBg) 109 { 110 setPixmap(QWizard::BackgroundPixmap, strBg); 111 } 112 113 void QIWizard::resizeAccordingLabelWidth(int iLabelsWidth) 114 { 115 /* Update QILabels size-hints */ 116 QList<QILabel*> labels = findChildren<QILabel*>(); 117 foreach (QILabel *pLabel, labels) 118 { 119 pLabel->useSizeHintForWidth(iLabelsWidth); 120 pLabel->updateGeometry(); 121 } 122 123 /* Unfortunately QWizard hides some of useful API in private part, 124 * BUT it also have few layouting bugs which could be easy fixed 125 * by that API, so we will use QWizard::restart() method 126 * to call the same functionality indirectly... 127 * Early call restart() which is usually goes on show()! */ 128 restart(); 129 130 /* Now we have correct size-hints calculated for all the pages. 131 * We have to make sure all the pages uses maximum size-hint 132 * of all the available. */ 133 QSize maxOfSizeHints; 134 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 135 /* Search for the maximum available size-hint */ 136 foreach (QIWizardPage *pPage, pages) 137 { 138 maxOfSizeHints.rwidth() = pPage->sizeHint().width() > maxOfSizeHints.width() ? 139 pPage->sizeHint().width() : maxOfSizeHints.width(); 140 maxOfSizeHints.rheight() = pPage->sizeHint().height() > maxOfSizeHints.height() ? 141 pPage->sizeHint().height() : maxOfSizeHints.height(); 142 } 143 /* Use that size-hint for all the pages */ 144 foreach (QIWizardPage *pPage, pages) 145 { 146 pPage->setMinimumSizeHint(maxOfSizeHints); 147 pPage->updateGeometry(); 148 } 149 150 /* Reactivate layouts tree */ 151 QList<QLayout*> layouts = findChildren<QLayout*>(); 152 foreach (QLayout *pLayout, layouts) 153 pLayout->activate(); 154 155 /* Unfortunately QWizard hides some of useful API in private part, 156 * BUT it also have few layouting bugs which could be easy fixed 157 * by that API, so we will use QWizard::restart() method 158 * to call the same functionality indirectly... 159 * And now we call restart() after layout update procedure! */ 160 restart(); 161 162 /* Resize to minimum possible size */ 163 resize(minimumSizeHint()); 164 } 165 166 void QIWizard::retranslateAllPages() 167 { 168 QList<QIWizardPage*> pages = findChildren<QIWizardPage*>(); 169 for(int i=0; i < pages.size(); ++i) 170 static_cast<QIWizardPage*>(pages.at((i)))->retranslateUi(); 171 } 278 #endif /* !Q_WS_MAC */ 172 279 173 280 QIWizardPage::QIWizardPage() … … 175 282 } 176 283 177 QSize QIWizardPage::minimumSizeHint() const 178 { 179 return m_MinimumSizeHint.isValid() ? m_MinimumSizeHint : QWizardPage::minimumSizeHint(); 180 } 181 182 void QIWizardPage::setMinimumSizeHint(const QSize &minimumSizeHint) 183 { 184 m_MinimumSizeHint = minimumSizeHint; 284 QIWizard* QIWizardPage::wizard() const 285 { 286 return qobject_cast<QIWizard*>(QWizardPage::wizard()); 185 287 } 186 288 … … 212 314 } 213 315 214 QIWizard* QIWizardPage::wizard() const215 {216 return qobject_cast<QIWizard*>(QWizardPage::wizard());217 }218 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.h
r40044 r40142 6 6 7 7 /* 8 * Copyright (C) 2009-201 0Oracle Corporation8 * Copyright (C) 2009-2012 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 20 20 #define __QIWizard_h__ 21 21 22 /* Global includes */22 /* Global includes: */ 23 23 #include <QWizard> 24 24 25 /* Local includes */25 /* Local includes: */ 26 26 #include "QIWithRetranslateUI.h" 27 27 28 /* Global forwards*/29 class Q TextEdit;28 /* Forward declarations: */ 29 class QIWizardPage; 30 30 31 /* QWizard class reimplementation with extended funtionality. */ 31 32 class QIWizard : public QIWithRetranslateUI<QWizard> 32 33 { … … 35 36 public: 36 37 38 /* Constructor: */ 37 39 QIWizard(QWidget *pParent); 38 39 int minimumContentWidth() const { return m_iMinimumContentWidth; }40 40 41 41 protected: 42 42 43 /* Page related methods: */ 44 int addPage(QIWizardPage *pPage); 45 void setPage(int iId, QIWizardPage *pPage); 46 47 /* Translation stuff: */ 48 void retranslateAllPages(); 49 50 /* Adjusting stuff: */ 43 51 void resizeToGoldenRatio(); 52 53 /* Design stuff: */ 54 #ifndef Q_WS_MAC 44 55 void assignWatermark(const QString &strWaterMark); 45 void assignBackground(const QString &strBg); 46 47 void retranslateAllPages(); 56 #else 57 void assignBackground(const QString &strBackground); 58 #endif 48 59 49 60 private: 50 61 62 /* Helpers: */ 63 void configurePage(QIWizardPage *pPage); 51 64 void resizeAccordingLabelWidth(int iLabelWidth); 52 53 int m_iMinimumContentWidth; 65 #ifndef Q_WS_MAC 66 int proposedWatermarkHeight(); 67 void assignWatermarkHelper(); 68 QString m_strWatermarkName; 69 #endif /* !Q_WS_MAC */ 54 70 }; 55 71 72 /* QWizardPage class reimplementation with extended funtionality. */ 56 73 class QIWizardPage : public QIWithRetranslateUI<QWizardPage> 57 74 { 58 75 Q_OBJECT; 59 76 60 friend class QIWizard;61 62 77 public: 63 78 79 /* Constructor: */ 64 80 QIWizardPage(); 65 81 66 QSize minimumSizeHint() const;67 void setMinimumSizeHint(const QSize &minimumSizeHint);82 /* Translation stuff: */ 83 void retranslate() { retranslateUi(); } 68 84 69 85 protected: 70 86 87 /* Helpers: */ 88 QIWizard* wizard() const; 71 89 QString standardHelpText() const; 72 73 90 void startProcessing(); 74 91 void endProcessing(); 75 76 QIWizard* wizard() const;77 78 private:79 80 QSize m_MinimumSizeHint;81 92 }; 82 93 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizard.cpp
r39096 r40142 7 7 8 8 /* 9 * Copyright (C) 2011 Oracle Corporation9 * Copyright (C) 2011-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 51 51 retranslateAllPages(); 52 52 53 /* Resize wizard to 'golden ratio': */ 54 resizeToGoldenRatio();55 56 # ifdef Q_WS_MAC53 #ifndef Q_WS_MAC 54 /* Assign watermark: */ 55 assignWatermark(":/vmw_clone.png"); 56 #else /* Q_WS_MAC */ 57 57 setMinimumSize(QSize(600, 400)); 58 58 /* Assign background image: */ 59 59 assignBackground(":/vmw_clone_bg.png"); 60 #else /* Q_WS_MAC */61 /* Assign watermark: */62 assignWatermark(":/vmw_clone.png");63 60 #endif /* Q_WS_MAC */ 61 62 /* Resize wizard to 'golden ratio': */ 63 resizeToGoldenRatio(); 64 64 } 65 65 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizardPage1.ui
r38189 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2011 Oracle Corporation6 Copyright (C) 2011-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="verticalLayout"> 33 27 <item> 34 <widget class="QI Label" name="m_pLabel">28 <widget class="QIRichTextLabel" name="m_pLabel"> 35 29 <property name="text"> 36 30 <string><p>This wizard will help you to create a clone of your virtual machine.</p></string> 37 </property>38 <property name="wordWrap">39 <bool>true</bool>40 31 </property> 41 32 </widget> 42 33 </item> 43 34 <item> 44 <widget class="QI Label" name="m_pLabel2">35 <widget class="QIRichTextLabel" name="m_pLabel2"> 45 36 <property name="text"> 46 37 <string><p>Please choose a name for the new virtual machine:</p></string> 47 </property>48 <property name="wordWrap">49 <bool>true</bool>50 38 </property> 51 39 </widget> … … 65 53 </item> 66 54 <item> 67 <spacer name=" verticalSpacer">55 <spacer name="m_pSpacer"> 68 56 <property name="orientation"> 69 57 <enum>Qt::Vertical</enum> 70 58 </property> 71 <property name="sizeHint" stdset="0">59 <property name="sizeHint"> 72 60 <size> 73 <width> 1</width>74 <height> 1</height>61 <width>0</width> 62 <height>0</height> 75 63 </size> 76 64 </property> … … 81 69 <customwidgets> 82 70 <customwidget> 83 <class>QI Label</class>84 <extends>Q Label</extends>85 <header>QI Label.h</header>71 <class>QIRichTextLabel</class> 72 <extends>QWidget</extends> 73 <header>QIRichTextLabel.h</header> 86 74 </customwidget> 87 75 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizardPage2.ui
r38241 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2011 Oracle Corporation6 Copyright (C) 2011-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="verticalLayout"> 33 27 <item> 34 <widget class="QILabel" name="m_pLabel"> 35 <property name="text"> 36 <string></string> 37 </property> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel"/> 42 29 </item> 43 30 <item> … … 63 50 <enum>Qt::Vertical</enum> 64 51 </property> 65 <property name="sizeHint" stdset="0">52 <property name="sizeHint"> 66 53 <size> 67 54 <width>0</width> … … 75 62 <customwidgets> 76 63 <customwidget> 77 <class>QI Label</class>78 <extends>Q Label</extends>79 <header>QI Label.h</header>64 <class>QIRichTextLabel</class> 65 <extends>QWidget</extends> 66 <header>QIRichTextLabel.h</header> 80 67 </customwidget> 81 68 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizardPage3.ui
r38102 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2011 Oracle Corporation6 Copyright (C) 2011-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="verticalLayout"> 33 27 <item> 34 <widget class="QILabel" name="m_pLabel"> 35 <property name="text"> 36 <string></string> 37 </property> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel"/> 42 29 </item> 43 30 <item> … … 70 57 <enum>Qt::Vertical</enum> 71 58 </property> 72 <property name="sizeHint" stdset="0">59 <property name="sizeHint"> 73 60 <size> 74 61 <width>0</width> … … 82 69 <customwidgets> 83 70 <customwidget> 84 <class>QI Label</class>85 <extends>Q Label</extends>86 <header>QI Label.h</header>71 <class>QIRichTextLabel</class> 72 <extends>QWidget</extends> 73 <header>QIRichTextLabel.h</header> 87 74 </customwidget> 88 75 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzd.cpp
r39096 r40142 7 7 8 8 /* 9 * Copyright (C) 2009-201 0Oracle Corporation9 * Copyright (C) 2009-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 68 68 retranslateAllPages(); 69 69 70 #ifndef Q_WS_MAC 71 /* Assign watermark */ 72 assignWatermark(":/vmw_ovf_export.png"); 73 #else /* Q_WS_MAC */ 74 /* Assign background image */ 75 assignBackground(":/vmw_ovf_export_bg.png"); 76 #endif /* Q_WS_MAC */ 77 70 78 /* Resize to 'golden ratio' */ 71 79 resizeToGoldenRatio(); 72 73 #ifdef Q_WS_MAC74 /* Assign background image */75 assignBackground(":/vmw_ovf_export_bg.png");76 #else /* Q_WS_MAC */77 /* Assign watermark */78 assignWatermark(":/vmw_ovf_export.png");79 #endif /* Q_WS_MAC */80 80 81 81 /* Setup connections */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzdPage1.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pPage1Text1"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pPage1Text1"/> 42 29 </item> 43 30 <item> … … 48 35 <customwidgets> 49 36 <customwidget> 50 <class>QI Label</class>51 <extends>Q Label</extends>52 <header>QI Label.h</header>37 <class>QIRichTextLabel</class> 38 <extends>QWidget</extends> 39 <header>QIRichTextLabel.h</header> 53 40 </customwidget> 54 41 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzdPage2.ui
r33417 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QI Label" name="m_pPage3Text1">28 <widget class="QIRichTextLabel" name="m_pPage3Text1"> 38 29 <property name="text"> 39 30 <string>Please specify the target for the OVF export. You can choose between a local file system export, uploading the OVF to the Sun Cloud service or an S3 storage server.</string> 40 </property>41 <property name="wordWrap">42 <bool>true</bool>43 31 </property> 44 32 </widget> … … 66 54 </item> 67 55 <item> 68 <spacer name="m_pSpacer 1">56 <spacer name="m_pSpacer"> 69 57 <property name="orientation"> 70 58 <enum>Qt::Vertical</enum> 71 59 </property> 72 <property name="sizeHint" stdset="0">60 <property name="sizeHint"> 73 61 <size> 74 62 <width>0</width> 75 <height> 252</height>63 <height>0</height> 76 64 </size> 77 65 </property> … … 82 70 <customwidgets> 83 71 <customwidget> 84 <class>QI Label</class>85 <extends>Q Label</extends>86 <header>QI Label.h</header>72 <class>QIRichTextLabel</class> 73 <extends>QWidget</extends> 74 <header>QIRichTextLabel.h</header> 87 75 </customwidget> 88 76 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzdPage3.ui
r33656 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="verticalLayout"> 33 27 <item> 34 <widget class="QILabel" name="m_pPage4Text1"> 35 <property name="wordWrap"> 36 <bool>true</bool> 37 </property> 38 </widget> 28 <widget class="QIRichTextLabel" name="m_pPage4Text1"/> 39 29 </item> 40 30 <item> … … 147 137 </item> 148 138 <item> 149 <spacer name="m_pSpacer 1">139 <spacer name="m_pSpacer"> 150 140 <property name="orientation"> 151 141 <enum>Qt::Vertical</enum> 152 142 </property> 153 <property name="sizeHint" stdset="0">143 <property name="sizeHint"> 154 144 <size> 155 <width> 579</width>156 <height> 144</height>145 <width>0</width> 146 <height>0</height> 157 147 </size> 158 148 </property> … … 163 153 <customwidgets> 164 154 <customwidget> 165 <class>QI Label</class>166 <extends>Q Label</extends>167 <header>QI Label.h</header>155 <class>QIRichTextLabel</class> 156 <extends>QWidget</extends> 157 <header>QIRichTextLabel.h</header> 168 158 </customwidget> 169 159 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzdPage4.ui
r38410 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QI Label" name="m_pPage2Text1">28 <widget class="QIRichTextLabel" name="m_pPage2Text1"> 38 29 <property name="text"> 39 30 <string>Here you can change additional configuration values of the selected virtual machines. You can modify most of the properties shown by double-clicking on the items.</string> 40 </property>41 <property name="wordWrap">42 <bool>true</bool>43 31 </property> 44 32 </widget> … … 58 46 <customwidgets> 59 47 <customwidget> 60 <class>QI Label</class>61 <extends>Q Label</extends>62 <header>QI Label.h</header>48 <class>QIRichTextLabel</class> 49 <extends>QWidget</extends> 50 <header>QIRichTextLabel.h</header> 63 51 </customwidget> 64 52 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIFirstRunWzd.cpp
r40044 r40142 7 7 8 8 /* 9 * Copyright (C) 2008-201 1Oracle Corporation9 * Copyright (C) 2008-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 49 49 retranslateAllPages(); 50 50 51 #ifndef Q_WS_MAC 52 /* Assign watermark */ 53 assignWatermark(":/vmw_first_run.png"); 54 #else /* Q_WS_MAC */ 55 /* Assign background image */ 56 assignBackground(":/vmw_first_run_bg.png"); 57 #endif /* Q_WS_MAC */ 58 51 59 /* Resize to 'golden ratio' */ 52 60 resizeToGoldenRatio(); 53 54 #ifdef Q_WS_MAC55 /* Assign background image */56 assignBackground(":/vmw_first_run_bg.png");57 #else /* Q_WS_MAC */58 /* Assign watermark */59 assignWatermark(":/vmw_first_run.png");60 #endif /* Q_WS_MAC */61 61 } 62 62 … … 281 281 ; 282 282 283 m_pSummaryText->setMinimumTextWidth(wizard()->minimumContentWidth());284 283 m_pSummaryText->setText("<table cellspacing=0 cellpadding=0>" + summary + "</table>"); 285 284 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIFirstRunWzdPage1.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pPage1Text1Var1"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pPage1Text1Var1"/> 42 29 </item> 43 30 <item> 44 <widget class="QILabel" name="m_pPage1Text1Var2"> 45 <property name="wordWrap"> 46 <bool>true</bool> 47 </property> 48 </widget> 31 <widget class="QIRichTextLabel" name="m_pPage1Text1Var2"/> 49 32 </item> 50 33 <item> 51 <spacer name="m_pSpacer1"> 52 <property name="sizeHint" stdset="0"> 34 <spacer name="m_pSpacer"> 35 <property name="orientation"> 36 <enum>Qt::Vertical</enum> 37 </property> 38 <property name="sizeHint"> 53 39 <size> 54 40 <width>0</width> … … 62 48 <customwidgets> 63 49 <customwidget> 64 <class>QI Label</class>65 <extends>Q Label</extends>66 <header>QI Label.h</header>50 <class>QIRichTextLabel</class> 51 <extends>QWidget</extends> 52 <header>QIRichTextLabel.h</header> 67 53 </customwidget> 68 54 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIFirstRunWzdPage2.ui
r34548 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin">34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QI Label" name="m_pPage2Text1Var1">28 <widget class="QIRichTextLabel" name="m_pPage2Text1Var1"> 38 29 <property name="text"> 39 30 <string><p>Select the media which contains the setup program of the operating system you want to install. This media must be bootable, otherwise the setup program will not be able to start.</p></string> 40 </property>41 <property name="wordWrap">42 <bool>true</bool>43 31 </property> 44 32 </widget> 45 33 </item> 46 34 <item> 47 <widget class="QI Label" name="m_pPage2Text1Var2">35 <widget class="QIRichTextLabel" name="m_pPage2Text1Var2"> 48 36 <property name="text"> 49 37 <string><p>Select the media that contains the operating system you want to work with. This media must be bootable, otherwise the operating system will not be able to start.</p></string> 50 </property>51 <property name="wordWrap">52 <bool>true</bool>53 38 </property> 54 39 </widget> … … 56 41 <item> 57 42 <widget class="QGroupBox" name="m_pCntSource"> 43 <property name="sizePolicy"> 44 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 45 <horstretch>0</horstretch> 46 <verstretch>0</verstretch> 47 </sizepolicy> 48 </property> 58 49 <property name="title"> 59 50 <string>Media Source</string> … … 74 65 </item> 75 66 <item> 76 <spacer name="m_pSpacer 1">67 <spacer name="m_pSpacer"> 77 68 <property name="orientation"> 78 69 <enum>Qt::Vertical</enum> 79 70 </property> 80 <property name="sizeHint" stdset="0">71 <property name="sizeHint"> 81 72 <size> 82 73 <width>0</width> … … 95 86 </customwidget> 96 87 <customwidget> 97 <class>QI Label</class>98 <extends>Q Label</extends>99 <header>QI Label.h</header>88 <class>QIRichTextLabel</class> 89 <extends>QWidget</extends> 90 <header>QIRichTextLabel.h</header> 100 91 </customwidget> 101 92 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIFirstRunWzdPage3.ui
r40044 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin">34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QI Label" name="m_pPage3Text1Var1">28 <widget class="QIRichTextLabel" name="m_pPage3Text1Var1"> 38 29 <property name="text"> 39 30 <string><p>You have selected the following media to boot from:</p></string> 40 </property>41 <property name="wordWrap">42 <bool>true</bool>43 31 </property> 44 32 </widget> 45 33 </item> 46 34 <item> 47 <widget class="QI Label" name="m_pPage3Text1Var2">35 <widget class="QIRichTextLabel" name="m_pPage3Text1Var2"> 48 36 <property name="text"> 49 37 <string><p>You have selected the following media to boot an operating system from:</p></string> 50 </property>51 <property name="wordWrap">52 <bool>true</bool>53 38 </property> 54 39 </widget> … … 58 43 </item> 59 44 <item> 60 <widget class="QI Label" name="m_pPage3Text2Var1">45 <widget class="QIRichTextLabel" name="m_pPage3Text2Var1"> 61 46 <property name="text"> 62 47 <string><p>If the above is correct, press the <b>Finish</b> button. Once you press it, the selected media will be temporarily mounted on the virtual machine and the machine will start execution.</p><p>Please note that when you close the virtual machine, the specified media will be automatically unmounted and the boot device will be set back to the first hard disk.</p><p>Depending on the type of the setup program, you may need to manually unmount (eject) the media after the setup program reboots the virtual machine, to prevent the installation process from starting again. You can do this by selecting the corresponding <b>Unmount...</b> action in the <b>Devices</b> menu.</p></string> 63 </property>64 <property name="wordWrap">65 <bool>true</bool>66 48 </property> 67 49 </widget> 68 50 </item> 69 51 <item> 70 <widget class="QI Label" name="m_pPage3Text2Var2">52 <widget class="QIRichTextLabel" name="m_pPage3Text2Var2"> 71 53 <property name="text"> 72 54 <string><p>If the above is correct, press the <b>Finish</b> button. Once you press it, the selected media will be mounted on the virtual machine and the machine will start execution.</p></string> 73 </property>74 <property name="wordWrap">75 <bool>true</bool>76 55 </property> 77 56 </widget> 78 57 </item> 79 58 <item> 80 <spacer name="m_pSpacer 1">59 <spacer name="m_pSpacer"> 81 60 <property name="orientation"> 82 61 <enum>Qt::Vertical</enum> 83 62 </property> 84 <property name="sizeHint" stdset="0">63 <property name="sizeHint"> 85 64 <size> 86 65 <width>0</width> … … 94 73 <customwidgets> 95 74 <customwidget> 96 <class>QILabel</class>97 <extends>QLabel</extends>98 <header>QILabel.h</header>99 </customwidget>100 <customwidget>101 75 <class>QIRichTextLabel</class> 102 76 <extends>QWidget</extends> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIImportApplianceWzd.cpp
r38412 r40142 7 7 8 8 /* 9 * Copyright (C) 2009-201 0Oracle Corporation9 * Copyright (C) 2009-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 123 123 retranslateAllPages(); 124 124 125 #ifndef Q_WS_MAC 126 /* Assign watermark */ 127 assignWatermark(":/vmw_ovf_import.png"); 128 #else /* Q_WS_MAC */ 129 /* Assign background image */ 130 assignBackground(":/vmw_ovf_import_bg.png"); 131 #endif /* Q_WS_MAC */ 132 125 133 /* Resize to 'golden ratio' */ 126 134 resizeToGoldenRatio(); 127 128 /* Assign watermark */129 #ifdef Q_WS_MAC130 /* Assign background image */131 assignBackground(":/vmw_ovf_import_bg.png");132 #else /* Q_WS_MAC */133 assignWatermark(":/vmw_ovf_import.png");134 #endif /* Q_WS_MAC */135 135 136 136 /* Configure 'Restore Defaults' button */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIImportApplianceWzdPage1.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin">34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pPage1Text1"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pPage1Text1"/> 42 29 </item> 43 30 <item> … … 45 32 </item> 46 33 <item> 47 <spacer name="m_pSpacer1"> 48 <property name="sizeHint" stdset="0"> 34 <spacer name="m_pSpacer"> 35 <property name="orientation"> 36 <enum>Qt::Vertical</enum> 37 </property> 38 <property name="sizeHint"> 49 39 <size> 50 40 <width>0</width> 51 <height> 252</height>41 <height>0</height> 52 42 </size> 53 43 </property> … … 58 48 <customwidgets> 59 49 <customwidget> 60 <class>QI Label</class>61 <extends>Q Label</extends>62 <header>QI Label.h</header>50 <class>QIRichTextLabel</class> 51 <extends>QWidget</extends> 52 <header>QIRichTextLabel.h</header> 63 53 </customwidget> 64 54 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIImportApplianceWzdPage2.ui
r38412 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 0Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pLayout1"> 33 <property name="bottomMargin">34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QI Label" name="m_pPage2Text1">28 <widget class="QIRichTextLabel" name="m_pPage2Text1"> 38 29 <property name="text"> 39 30 <string>These are the virtual machines contained in the appliance and the suggested settings of the imported VirtualBox machines. You can change many of the properties shown by double-clicking on the items and disable others using the check boxes below.</string> 40 </property>41 <property name="wordWrap">42 <bool>true</bool>43 31 </property> 44 32 </widget> … … 58 46 <customwidgets> 59 47 <customwidget> 60 <class>QI Label</class>61 <extends>Q Label</extends>62 <header>QI Label.h</header>48 <class>QIRichTextLabel</class> 49 <extends>QWidget</extends> 50 <header>QIRichTextLabel.h</header> 63 51 </customwidget> 64 52 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizard.cpp
r40095 r40142 7 7 8 8 /* 9 * Copyright (C) 2006-201 1Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 209 209 retranslateAllPages(); 210 210 211 #ifndef Q_WS_MAC 212 /* Assign watermark: */ 213 assignWatermark(":/vmw_new_harddisk.png"); 214 #else /* Q_WS_MAC */ 215 /* Assign background image: */ 216 assignBackground(":/vmw_new_harddisk_bg.png"); 217 #endif /* Q_WS_MAC */ 218 211 219 /* Resize wizard to 'golden ratio': */ 212 220 resizeToGoldenRatio(); 213 214 #ifdef Q_WS_MAC215 /* Assign background image: */216 assignBackground(":/vmw_new_harddisk_bg.png");217 #else /* Q_WS_MAC */218 /* Assign watermark: */219 assignWatermark(":/vmw_new_harddisk.png");220 #endif /* Q_WS_MAC */221 221 } 222 222 … … 993 993 .arg(UINewHDWizard::tr("Size", "summary"), sizeFormatted, sizeUnformatted); 994 994 995 m_pSummaryText->setMinimumTextWidth(wizard()->minimumContentWidth());996 995 m_pSummaryText->setText("<table cellspacing=0 cellpadding=0>" + strSummary + "</table>"); 997 996 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizardPageFormat.ui
r37406 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pMainLayout"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pLabel"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel"/> 42 29 </item> 43 30 <item> 44 31 <widget class="QGroupBox" name="m_pFormatContainer"> 32 <property name="sizePolicy"> 33 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 34 <horstretch>0</horstretch> 35 <verstretch>0</verstretch> 36 </sizepolicy> 37 </property> 45 38 <property name="title"> 46 39 <string>File type</string> … … 51 44 <item> 52 45 <spacer name="m_pSpacer"> 53 <property name="sizeHint" stdset="0"> 46 <property name="orientation"> 47 <enum>Qt::Vertical</enum> 48 </property> 49 <property name="sizeHint"> 54 50 <size> 55 51 <width>0</width> … … 63 59 <customwidgets> 64 60 <customwidget> 65 <class>QI Label</class>66 <extends>Q Label</extends>67 <header>QI Label.h</header>61 <class>QIRichTextLabel</class> 62 <extends>QWidget</extends> 63 <header>QIRichTextLabel.h</header> 68 64 </customwidget> 69 65 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizardPageOptions.ui
r37406 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pMainLayout"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pLabel1"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel1"/> 42 29 </item> 43 30 <item> 44 31 <widget class="QGroupBox" name="m_pLocationCnt"> 32 <property name="sizePolicy"> 33 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 34 <horstretch>0</horstretch> 35 <verstretch>0</verstretch> 36 </sizepolicy> 37 </property> 45 38 <property name="title"> 46 39 <string>&Location</string> … … 61 54 </item> 62 55 <item> 63 <widget class="QILabel" name="m_pLabel2"> 64 <property name="wordWrap"> 65 <bool>true</bool> 66 </property> 67 </widget> 56 <widget class="QIRichTextLabel" name="m_pLabel2"/> 68 57 </item> 69 58 <item> 70 59 <widget class="QGroupBox" name="m_pSizeCnt"> 60 <property name="sizePolicy"> 61 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 62 <horstretch>0</horstretch> 63 <verstretch>0</verstretch> 64 </sizepolicy> 65 </property> 71 66 <property name="title"> 72 67 <string>&Size</string> … … 137 132 <item> 138 133 <spacer name="m_pSpacer"> 139 <property name="sizeHint" stdset="0"> 134 <property name="orientation"> 135 <enum>Qt::Vertical</enum> 136 </property> 137 <property name="sizeHint"> 140 138 <size> 141 139 <width>0</width> … … 154 152 </customwidget> 155 153 <customwidget> 156 <class>QI Label</class>157 <extends>Q Label</extends>158 <header>QI Label.h</header>154 <class>QIRichTextLabel</class> 155 <extends>QWidget</extends> 156 <header>QIRichTextLabel.h</header> 159 157 </customwidget> 160 158 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizardPageSummary.ui
r40044 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pMainLayout"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pLabel1"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel1"/> 42 29 </item> 43 30 <item> … … 45 32 </item> 46 33 <item> 47 <widget class="QILabel" name="m_pLabel2"> 48 <property name="wordWrap"> 49 <bool>true</bool> 50 </property> 51 </widget> 34 <widget class="QIRichTextLabel" name="m_pLabel2"/> 52 35 </item> 53 36 <item> 54 37 <spacer name="m_pSpacer"> 55 <property name="sizeHint" stdset="0"> 38 <property name="orientation"> 39 <enum>Qt::Vertical</enum> 40 </property> 41 <property name="sizeHint"> 56 42 <size> 57 43 <width>0</width> … … 65 51 <customwidgets> 66 52 <customwidget> 67 <class>QILabel</class>68 <extends>QLabel</extends>69 <header>QILabel.h</header>70 </customwidget>71 <customwidget>72 53 <class>QIRichTextLabel</class> 73 54 <extends>QWidget</extends> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizardPageVariant.ui
r37406 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pMainLayout"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pLabel"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel"/> 42 29 </item> 43 30 <item> 44 31 <widget class="QGroupBox" name="m_pVariantContainer"> 32 <property name="sizePolicy"> 33 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 34 <horstretch>0</horstretch> 35 <verstretch>0</verstretch> 36 </sizepolicy> 37 </property> 45 38 <property name="title"> 46 39 <string>Storage details</string> … … 51 44 <item> 52 45 <spacer name="m_pSpacer"> 53 <property name="sizeHint" stdset="0"> 46 <property name="orientation"> 47 <enum>Qt::Vertical</enum> 48 </property> 49 <property name="sizeHint"> 54 50 <size> 55 51 <width>0</width> … … 63 59 <customwidgets> 64 60 <customwidget> 65 <class>QI Label</class>66 <extends>Q Label</extends>67 <header>QI Label.h</header>61 <class>QIRichTextLabel</class> 62 <extends>QWidget</extends> 63 <header>QIRichTextLabel.h</header> 68 64 </customwidget> 69 65 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizardPageWelcome.ui
r37682 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 </rect> 25 25 </property> 26 <property name="sizePolicy">27 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">28 <horstretch>0</horstretch>29 <verstretch>0</verstretch>30 </sizepolicy>31 </property>32 26 <layout class="QVBoxLayout" name="m_pMainLayout"> 33 <property name="bottomMargin" >34 <number>0</number>35 </property>36 27 <item> 37 <widget class="QILabel" name="m_pLabel"> 38 <property name="wordWrap"> 39 <bool>true</bool> 40 </property> 41 </widget> 28 <widget class="QIRichTextLabel" name="m_pLabel"/> 42 29 </item> 43 30 <item> 44 31 <widget class="QGroupBox" name="m_pSourceDiskContainer"> 32 <property name="sizePolicy"> 33 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 34 <horstretch>0</horstretch> 35 <verstretch>0</verstretch> 36 </sizepolicy> 37 </property> 45 38 <property name="title"> 46 39 <string>Virtual disk to copy</string> … … 65 58 <item> 66 59 <spacer name="m_pSpacer"> 67 <property name="sizeHint" stdset="0"> 60 <property name="orientation"> 61 <enum>Qt::Vertical</enum> 62 </property> 63 <property name="sizeHint"> 68 64 <size> 69 65 <width>0</width> … … 82 78 </customwidget> 83 79 <customwidget> 84 <class>QI Label</class>85 <extends>Q Label</extends>86 <header>QI Label.h</header>80 <class>QIRichTextLabel</class> 81 <extends>QWidget</extends> 82 <header>QIRichTextLabel.h</header> 87 83 </customwidget> 88 84 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r40044 r40142 7 7 8 8 /* 9 * Copyright (C) 2006-201 1Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 154 154 retranslateAllPages(); 155 155 156 #ifndef Q_WS_MAC 157 /* Assign watermark */ 158 assignWatermark(":/vmw_new_welcome.png"); 159 #else /* Q_WS_MAC */ 160 /* Assign background image */ 161 assignBackground(":/vmw_new_welcome_bg.png"); 162 #endif /* Q_WS_MAC */ 163 156 164 /* Resize to 'golden ratio' */ 157 165 resizeToGoldenRatio(); 158 159 #ifdef Q_WS_MAC160 /* Assign background image */161 assignBackground(":/vmw_new_welcome_bg.png");162 #else /* Q_WS_MAC */163 /* Assign watermark */164 assignWatermark(":/vmw_new_welcome.png");165 #endif /* Q_WS_MAC */166 166 } 167 167 … … 677 677 } 678 678 679 m_pSummaryText->setMinimumTextWidth(wizard()->minimumContentWidth());680 679 m_pSummaryText->setText("<table cellspacing=0 cellpadding=0>" + summary + "</table>"); 681 680 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage1.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009 Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 16 16 <class>UINewVMWzdPage1</class> 17 17 <widget class="QWidget" name="UINewVMWzdPage1"> 18 <property name="sizePolicy">19 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">20 <horstretch>0</horstretch>21 <verstretch>0</verstretch>22 </sizepolicy>23 </property>24 18 <property name="geometry"> 25 19 <rect> … … 30 24 </rect> 31 25 </property> 32 <property name="sizePolicy">33 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">34 <horstretch>0</horstretch>35 <verstretch>0</verstretch>36 </sizepolicy>37 </property>38 26 <layout class="QVBoxLayout" name="m_pLayout1"> 39 <property name="bottomMargin" >40 <number>0</number>41 </property>42 27 <item> 43 <widget class="QILabel" name="m_pPage1Text1"> 44 <property name="wordWrap"> 45 <bool>true</bool> 46 </property> 47 </widget> 28 <widget class="QIRichTextLabel" name="m_pPage1Text1"/> 48 29 </item> 49 30 <item> 50 <spacer name="m_pSpacer1"> 51 <property name="sizeHint" stdset="0"> 31 <spacer name="m_pSpacer"> 32 <property name="orientation" > 33 <enum>Qt::Vertical</enum> 34 </property> 35 <property name="sizeHint"> 52 36 <size> 53 37 <width>0</width> … … 61 45 <customwidgets> 62 46 <customwidget> 63 <class>QI Label</class>64 <extends>Q Label</extends>65 <header>QI Label.h</header>47 <class>QIRichTextLabel</class> 48 <extends>QWidget</extends> 49 <header>QIRichTextLabel.h</header> 66 50 </customwidget> 67 51 </customwidgets> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage2.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009 Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 16 16 <class>UINewVMWzdPage2</class> 17 17 <widget class="QWidget" name="UINewVMWzdPage2"> 18 <property name="sizePolicy">19 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">20 <horstretch>0</horstretch>21 <verstretch>0</verstretch>22 </sizepolicy>23 </property>24 18 <property name="geometry"> 25 19 <rect> … … 30 24 </rect> 31 25 </property> 32 <property name="sizePolicy">33 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">34 <horstretch>0</horstretch>35 <verstretch>0</verstretch>36 </sizepolicy>37 </property>38 26 <layout class="QVBoxLayout" name="m_pLayout1"> 39 <property name="bottomMargin" >40 <number>0</number>41 </property>42 27 <item> 43 <widget class="QI Label" name="m_pPage2Text1">28 <widget class="QIRichTextLabel" name="m_pPage2Text1"> 44 29 <property name="text"> 45 30 <string><p>Enter a name for the new virtual machine and select the type of the guest operating system you plan to install onto the virtual machine.</p><p>The name of the virtual machine usually indicates its software and hardware configuration. It will be used by all VirtualBox components to identify your virtual machine.</p></string> 46 </property>47 <property name="wordWrap">48 <bool>true</bool>49 31 </property> 50 32 </widget> … … 52 34 <item> 53 35 <widget class="QGroupBox" name="m_pNameEditorCnt"> 36 <property name="sizePolicy"> 37 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 38 <horstretch>0</horstretch> 39 <verstretch>0</verstretch> 40 </sizepolicy> 41 </property> 54 42 <property name="title"> 55 43 <string>N&ame</string> … … 64 52 <item> 65 53 <widget class="QGroupBox" name="m_pTypeSelectorCnt"> 54 <property name="sizePolicy"> 55 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 56 <horstretch>0</horstretch> 57 <verstretch>0</verstretch> 58 </sizepolicy> 59 </property> 66 60 <property name="title"> 67 61 <string>OS &Type</string> … … 75 69 </item> 76 70 <item> 77 <spacer name="m_pSpacer1"> 78 <property name="sizeHint" stdset="0"> 71 <spacer name="m_pSpacer"> 72 <property name="orientation" > 73 <enum>Qt::Vertical</enum> 74 </property> 75 <property name="sizeHint"> 79 76 <size> 80 77 <width>0</width> … … 88 85 <customwidgets> 89 86 <customwidget> 90 <class>QI Label</class>91 <extends>Q Label</extends>92 <header>QI Label.h</header>87 <class>QIRichTextLabel</class> 88 <extends>QWidget</extends> 89 <header>QIRichTextLabel.h</header> 93 90 </customwidget> 94 91 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage3.ui
r28800 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009 Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 16 16 <class>UINewVMWzdPage3</class> 17 17 <widget class="QWidget" name="UINewVMWzdPage3"> 18 <property name="sizePolicy">19 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">20 <horstretch>0</horstretch>21 <verstretch>0</verstretch>22 </sizepolicy>23 </property>24 18 <property name="geometry"> 25 19 <rect> … … 30 24 </rect> 31 25 </property> 32 <property name="sizePolicy">33 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">34 <horstretch>0</horstretch>35 <verstretch>0</verstretch>36 </sizepolicy>37 </property>38 26 <layout class="QVBoxLayout" name="m_pLayout1"> 39 <property name="bottomMargin" >40 <number>0</number>41 </property>42 27 <item> 43 <widget class="QI Label" name="m_pPage3Text1">28 <widget class="QIRichTextLabel" name="m_pPage3Text1"> 44 29 <property name="text"> 45 30 <string><p>Select the amount of base memory (RAM) in megabytes to be allocated to the virtual machine.</p></string> 46 </property>47 <property name="wordWrap">48 <bool>true</bool>49 31 </property> 50 32 </widget> 51 33 </item> 52 34 <item> 53 <widget class="QILabel" name="m_pPage3Text2"> 54 <property name="wordWrap"> 55 <bool>true</bool> 56 </property> 57 </widget> 35 <widget class="QIRichTextLabel" name="m_pPage3Text2"/> 58 36 </item> 59 37 <item> 60 38 <widget class="QGroupBox" name="m_pMemoryCnt"> 39 <property name="sizePolicy"> 40 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 41 <horstretch>0</horstretch> 42 <verstretch>0</verstretch> 43 </sizepolicy> 44 </property> 61 45 <property name="title"> 62 46 <string>Base &Memory Size</string> … … 82 66 <widget class="QILineEdit" name="m_pRamEditor"> 83 67 <property name="sizePolicy"> 84 <sizepolicy hsizetype=" Preferred" vsizetype="Fixed">68 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 85 69 <horstretch>0</horstretch> 86 70 <verstretch>0</verstretch> … … 91 75 <item row="0" column="4"> 92 76 <widget class="QLabel" name="m_pRamUnits"> 77 <property name="sizePolicy"> 78 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 79 <horstretch>0</horstretch> 80 <verstretch>0</verstretch> 81 </sizepolicy> 82 </property> 93 83 <property name="text"> 94 84 <string>MB</string> … … 99 89 <widget class="QLabel" name="m_pRamMin"> 100 90 <property name="sizePolicy"> 101 <sizepolicy hsizetype="M aximum" vsizetype="Preferred">91 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 102 92 <horstretch>0</horstretch> 103 93 <verstretch>0</verstretch> … … 111 101 <enum>Qt::Horizontal</enum> 112 102 </property> 113 <property name="sizeHint" stdset="0">103 <property name="sizeHint"> 114 104 <size> 115 105 <width>0</width> … … 122 112 <widget class="QLabel" name="m_pRamMax"> 123 113 <property name="sizePolicy"> 124 <sizepolicy hsizetype="M aximum" vsizetype="Preferred">114 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 125 115 <horstretch>0</horstretch> 126 116 <verstretch>0</verstretch> … … 134 124 <item> 135 125 <spacer name="m_pSpacer2"> 136 <property name="sizeHint" stdset="0"> 126 <property name="orientation"> 127 <enum>Qt::Vertical</enum> 128 </property> 129 <property name="sizeHint"> 137 130 <size> 138 131 <width>0</width> … … 146 139 <customwidgets> 147 140 <customwidget> 148 <class>QI Label</class>149 <extends>Q Label</extends>150 <header>QI Label.h</header>141 <class>QIRichTextLabel</class> 142 <extends>QWidget</extends> 143 <header>QIRichTextLabel.h</header> 151 144 </customwidget> 152 145 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage4.ui
r38169 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009 Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 16 16 <class>UINewVMWzdPage4</class> 17 17 <widget class="QWidget" name="UINewVMWzdPage4"> 18 <property name="sizePolicy">19 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">20 <horstretch>0</horstretch>21 <verstretch>0</verstretch>22 </sizepolicy>23 </property>24 18 <property name="geometry"> 25 19 <rect> … … 30 24 </rect> 31 25 </property> 32 <property name="sizePolicy">33 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">34 <horstretch>0</horstretch>35 <verstretch>0</verstretch>36 </sizepolicy>37 </property>38 26 <layout class="QVBoxLayout" name="m_pLayout1"> 39 <property name="bottomMargin" >40 <number>0</number>41 </property>42 27 <item> 43 <widget class="QI Label" name="m_pPage4Text1">28 <widget class="QIRichTextLabel" name="m_pPage4Text1"> 44 29 <property name="text"> 45 30 <string><p>If you wish you can now add a start-up disk to the new machine. You can either create a new virtual disk or select one from the list or from another location using the folder icon.</p><p>If you need a more complex virtual disk setup you can skip this step and make the changes to the machine settings once the machine is created.</p></string> 46 </property>47 <property name="wordWrap">48 <bool>true</bool>49 31 </property> 50 32 </widget> 51 33 </item> 52 34 <item> 53 <widget class="QILabel" name="m_pPage4Text2"> 54 <property name="wordWrap"> 55 <bool>true</bool> 56 </property> 57 </widget> 35 <widget class="QIRichTextLabel" name="m_pPage4Text2"/> 58 36 </item> 59 37 <item> 60 38 <widget class="QGroupBox" name="m_pBootHDCnt"> 39 <property name="sizePolicy"> 40 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 41 <horstretch>0</horstretch> 42 <verstretch>0</verstretch> 43 </sizepolicy> 44 </property> 61 45 <property name="title"> 62 46 <string>Start-up &Disk</string> … … 100 84 </item> 101 85 <item> 102 <spacer name="m_pSpacer1"> 103 <property name="sizeHint" stdset="0"> 86 <spacer name="m_pSpacer"> 87 <property name="orientation"> 88 <enum>Qt::Vertical</enum> 89 </property> 90 <property name="sizeHint"> 104 91 <size> 105 92 <width>0</width> … … 118 105 </customwidget> 119 106 <customwidget> 120 <class>QI Label</class>121 <extends>Q Label</extends>122 <header>QI Label.h</header>107 <class>QIRichTextLabel</class> 108 <extends>QWidget</extends> 109 <header>QIRichTextLabel.h</header> 123 110 </customwidget> 124 111 <customwidget> -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage5.ui
r40044 r40142 4 4 VBox frontends: Qt4 GUI ("VirtualBox"): 5 5 6 Copyright (C) 2009-201 1Oracle Corporation6 Copyright (C) 2009-2012 Oracle Corporation 7 7 8 8 This file is part of VirtualBox Open Source Edition (OSE), as … … 16 16 <class>UINewVMWzdPage5</class> 17 17 <widget class="QWidget" name="UINewVMWzdPage5"> 18 <property name="sizePolicy">19 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">20 <horstretch>0</horstretch>21 <verstretch>0</verstretch>22 </sizepolicy>23 </property>24 18 <property name="geometry"> 25 19 <rect> … … 30 24 </rect> 31 25 </property> 32 <property name="sizePolicy">33 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">34 <horstretch>0</horstretch>35 <verstretch>0</verstretch>36 </sizepolicy>37 </property>38 26 <layout class="QVBoxLayout" name="m_pLayout1"> 39 <property name="bottomMargin" >40 <number>0</number>41 </property>42 27 <item> 43 <widget class="QI Label" name="m_pPage5Text1">28 <widget class="QIRichTextLabel" name="m_pPage5Text1"> 44 29 <property name="text"> 45 30 <string><p>You are going to create a new virtual machine with the following parameters:</p></string> 46 </property>47 <property name="wordWrap">48 <bool>true</bool>49 31 </property> 50 32 </widget> … … 54 36 </item> 55 37 <item> 56 <widget class="QILabel" name="m_pPage5Text2"> 57 <property name="wordWrap"> 58 <bool>true</bool> 59 </property> 60 </widget> 38 <widget class="QIRichTextLabel" name="m_pPage5Text2"/> 61 39 </item> 62 40 <item> 63 <spacer name="m_pSpacer1"> 64 <property name="sizeHint" stdset="0"> 41 <spacer name="m_pSpacer"> 42 <property name="orientation"> 43 <enum>Qt::Vertical</enum> 44 </property> 45 <property name="sizeHint"> 65 46 <size> 66 47 <width>0</width> … … 74 55 <customwidgets> 75 56 <customwidget> 76 <class>QILabel</class>77 <extends>QLabel</extends>78 <header>QILabel.h</header>79 </customwidget>80 <customwidget>81 57 <class>QIRichTextLabel</class> 82 58 <extends>QWidget</extends>
Note:
See TracChangeset
for help on using the changeset viewer.