]> git.cworth.org Git - apitrace/blob - gui/mainwindow.h
add lots of quirks and details view
[apitrace] / gui / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include "ui_mainwindow.h"
5
6 #include <QMainWindow>
7
8
9 class ApiTraceModel;
10 class ApiTraceFilter;
11 class QModelIndex;
12
13 class MainWindow : public QMainWindow
14 {
15     Q_OBJECT
16 public:
17     MainWindow();
18
19 public slots:
20     void loadTrace(const QString &fileName);
21
22 private slots:
23     void callItemSelected(const QModelIndex &index);
24     void openTrace();
25
26 private:
27     Ui_MainWindow m_ui;
28     ApiTraceModel *m_model;
29     ApiTraceFilter *m_proxyModel;
30 };
31
32
33 #endif