VirtualBox

Ignore:
Timestamp:
Jul 31, 2007 2:42:32 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23357
Message:

2142: GUI should download Additions:

  1. QIMessageBox was changed to use QIRichLabel instead of QLabel for the text displaying purposes.
  2. QIRichLabel was updated to allow user to copy the link contained in the label text through the context menu.
  3. All the Additions Downloader’s messages were updated according the described requirements (including the new one messages and the protocol http:// displaying before the image path).
  4. The progress bar is now appears just after the code decides it is necessary to download additions.
  5. Some minor bug-fixes ( bonus :) ).
Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/QIMessageBox.h

    r3894 r3943  
    3030#include <qtextedit.h>
    3131
     32class QIRichLabel;
    3233class QLabel;
    3334class QPushButton;
     
    4748        Warning = QMessageBox::Warning,
    4849        Critical = QMessageBox::Critical,
    49                 Question = QMessageBox::Question
     50        Question = QMessageBox::Question
    5051    };
    5152
     
    9394
    9495    int mButton0, mButton1, mButton2, mButtonEsc;
    95     QLabel *mIconLabel, *mTextLabel;
     96    QLabel *mIconLabel;
     97    QIRichLabel *mTextLabel;
    9698    QPushButton *mButton0PB, *mButton1PB, *mButton2PB;
    9799    QVBox *mMessageVBox;
  • trunk/src/VBox/Frontends/VirtualBox/include/QIRichLabel.h

    r2981 r3943  
    125125   QMovie     *lmovie;
    126126   QPopupMenu *popupMenu;
     127   QString     popupBuffer;
    127128   QWidget    *lbuddy;
    128129   ushort      align;
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r3936 r3943  
    195195                                   const QString &, const QString &);
    196196
     197    int cannotFindGuestAdditions (const QString &aSrc1, const QString &aSrc2);
    197198    void cannotDownloadGuestAdditions (const QString &aURL,
    198199                                       const QString &aReason);
    199     int confirmDownloadAdditions (const QString &aSrc1, const QString &aSrc2,
    200                                   const QString &aURL, ulong aSize);
     200    int confirmDownloadAdditions (const QString &aURL, ulong aSize);
     201    int confirmMountAdditions (const QString &aURL, const QString &aSrc);
    201202    void warnAboutTooOldAdditions (QWidget *, const QString &, const QString &);
    202203    void warnAboutOldAdditions (QWidget *, const QString &, const QString &);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette