QFile dialog, native view
Hi I would like to open a dialog to allow the user to choose a directory.
At the moment I only wrote these line of code:
Code:
void ConfigDlg::chooseSrcDir()
{
dialog.exec();
}
where ConfigDlg inherits from QDialod so:
Code:
#ifndef __CONFIGDLG_H__
#define __CONFIGDLG_H__
#include "GeneratedFiles/ui_configDlg.h"
#include <QDialog>
{
Q_OBJECT
public:
virtual ~ConfigDlg();
private slots:
void chooseSrcDir();
void chooseOutputDir();
protected:
private:
Ui::configDlg ui;
};
#endif __CONFIGDLG_H__.
The exec doesn't display the dialog in native mode, but in Qt mode, and this is extremely slow on my machine.
How can I force Qt to show the dialog in native mode?
Best Regards,
Frank
Re: QFile dialog, native view
Re: QFile dialog, native view
Quote:
Originally Posted by
Lykurg
I don't know why the dialogs in Qt mode are slower than native mode
Re: QFile dialog, native view
Quote:
Originally Posted by
franco.amato
I don't know why the dialogs in Qt mode are slower than native mode
me neither but did you get a nativ dialog throug the mentiond static version? Because you normally should.
Re: QFile dialog, native view
Quote:
Originally Posted by
Lykurg
me neither but did you get a nativ dialog throug the mentiond static version? Because you normally should.
Yes I got it.
Thank you very much