VirtualBox

Ignore:
Timestamp:
Sep 25, 2007 1:56:26 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24813
Message:

First version of VirtualBox Registration Dialog implemented.
Non-modal dialog (which appears maximum 3 times if rejected and 1 time if accepted).
Confirm button inaccessible for 5 seconds after dialog startup.
User should input his name and correct email address to Confirm registration.
After that inner mechanism tries to connect to required *.php script performs handshake and registration.

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

Legend:

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

    r4572 r5022  
    132132        MachineDataChangeEventType,
    133133        MachineRegisteredEventType,
     134        ShowRegDlgEventType,
    134135        SessionStateChangeEventType,
    135136        SnapshotEventType,
     
    163164    static const char* GUI_LicenseKey;
    164165#endif
     166    static const char* GUI_RegistrationTryLeft;
     167    static const char* GUI_RegistrationDlgWinID;
    165168};
    166169
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r4572 r5022  
    100100};
    101101
     102class VBoxShowRegDlgEvent : public QEvent
     103{
     104public:
     105    VBoxShowRegDlgEvent()
     106        : QEvent ((QEvent::Type) VBoxDefs::ShowRegDlgEventType)
     107        {}
     108};
     109
    102110class VBoxSessionStateChangeEvent : public QEvent
    103111{
     
    136144class VBoxSelectorWnd;
    137145class VBoxConsoleWnd;
     146class VBoxRegistrationDlg;
    138147
    139148class VBoxGlobal : public QObject
     
    367376    bool showVirtualBoxLicense();
    368377#endif
     378
     379    void showRegistrationDialog();
    369380
    370381    CSession openSession (const QUuid &id);
     
    519530    VBoxSelectorWnd *selector_wnd;
    520531    VBoxConsoleWnd *console_wnd;
     532
     533    VBoxRegistrationDlg *mRegDlg;
    521534
    522535    QUuid vmUuid;
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r4572 r5022  
    209209    void warnAboutNewAdditions (QWidget *, const QString &, const QString &);
    210210
     211    void cannotConnectRegister (QWidget *aParent,
     212                                const QString &aURL,
     213                                const QString &aReason);
     214    void showRegisterResult (QWidget *aParent,
     215                             const QString &aResult);
     216
    211217    bool remindAboutInputCapture();
    212218    bool remindAboutAutoCapture();
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