]> git.cworth.org Git - apitrace/blob - gui/jumpwidget.h
Implement jumping to a specific call.
[apitrace] / gui / jumpwidget.h
1 #ifndef JUMPWIDGET_H
2 #define JUMPWIDGET_H
3
4 #include "ui_jumpwidget.h"
5 #include <QWidget>
6
7 class QShowEvent;
8
9 class JumpWidget : public QWidget
10 {
11     Q_OBJECT
12 public:
13     JumpWidget(QWidget *parent = 0);
14
15 signals:
16     void jumpTo(int callNumber);
17
18 private slots:
19     void slotJump();
20     void slotCancel();
21
22 protected:
23     virtual void showEvent(QShowEvent *event);
24
25 private:
26     Ui_JumpWidget m_ui;
27 };
28
29 #endif