Skip to content

Commit

Permalink
Wrapped QgsEncodingFileDialog
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8204 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 11, 2008
1 parent 10d1349 commit 9da6874
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/gui/gui.sip
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@


%Include qgisinterface.sip
%Include qgsencodingfiledialog.sip
%Include qgslayerprojectionselector.sip
%Include qgsmapcanvas.sip
%Include qgsmapcanvasitem.sip
Expand Down
17 changes: 17 additions & 0 deletions python/gui/qgsencodingfiledialog.sip
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

/**A file dialog which lets the user select the prefered encoding type for a data provider*/
class QgsEncodingFileDialog : QFileDialog
{
%TypeHeaderCode
#include <qgsencodingfiledialog.h>
%End

public:
QgsEncodingFileDialog(QWidget * parent = 0,
const QString & caption = QString(), const QString & directory = QString(),
const QString & filter = QString(), const QString & encoding = QString());
~QgsEncodingFileDialog();
/**Returns a string describing the choosen encoding*/
QString encoding() const;
};

0 comments on commit 9da6874

Please sign in to comment.