summaryrefslogtreecommitdiff
path: root/gui/jumpwidget.h
blob: 8fec83f4f8c67eba0c09768a73c150a223a11bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "ui_jumpwidget.h"
#include <QWidget>

class QKeyEvent;
class QShowEvent;

class JumpWidget : public QWidget
{
    Q_OBJECT
public:
    JumpWidget(QWidget *parent = 0);

signals:
    void jumpTo(int callNumber);

private slots:
    void slotJump();
    void slotCancel();

protected:
    virtual bool eventFilter(QObject *object, QEvent* event);
    virtual void showEvent(QShowEvent *event);

private:
    Ui_JumpWidget m_ui;
};