VirtualBox

Ignore:
Timestamp:
Nov 20, 2007 1:55:28 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26209
Message:

FE/Qt: Improved most reminder messages (capture input, go fullscreen etc) so that the action they represent can be canceled now; Fixed tiny problem reporter's regressions.

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

Legend:

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

    r5759 r5803  
    208208    QPoint captured_pos;
    209209
     210        bool mDisableAutoCapture : 1;
     211
    210212    enum { IsKeyPressed = 0x01, IsExtKeyPressed = 0x02, IsKbdCaptured = 0x80 };
    211213    uint8_t mPressedKeys [128];
     
    214216    bool mIsHostkeyPressed : 1;
    215217    bool mIsHostkeyAlone : 1;
     218
    216219    /** kbd_captured value during the the last host key press or release */
    217220    bool hostkey_in_capture : 1;
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h

    r5544 r5803  
    117117    void updateAppearanceOf (int element);
    118118
    119     void toggleFullscreenMode (bool, bool);
     119    bool toggleFullscreenMode (bool, bool);
    120120
    121121private slots:
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r5774 r5803  
    242242    void cannotDownloadGuestAdditions (const QString &aURL,
    243243                                       const QString &aReason);
    244     int confirmDownloadAdditions (const QString &aURL, ulong aSize);
    245     int confirmMountAdditions (const QString &aURL, const QString &aSrc);
     244    bool confirmDownloadAdditions (const QString &aURL, ulong aSize);
     245    bool confirmMountAdditions (const QString &aURL, const QString &aSrc);
    246246    void warnAboutTooOldAdditions (QWidget *, const QString &, const QString &);
    247247    void warnAboutOldAdditions (QWidget *, const QString &, const QString &);
     
    254254                             const QString &aResult);
    255255
    256     bool remindAboutInputCapture();
    257     bool remindAboutAutoCapture();
    258     bool remindAboutMouseIntegration (bool supportsAbsolute);
     256    bool confirmInputCapture();
     257    void remindAboutAutoCapture();
     258    void remindAboutMouseIntegration (bool aSupportsAbsolute);
    259259    bool remindAboutPausedVMInput();
    260260
    261261    bool remindAboutInaccessibleMedia();
    262262
    263     void remindAboutGoingFullscreen (const QString &hotKey,
    264                                      const QString &hostKey);
    265     void remindAboutGoingSeamless (const QString &hotKey,
    266                                    const QString &hostKey);
     263    bool confirmGoingFullscreen (const QString &aHotKey);
     264    bool confirmGoingSeamless (const QString &aHotKey);
    267265
    268266    void remindAboutWrongColorDepth (ulong aRealBPP, ulong aWantedBPP);
     
    273271    bool confirmVMReset (QWidget *aParent);
    274272
    275     int remindAboutUnsetHD (QWidget *aParent);
     273    bool confirmHardDisklessMachine (QWidget *aParent);
    276274
    277275    void cannotRunInSelectorMode();
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