VirtualBox

Ignore:
Timestamp:
Feb 11, 2008 5:11:29 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28055
Message:

2669: Create VM context menu in the Selector window:

Feature implemented (context menu + pause/resume action).
Waiting for pause_dis_16.png icon.

Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
2 edited

Legend:

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

    r6784 r6904  
    415415#endif
    416416
    417     CSession openSession (const QUuid &id);
     417    CSession openSession (const QUuid &id, bool aExisting = false);
    418418
    419419    bool startMachine (const QUuid &id);
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxSelectorWnd.h

    r5999 r6904  
    2626#include <qapplication.h>
    2727#include <qmainwindow.h>
     28#include <qlistbox.h>
    2829#include <qgroupbox.h>
    2930#include <qaction.h>
     
    6768    void vmStart();
    6869    void vmDiscard();
     70    void vmPause (bool);
    6971    void vmRefresh();
    7072    void vmShowLogs();
     
    7476                                          bool aSnapshots,
    7577                                          bool aDescription);
     78
     79    void showContextMenu (QListBoxItem *, const QPoint &);
    7680
    7781protected:
     
    105109private:
    106110
     111    /* context menu */
     112    QPopupMenu *mVmMenu;
     113
    107114    /* actions */
    108115    QAction *fileDiskMgrAction;
     
    114121    QAction *vmStartAction;
    115122    QAction *vmDiscardAction;
     123    QAction *vmPauseAction;
    116124    QAction *vmRefreshAction;
    117125    QAction *vmShowLogsAction;
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