matrices
Last change
on this file since 871fd5d was
44d1e60,
checked in by Jose Ruiz <joseruiz@…>, 9 years ago
|
commit inicial
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | Copyright (c) 2013, Ronie P. Martinez <ronmarti18@gmail.com> |
---|
3 | All rights reserved. |
---|
4 | |
---|
5 | Permission to use, copy, modify, and/or distribute this software for any purpose |
---|
6 | with or without fee is hereby granted, provided that the above copyright notice |
---|
7 | and this permission notice appear in all copies. |
---|
8 | |
---|
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH |
---|
10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
---|
11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, |
---|
12 | OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA |
---|
13 | OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
---|
14 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef CSVREADER_H |
---|
18 | #define CSVREADER_H |
---|
19 | |
---|
20 | #include <QMainWindow> |
---|
21 | #include <QFile> |
---|
22 | #include <QFileDialog> |
---|
23 | #include <QTextStream> |
---|
24 | #include <QDebug> |
---|
25 | #include <QString> |
---|
26 | #include <QStandardItemModel> |
---|
27 | |
---|
28 | namespace Ui { |
---|
29 | class CsvReader; |
---|
30 | } |
---|
31 | |
---|
32 | class CsvReader : public QMainWindow |
---|
33 | { |
---|
34 | Q_OBJECT |
---|
35 | |
---|
36 | public: |
---|
37 | explicit CsvReader(QWidget *parent = 0); |
---|
38 | ~CsvReader(); |
---|
39 | |
---|
40 | private slots: |
---|
41 | void on_action_Open_triggered(); |
---|
42 | void checkString(QString &temp, QChar character = 0); |
---|
43 | |
---|
44 | private: |
---|
45 | Ui::CsvReader *ui; |
---|
46 | QList<QStringList> csv; |
---|
47 | QStandardItemModel *model; |
---|
48 | QList<QStandardItem*> standardItemList; |
---|
49 | |
---|
50 | }; |
---|
51 | |
---|
52 | #endif // CSVREADER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.