]> git.cworth.org Git - apitrace/blob - gui/profiledialog.h
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / gui / profiledialog.h
1 #ifndef PROFILEDIALOG_H
2 #define PROFILEDIALOG_H
3
4 #include "ui_profiledialog.h"
5 #include <QDialog>
6
7 namespace trace { struct Profile; }
8
9 class ProfileDialog : public QDialog, public Ui_ProfileDialog
10 {
11     Q_OBJECT
12
13 public:
14     ProfileDialog(QWidget *parent = 0);
15     ~ProfileDialog();
16     
17     void setProfile(trace::Profile* profile);
18     void showCall(int call);
19
20 public slots:
21     void tableDoubleClicked(const QModelIndex& index);
22     void graphSelectionChanged(SelectionState state);
23
24 signals:
25     void jumpToCall(int call);
26
27 private:
28     trace::Profile *m_profile;
29 };
30
31 #endif