Commit cb0dcde0 authored by Ludovic Fauvet's avatar Ludovic Fauvet

gui: add path completion to the export dialog

parent 9acf1644
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include <QFileDialog> #include <QFileDialog>
#include <QMessageBox> #include <QMessageBox>
#include <QCompleter>
#include <QDirModel>
RendererSettings::RendererSettings() RendererSettings::RendererSettings()
{ {
...@@ -37,6 +39,10 @@ RendererSettings::RendererSettings() ...@@ -37,6 +39,10 @@ RendererSettings::RendererSettings()
m_ui.width->setValue( VLMC_PROJECT_GET_INT( "video/VideoProjectWidth" ) ); m_ui.width->setValue( VLMC_PROJECT_GET_INT( "video/VideoProjectWidth" ) );
m_ui.height->setValue( VLMC_PROJECT_GET_INT( "video/VideoProjectHeight" ) ); m_ui.height->setValue( VLMC_PROJECT_GET_INT( "video/VideoProjectHeight" ) );
m_ui.fps->setValue( VLMC_PROJECT_GET_DOUBLE( "video/VLMCOutputFPS" ) ); m_ui.fps->setValue( VLMC_PROJECT_GET_DOUBLE( "video/VLMCOutputFPS" ) );
QCompleter* completer = new QCompleter( this );
completer->setModel( new QDirModel( completer ) );
m_ui.outputFileName->setCompleter( completer );
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment