Changeset 7369 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/QIMessageBox.h
- Timestamp:
- Mar 7, 2008 2:35:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QIMessageBox.h
r7220 r7369 20 20 #define __QIMessageBox_h__ 21 21 22 #include <qdialog.h> 23 #include <q3vbox.h> 24 #include <qmessagebox.h> 25 #include <qcheckbox.h> 26 #include <q3textedit.h> 27 //Added by qt3to4: 28 #include <QLabel> 22 /* Qt includes */ 23 #include <QDialog> 24 #include <QMessageBox> 25 #include <QCheckBox> 26 #include <QTextEdit> 29 27 30 28 class QIRichLabel; … … 68 66 void setButtonText (int aButton, const QString &aText); 69 67 70 QString flagText() const { return mFlagCB->is Shown() ? mFlagCB->text() : QString::null; }68 QString flagText() const { return mFlagCB->isVisible() ? mFlagCB->text() : QString::null; } 71 69 void setFlagText (const QString &aText); 72 70 … … 74 72 void setFlagChecked (bool aChecked) { mFlagCB->setChecked (aChecked); } 75 73 76 QString detailsText () const { return mDetailsText->t ext(); }74 QString detailsText () const { return mDetailsText->toHtml(); } 77 75 void setDetailsText (const QString &aText); 78 76 79 bool isDetailsShown() const { return mDetailsVBox->is Shown(); }77 bool isDetailsShown() const { return mDetailsVBox->isVisible(); } 80 78 void setDetailsShown (bool aShown); 81 79 82 80 private: 83 81 84 QPushButton *createButton ( QWidget *aParent,int aButton);82 QPushButton *createButton (int aButton); 85 83 86 84 private slots: … … 102 100 QIRichLabel *mTextLabel; 103 101 QPushButton *mButton0PB, *mButton1PB, *mButton2PB; 104 Q3VBox *mMessageVBox;105 102 QCheckBox *mFlagCB, *mFlagCB_Main, *mFlagCB_Details; 106 Q 3VBox*mDetailsVBox;107 Q 3TextEdit *mDetailsText;103 QWidget *mDetailsVBox; 104 QTextEdit *mDetailsText; 108 105 QSpacerItem *mSpacer; 109 106 };
Note:
See TracChangeset
for help on using the changeset viewer.