Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (36 sloc) 1.02 KB
#ifndef RYCONNECTIONTABLEVIEW_H
#define RYCONNECTIONTABLEVIEW_H
#include <QTableView>
#include <QtCore>
#include <QtGui>
class RyConnectionTableView : public QTableView
{
Q_OBJECT
public:
explicit RyConnectionTableView(QWidget *parent = 0);
signals:
public slots:
protected:
virtual void contextMenuEvent (QContextMenuEvent *event);
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
private slots:
void onAction(QAction*);
private:
QMenu *_contextMenu;
QMenu *_saveMenu;
QMenu *_removeMenu;
QAction *_saveSelectedSessionAct;
QAction *_saveAllSessionAct;
QAction *_saveSessionsRevertAct;
QAction *_removeSelectedSessionAct;
QAction *_removeAllSessionAct;
QAction *_removeSessionsRevertAct;
QAction *_saveSessionRespnoseBodyAct;
QAction *_saveSessionRequestAct;
QAction *_autoScrollAct;
bool _isMouseDown;
void createMenu();
};
#endif // RYCONNECTIONTABLEVIEW_H
Something went wrong with that request. Please try again.