VirtualBox

Ignore:
Timestamp:
Oct 28, 2009 7:19:25 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: VBoxConsoleWND: Device dropdown & popup menus for CD & FD reworked using nested menus.

File:
1 edited

Legend:

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

    r23734 r24147  
    147147
    148148    void devicesSwitchVrdp (bool aOn);
    149     void devicesOpenStorageDialog();
    150149    void devicesOpenNetworkDialog();
    151150    void devicesOpenSFDialog();
     
    156155    void prepareSFMenu();
    157156
     157    void mountMedium();
    158158    void switchUSB (QAction *aAction);
    159159
     
    237237    QMenu *mVMMenuMini;
    238238    QMenu *mDevicesMenu;
    239     QMenu *mDevicesStorageMenu;
     239    QMenu *mDevicesCDMenu;
     240    QMenu *mDevicesFDMenu;
    240241    QMenu *mDevicesNetworkMenu;
    241242    QMenu *mDevicesSFMenu;
     
    272273
    273274    /* Devices actions */
    274     QAction *mDevicesStorageDialogAction;
    275275    QAction *mDevicesNetworkDialogAction;
    276276    QAction *mDevicesSFDialogAction;
     
    379379
    380380class VBoxSettingsPage;
    381 class VBoxStorageDialog : public QIWithRetranslateUI <QDialog>
    382 {
    383     Q_OBJECT;
    384 
    385 public:
    386 
    387     VBoxStorageDialog (QWidget *aParent, CSession &aSession);
    388 
    389 protected:
    390 
    391     void retranslateUi();
    392 
    393 protected slots:
    394 
    395     virtual void accept();
    396 
    397     void revalidate (QIWidgetValidator *aValidator);
    398     void enableOk (const QIWidgetValidator *aValidator);
    399 
    400 protected:
    401 
    402     void showEvent (QShowEvent *aEvent);
    403 
    404 private:
    405 
    406     VBoxSettingsPage *mSettings;
    407     QIDialogButtonBox *mButtonBox;
    408     CSession &mSession;
    409 };
    410 
    411381class VBoxNetworkDialog : public QIWithRetranslateUI <QDialog>
    412382{
Note: See TracChangeset for help on using the changeset viewer.

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