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);
26 void selectProgram(unsigned program);
27 void selectTime(int64_t start, int64_t end);
30 void jumpToCall(int call);
33 trace::Profile *m_profile;
36 QString getTimeString(int64_t time, int64_t unitTime = 0);