![]() |
tuchulcha
0.10.1
Graphical Workflow Configuration Editor
|
customized variant of QListView with reworked handling of copy shortcut More...
#include <QCopyListView.h>

Public Member Functions | |
| QCopyListView (QWidget *parent=0) | |
| default constructor More... | |
| QMimeData * | getSelectedContent () const |
| get mime-data representation of selected indices More... | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *event) |
| reworked key press event handler able to copy multipe lines into the clipboard More... | |
QAbstractItemView only copies one currently active cell to the clipboard. For a log viewer, also a continguous selection (multiple log lines) sould be able to be copied into the clipboard. This is handled by a reworked variant of the keyPressEvent handler.
Definition at line 35 of file QCopyListView.h.
|
explicit |
| [in] | parent | parent widget |
Definition at line 32 of file QCopyListView.cpp.
| QMimeData * QCopyListView::getSelectedContent | ( | ) | const |
Definition at line 40 of file QCopyListView.cpp.
|
protectedvirtual |
| [in] | event | key event |
Definition at line 96 of file QCopyListView.cpp.
References getSelectedContent().