ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cmdLog.h
Go to the documentation of this file.
1 
9 #ifndef CMD_LOG_H
10 #define CMD_LOG_H
11 
12 #include <QObject>
13 #include <QWidget>
14 #include <QItemSelection>
15 #include <QTabWidget>
16 #include <QTableView>
17 #include <QSortFilterProxyModel>
18 
19 #include <QLabel>
20 #include <QGridLayout>
21 #include <QTime>
22 
24 
25 namespace Ui {
26  class CmdLogWdg;
27 }
28 
29 //class QSortFilterProxyModel;
30 class QItemSelectionModel;
31 
32 class CmdLogWdg : public QWidget
33 {
34  Q_OBJECT
35 
36 public:
37  explicit CmdLogWdg(QWidget *parent = 0);
38 
39 
40 public slots:
41 
42  void addEntry(QString time, QString type, QString cmd, QString text);
43  void removeEntry();
44  void HandleClearButton();
45 
46 signals:
47  void selectionChanged (const QItemSelection &selected);
48 
49 private:
50  Ui::CmdLogWdg *ui;
51 
52  CmdLogModel *m_cmd_log_model;
53  QTime m_log_time;
54  QSortFilterProxyModel *m_proxy_model;
55 
56 };
57 
58 #endif // CMD_LOG_H
Definition: cmdLog.h:32
void HandleClearButton()
Definition: cmdLog.cpp:129
void removeEntry()
Definition: cmdLog.cpp:99
Definition: cmdLogModel.h:43
CmdLogWdg(QWidget *parent=0)
Definition: cmdLog.cpp:28
WDGLIB CmdLogModel class declaration file.
void addEntry(QString time, QString type, QString cmd, QString text)
Definition: cmdLog.cpp:77
void selectionChanged(const QItemSelection &selected)