VirtualBox

Ignore:
Timestamp:
Mar 13, 2007 9:35:26 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19468
Message:

1827: Lock down Qt GUI implemented.

These options are now supported as “GUI/Customizations” extra data features:
noMenuBar | the menu bar is not shown.
noStatusBar | the status bar is not shown.
noSelector | prevents VirtualBox from running in the Selector mode (Problem Reporter error MessageBox about running VirtualBox in “noSelector” mode).

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

Legend:

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

    r993 r1435  
    109109    void finalizeOpenView();
    110110
     111    void loadGuiCustomizations();
     112
    111113    void vmFullscreen (bool on);
    112114    void vmAutoresizeGuest (bool on);
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r1370 r1435  
    207207                                     const QString &hostKey);
    208208
     209    void cannotRunInSelectorMode();
     210
    209211    void showRuntimeError (const CConsole &console, bool fatal,
    210212                           const QString &errorID,
  • trunk/src/VBox/Frontends/VirtualBox/include/VMGlobalSettings.h

    r382 r1435  
    4343    int hostkey;
    4444    bool autoCapture;
     45    QString guiFeatures;
    4546
    4647    friend class VMGlobalSettings;
     
    5455    Q_PROPERTY (int hostKey READ hostKey WRITE setHostKey)
    5556    Q_PROPERTY (bool autoCapture READ autoCapture WRITE setAutoCapture)
     57    Q_PROPERTY (QString guiFeatures READ guiFeatures WRITE setGuiFeatures)
    5658
    5759public:
     
    7678        resetError();
    7779    }
     80
     81    QString guiFeatures() const { return data()->guiFeatures; }
     82    void setGuiFeatures (const QString &aFeatures)
     83    {
     84        mData()->guiFeatures = aFeatures;
     85    }
     86    bool isFeatureActivated (const char*) const;
    7887
    7988    //
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