Commit 03fabf49 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

extended FileInterface

it is now possible to provide a special loadWidget/saveWidget for every nameFilter

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@2779 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 79cb04cb
......@@ -274,10 +274,6 @@ void FileTriangleMeshPlugin::saveIniFile( INIFile& _ini ,int _id) {
}
}
QWidget* FileTriangleMeshPlugin::saveOptionsWidget() {
return saveOptionsWidget("");
}
QWidget* FileTriangleMeshPlugin::saveOptionsWidget(QString _currentFilter) {
if (saveOptions_ == 0){
......@@ -312,10 +308,6 @@ QWidget* FileTriangleMeshPlugin::saveOptionsWidget(QString _currentFilter) {
return saveOptions_;
}
QWidget* FileTriangleMeshPlugin::loadOptionsWidget() {
return 0;
}
QWidget* FileTriangleMeshPlugin::loadOptionsWidget(QString _currentFilter) {
return 0;
}
......
......@@ -98,9 +98,7 @@ class FileTriangleMeshPlugin : public QObject, BaseInterface, FileInterface, Loa
QString getSaveFilters();
QString getLoadFilters();
QWidget* saveOptionsWidget();
QWidget* saveOptionsWidget(QString _currentFilter);
QWidget* loadOptionsWidget();
QWidget* loadOptionsWidget(QString _currentFilter);
private :
......
Supports Markdown
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