60 #include "QtFileDialog.hh"
62 #include <OpenMesh/Core/IO/IOManager.hh>
64 #include <QFileDialog>
65 #include <QMessageBox>
76 getOpenFileName(QWidget* _parent,
77 const QString& _caption,
78 const QString& _filter,
79 const QString& _start)
82 QFileDialog::getOpenFileName( _parent,
93 getOpenMeshName(QWidget* _parent,
94 const QString& _caption,
95 const QString& _start)
98 ACG::getOpenFileName(_parent,
109 getOpenFileNames(QWidget* _parent,
110 const QString& _caption,
111 const QString& _filter,
112 const QString& _start)
115 QFileDialog::getOpenFileNames( _parent,
126 getOpenMeshNames(QWidget* _parent,
127 const QString& _caption,
128 const QString& _start)
131 ACG::getOpenFileNames(_parent,
142 getSaveFileName(QWidget* _parent,
143 const QString& _caption,
144 const QString& _filter,
146 const QString& _start)
149 QFileDialog::getSaveFileName ( _parent,
157 if (_askOW && !filename.isEmpty() && QFile(filename).exists())
160 s += QString(
"The file\n ");
162 s += QString(
"\nalready exists.\n\n");
163 s += QString(
"Do you want to overwrite it?");
165 if (QMessageBox::warning(_parent,
"Overwrite", s,
166 QMessageBox::Yes | QMessageBox::Default,
167 QMessageBox::No | QMessageBox::Escape)
169 return QString::null;
177 getSaveMeshName(QWidget* _parent,
178 const QString& _caption,
180 const QString& _start)
183 ACG::getSaveFileName(_parent,
186 qt_write_filters().c_str(),
Namespace providing different geometric functions concerning angles.
_IOManager_ & IOManager()