1 #ifndef PROFILEDIALOG_H
2 #define PROFILEDIALOG_H
4 #include "ui_profiledialog.h"
7 namespace trace { struct Profile; }
9 class ProfileDialog : public QDialog, public Ui_ProfileDialog
14 ProfileDialog(QWidget *parent = 0);
17 void setProfile(trace::Profile* profile);
20 void setVerticalScrollMax(int max);
21 void setHorizontalScrollMax(int max);
23 void tableDoubleClicked(const QModelIndex& index);
25 void selectionChanged(int64_t start, int64_t end);
28 void jumpToCall(int call);
31 trace::Profile *m_profile;
34 QString getTimeString(int64_t time, int64_t unitTime = 0);