mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Port the code that actually parses the CSV to the new system
Change the QWidget based approach to the Model based approach, using the result QStringList for finding if we have the depth or the time of some specific column. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d0a62e452b
commit
555fd979cb
2 changed files with 65 additions and 67 deletions
|
|
@ -37,6 +37,7 @@ public:
|
|||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
void setColumnValues(QList<QStringList> columns);
|
||||
QStringList result() const;
|
||||
private:
|
||||
QList<QStringList> columnValues;
|
||||
QStringList columnNames;
|
||||
|
|
@ -79,8 +80,6 @@ public:
|
|||
private
|
||||
slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_knownImports_currentIndexChanged(int index);
|
||||
void unknownImports();
|
||||
void loadFileContents();
|
||||
private:
|
||||
bool selector;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue