[QGIS Commit] r8204 - trunk/qgis/python/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Mar 11 17:51:18 EDT 2008


Author: wonder
Date: 2008-03-11 17:51:18 -0400 (Tue, 11 Mar 2008)
New Revision: 8204

Added:
   trunk/qgis/python/gui/qgsencodingfiledialog.sip
Modified:
   trunk/qgis/python/gui/gui.sip
Log:
Wrapped QgsEncodingFileDialog


Modified: trunk/qgis/python/gui/gui.sip
===================================================================
--- trunk/qgis/python/gui/gui.sip	2008-03-10 16:08:43 UTC (rev 8203)
+++ trunk/qgis/python/gui/gui.sip	2008-03-11 21:51:18 UTC (rev 8204)
@@ -9,6 +9,7 @@
 
 
 %Include qgisinterface.sip
+%Include qgsencodingfiledialog.sip
 %Include qgslayerprojectionselector.sip
 %Include qgsmapcanvas.sip
 %Include qgsmapcanvasitem.sip

Added: trunk/qgis/python/gui/qgsencodingfiledialog.sip
===================================================================
--- trunk/qgis/python/gui/qgsencodingfiledialog.sip	                        (rev 0)
+++ trunk/qgis/python/gui/qgsencodingfiledialog.sip	2008-03-11 21:51:18 UTC (rev 8204)
@@ -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;
+};
+



More information about the QGIS-commit mailing list