VirtualBox

Ignore:
Timestamp:
Feb 16, 2007 2:23:21 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18702
Message:

1758: Implement Shared Folders UI

Shared Folders List Dialog now can be invoked from working console menu. This dialog shows the list of Shared Folders available for current VM/Console and allows add/remove transient shared folders.

File:
1 edited

Legend:

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

    r809 r951  
    3131#include <qobjectlist.h>
    3232#include <qcolor.h>
     33#include <qdialog.h>
    3334
    3435#ifdef VBOX_WITH_DEBUGGER_GUI
     
    126127    void devicesUnmountDVD();
    127128    void devicesSwitchVrdp (bool);
     129    void devicesToggleSFDialog (bool);
    128130    void devicesInstallGuestAdditions();
    129131
     
    178180    QAction *devicesUnmountDVDAction;
    179181    QAction *devicesSwitchVrdpAction;
     182    QAction *devicesSFDialogAction;
    180183    QAction *devicesInstallGuestToolsAction;
    181184
     
    200203    int devicesUSBMenuSeparatorId;
    201204    int devicesVRDPMenuSeparatorId;
     205    int devicesSFMenuSeparatorId;
    202206
    203207#ifdef VBOX_WITH_DEBUGGER_GUI
     
    258262};
    259263
     264
     265class VBoxSharedFoldersSettings;
     266class VBoxSFDialog : public QDialog
     267{
     268    Q_OBJECT
     269
     270public:
     271
     272    VBoxSFDialog (QWidget*, CSession&, QAction*);
     273    ~VBoxSFDialog();
     274
     275protected slots:
     276
     277    virtual void accept();
     278    virtual void suicide (bool);
     279
     280protected:
     281
     282    void showEvent (QShowEvent*);
     283
     284private:
     285
     286    VBoxSharedFoldersSettings *mSettings;
     287    CSession &mSession;
     288    QAction *mAction;
     289};
     290
     291
    260292#endif // __VBoxConsoleWnd_h__
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