-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathfiletypesview.h
51 lines (38 loc) · 1.13 KB
/
filetypesview.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Created on: 4.4.2013
* Author: Antti Kamppi
* File name: filetypesview.h
* Project: Kactus 2
*/
#ifndef FILETYPESVIEW_H
#define FILETYPESVIEW_H
#include <common/views/EditableTableView/editabletableview.h>
/*! \brief A view for the file type settings in the settings dialog.
*
*/
class FileTypesView : public EditableTableView {
Q_OBJECT
public:
/*! \brief The constructor.
*
* Method: FileTypesView
* Full name: FileTypesView::FileTypesView
* Access: private
*
* \param parent Pointer to the owner of the view.
*
*/
FileTypesView(QWidget *parent);
//! \brief The destructor.
virtual ~FileTypesView() = default;
//! \brief No copying
FileTypesView(const FileTypesView& other) = delete;
//! \brief No assignment
FileTypesView& operator=(const FileTypesView& other) = delete;
protected:
//! \brief Handler for context menu events
virtual void contextMenuEvent(QContextMenuEvent* event) override final;
//! \brief Handler for key press events
virtual void keyPressEvent(QKeyEvent* event) override final;
};
#endif // FILETYPESVIEW_H