VirtualBox

Ignore:
Timestamp:
Apr 2, 2007 2:55:09 PM (18 years ago)
Author:
vboxsync
Message:

1902: "Select Directory" dialogs are not native:

Own Win32 API native folders list dialog implemented. Dialog implemented as designed in parallel thread to avoid errors caused by COM initialization.
Change get-existing-directory to native in three places:

  1. Machine & VDI default location selection in Global Settings.
  2. Default snapshot location selection in VM Settings.
  3. Shared folder selection.
Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
2 edited

Legend:

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

    r1370 r1863  
    137137#if defined (Q_WS_WIN)
    138138        ShellExecuteEventType,
     139        GetExistDirectoryEventType,
    139140#endif
    140141        ActivateMenuEventType,
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r1804 r1863  
    396396    static QString highlight (const QString &aStr, bool aToolTip = false);
    397397
     398    void getExistingDirectory (const QString &aDir, QWidget *aParent,
     399                               const char *aName = 0,
     400                               const QString &aCaption = QString::null,
     401                               bool aDirOnly = TRUE,
     402                               bool resolveSymlinks = TRUE);
     403
    398404    static QString getOpenFileName (const QString &, const QString &, QWidget*,
    399405                                    const char*, const QString &,
     
    440446    void sessionStateChanged (const VBoxSessionStateChangeEvent &e);
    441447    void snapshotChanged (const VBoxSnapshotEvent &e);
     448
     449    /* Emitted upon getExistingDirectory dialog accepting */
     450    void existingDirectoryResult (const QString &);
    442451
    443452protected:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette