VirtualBox

Ignore:
Timestamp:
Oct 30, 2009 11:07:40 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54129
Message:

FE/Qt4: Relayout the progress dialog a bit & make the ETA text more user friendly.

File:
1 edited

Legend:

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

    r23031 r24182  
    66
    77/*
    8  * Copyright (C) 2008 Sun Microsystems, Inc.
     8 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2727#include <QDialog>
    2828
     29/* Qt forwards declarations */
     30class QEventLoop;
     31
    2932class QIDialog: public QDialog
    3033{
     
    3235
    3336public:
    34 
    3537    QIDialog (QWidget *aParent = 0, Qt::WindowFlags aFlags = 0);
     38    void setVisible (bool aVisible);
    3639
    3740public slots:
    38     int exec();
     41    int exec (bool aShow = true);
    3942
    4043protected:
    41 
    4244    void showEvent (QShowEvent *aEvent);
    4345
     46private:
     47    /* Private member vars */
    4448    bool mPolished;
     49    QEventLoop *mEventLoop;
    4550};
    4651
    4752#endif /* __QIDialog_h__ */
     53
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