File tree Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- __import__ ('pkg_resources' ).declare_namespace (__name__ )
3- __version__ = '1.0.4'
4- from qtpandas .models .DataFrameModel import DataFrameModel , read_file , read_sql
2+
3+ from qtpandas .models .DataFrameModel import (DataFrameModel ,
4+ read_file ,
5+ read_sql )
6+
57from qtpandas .models .ColumnDtypeModel import ColumnDtypeModel
8+
69from qtpandas .models .DataSearch import DataSearch
7- from qtpandas .views .CSVDialogs import CSVExportDialog , CSVImportDialog
8- from qtpandas .views .EditDialogs import AddAttributesDialog , RemoveAttributesDialog
10+
11+ from qtpandas .views .CSVDialogs import (CSVExportDialog ,
12+ CSVImportDialog )
13+
14+ from qtpandas .views .EditDialogs import (AddAttributesDialog ,
15+ RemoveAttributesDialog )
16+
17+ # __import__('pkg_resources').declare_namespace(__name__)
18+
19+ __version__ = '1.0.4'
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def _initUI(self):
120120 layout .addWidget (self .otherSeparatorLineEdit )
121121 self .setLayout (layout )
122122
123- @Slot (' bool' )
123+ @Slot (bool )
124124 def _enableLine (self , toggled ):
125125 self .otherSeparatorLineEdit .setEnabled (toggled )
126126
@@ -142,7 +142,7 @@ def currentSelected(self):
142142 return
143143
144144
145- @Slot (' bool' )
145+ @Slot (bool )
146146 def _delimiter (self , checked ):
147147 if checked :
148148 if self .commaRadioButton .isChecked ():
@@ -319,7 +319,7 @@ def _openFile(self):
319319 self ._filenameLineEdit .setText (ret )
320320 self ._updateFilename ()
321321
322- @Slot (' bool' )
322+ @Slot (bool )
323323 def _updateHeader (self , toggled ):
324324 """Changes the internal flag, whether the csv file contains a header or not.
325325
@@ -498,7 +498,7 @@ class CSVExportDialog(QtGui.QDialog):
498498 """An widget to serialize a `DataFrameModel` to a `CSV-File`.
499499
500500 """
501- exported = Signal (' bool' )
501+ exported = Signal (bool )
502502
503503 def __init__ (self , model = None , parent = None ):
504504 super (CSVExportDialog , self ).__init__ (parent )
You can’t perform that action at this time.
0 commit comments