Changeset 8741 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 9, 2008 1:04:00 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QIMessageBox.h
r8369 r8741 35 35 class QPushButton; 36 36 class QSpacerItem; 37 class QDialogButtonBox; 37 38 class QIDialogButtonBox; 38 39 39 40 class QIMessageBox : public QIDialog … … 109 110 QTextEdit *mDetailsText; 110 111 QSpacerItem *mSpacer; 111 Q DialogButtonBox *mButtonBox;112 QIDialogButtonBox *mButtonBox; 112 113 }; 113 114 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSharedFoldersSettings.h
r8704 r8741 33 33 class QCheckBox; 34 34 class SFTreeViewItem; 35 class QDialogButtonBox; 35 36 class QIDialogButtonBox; 36 37 37 38 enum SFDialogType … … 139 140 void showEvent (QShowEvent *aEvent); 140 141 141 Q DialogButtonBox *mButtonBox;142 QLineEdit *mLePath;143 QLineEdit *mLeName;144 QCheckBox *mCbPermanent;145 QCheckBox *mCbReadonly;146 SFoldersNameList mUsedNames;142 QIDialogButtonBox *mButtonBox; 143 QLineEdit *mLePath; 144 QLineEdit *mLeName; 145 QCheckBox *mCbPermanent; 146 QCheckBox *mCbReadonly; 147 SFoldersNameList mUsedNames; 147 148 }; 148 149 -
trunk/src/VBox/Frontends/VirtualBox4/src/QIMessageBox.cpp
r8369 r8741 26 26 #include "QIMessageBox.h" 27 27 #include "QIRichLabel.h" 28 #include "QIDialogButtonBox.h" 28 29 29 30 /* Qt includes */ … … 31 32 #include <QPushButton> 32 33 #include <QLabel> 33 #include <QDialogButtonBox>34 34 35 35 /** @class QIMessageBox … … 123 123 layout->addItem (mSpacer); 124 124 125 mButtonBox = new Q DialogButtonBox;125 mButtonBox = new QIDialogButtonBox; 126 126 mButtonBox->setCenterButtons (true); 127 127 layout->addWidget (mButtonBox); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxCloseVMDlg.cpp
r8332 r8741 33 33 setupUi (this); 34 34 35 /* Help is toggled with F1 */36 mButtonBox->button (QDialogButtonBox::Help)->setShortcut (QKeySequence (tr ("F1")));37 35 /* Set fixed size */ 38 36 setSizePolicy (QSizePolicy::Fixed, QSizePolicy::Fixed); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r8717 r8741 3497 3497 3498 3498 /* Setup button's layout */ 3499 QDialogButtonBox *buttonBox = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Help); 3500 QPushButton *btnHelp = buttonBox->button (QDialogButtonBox::Help); 3501 btnHelp->setText (tr ("Help")); 3502 btnHelp->setShortcut (QKeySequence (tr ("F1"))); 3499 QIDialogButtonBox *buttonBox = new QIDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Help); 3503 3500 3504 3501 connect (buttonBox, SIGNAL (helpRequested()), &vboxProblem(), SLOT (showHelpHelpDialog())); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r8737 r8741 29 29 #include "QIHotKeyEdit.h" 30 30 #include "QIMessageBox.h" 31 #include "QIDialogButtonBox.h" 31 32 32 33 #ifdef VBOX_WITH_REGISTRATION … … 36 37 /* Qt includes */ 37 38 #include <QLibraryInfo> 38 #include <QDialogButtonBox>39 39 #include <QFileDialog> 40 40 #include <QToolTip> … … 568 568 mAgreeButton = new QPushButton (tr ("I &Agree"), this); 569 569 mDisagreeButton = new QPushButton (tr ("I &Disagree"), this); 570 QDialogButtonBox *dbb = new Q DialogButtonBox (this);570 QDialogButtonBox *dbb = new QIDialogButtonBox (this); 571 571 dbb->addButton (mAgreeButton, QDialogButtonBox::AcceptRole); 572 572 dbb->addButton (mDisagreeButton, QDialogButtonBox::RejectRole); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSharedFoldersSettings.cpp
r8704 r8741 21 21 */ 22 22 23 #include <VBoxSharedFoldersSettings.h> 24 #include <VBoxGlobal.h> 25 #include <VBoxProblemReporter.h> 26 #include <VBoxUtils.h> 23 #include "VBoxSharedFoldersSettings.h" 24 #include "VBoxGlobal.h" 25 #include "VBoxProblemReporter.h" 26 #include "VBoxUtils.h" 27 #include "QIDialogButtonBox.h" 27 28 28 29 /* Qt includes */ … … 33 34 #include <QTimer> 34 35 #include <QLabel> 35 #include <QDialogButtonBox>36 36 37 37 class SFTreeViewItem : public QTreeWidgetItem … … 720 720 721 721 /* Setup Button layout */ 722 mButtonBox = new Q DialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);722 mButtonBox = new QIDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); 723 723 mButtonBox->setCenterButtons (true); 724 724 connect (mButtonBox, SIGNAL (accepted()), this, SLOT (accept())); -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxCloseVMDlg.ui
r7910 r8741 202 202 </item> 203 203 <item> 204 <widget class="Q DialogButtonBox" name="mButtonBox" >204 <widget class="QIDialogButtonBox" name="mButtonBox" > 205 205 <property name="standardButtons" > 206 206 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> … … 211 211 </widget> 212 212 <layoutdefault spacing="6" margin="11" /> 213 <customwidgets> 214 <customwidget> 215 <class>QIDialogButtonBox</class> 216 <extends>QDialogButtonBox</extends> 217 <header>QIDialogButtonBox.h</header> 218 </customwidget> 219 </customwidgets> 213 220 <resources> 214 221 <include location="../VirtualBox.qrc" /> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMInformationDlg.ui
r7926 r8741 96 96 </item> 97 97 <item> 98 <widget class="Q DialogButtonBox" name="mButtonBox" >98 <widget class="QIDialogButtonBox" name="mButtonBox" > 99 99 <property name="standardButtons" > 100 100 <set>QDialogButtonBox::Close</set> … … 106 106 <widget class="QStatusBar" name="statusbar" /> 107 107 </widget> 108 <customwidgets> 109 <customwidget> 110 <class>QIDialogButtonBox</class> 111 <extends>QDialogButtonBox</extends> 112 <header>QIDialogButtonBox.h</header> 113 </customwidget> 114 </customwidgets> 108 115 <resources> 109 116 <include location="../VirtualBox.qrc" /> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMLogViewer.ui
r8289 r8741 29 29 </item> 30 30 <item> 31 <widget class="Q DialogButtonBox" name="mButtonBox" >31 <widget class="QIDialogButtonBox" name="mButtonBox" > 32 32 <property name="standardButtons" > 33 33 <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Save</set> … … 39 39 <widget class="QStatusBar" name="statusbar" /> 40 40 </widget> 41 <customwidgets> 42 <customwidget> 43 <class>QIDialogButtonBox</class> 44 <extends>QDialogButtonBox</extends> 45 <header>QIDialogButtonBox.h</header> 46 </customwidget> 47 </customwidgets> 41 48 <resources> 42 49 <include location="../VirtualBox.qrc" />
Note:
See TracChangeset
for help on using the changeset viewer.