diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-12 20:34:02 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-13 09:17:05 +0100 |
| commit | f32e74c2a78ae2fea6c1f825900287202778bf59 (patch) | |
| tree | ce0a1a726859a5a2c4ec1a57549b853217bd6f24 /src/loglist.h | |
| parent | 9e663691b0ad23faa979361facb416b7ea0fb08d (diff) | |
Allow extended selection in log list and implement copy.
Diffstat (limited to 'src/loglist.h')
| -rw-r--r-- | src/loglist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/loglist.h b/src/loglist.h index 0745ed3e..d502f193 100644 --- a/src/loglist.h +++ b/src/loglist.h @@ -22,6 +22,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "shared/appconfig.h"
+#include "copyeventfilter.h"
#include <log.h>
#include <QTreeView>
#include <deque>
@@ -41,6 +42,8 @@ public: const std::deque<MOBase::log::Entry>& entries() const;
+ QString formattedMessage(const QModelIndex& index) const;
+
protected:
QModelIndex index(int row, int column, const QModelIndex& parent) const override;
QModelIndex parent(const QModelIndex &child) const override;
@@ -77,6 +80,7 @@ public: private:
OrganizerCore* m_core;
QTimer m_timer;
+ CopyEventFilter m_copyFilter;
void onContextMenu(const QPoint& pos);
void onNewEntry();
|
