prepering for merge

This commit is contained in:
Marek Kochanowicz 2014-06-30 20:06:18 +02:00
parent 6dc199743c
commit 3ebc469f04
2 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,7 @@
#include "util.hpp"
#include <QHeaderView>
#include <QContextMenuEvent>
CSVWorld::NestedTable::NestedTable(QUndoStack& undoStack,
CSMWorld::NestedTableModel* model,
@ -43,3 +44,8 @@ void CSVWorld::NestedTable::dragEnterEvent(QDragEnterEvent *event)
void CSVWorld::NestedTable::dragMoveEvent(QDragMoveEvent *event)
{
}
void CSVWorld::NestedTable::contextMenuEvent (QContextMenuEvent *event)
{
QModelIndexList selectedRows = selectionModel()->selectedRows();
}

View file

@ -6,6 +6,7 @@
class QUndoStack;
class QAction;
class QContextMenuEvent;
namespace CSMWorld
{
@ -37,6 +38,9 @@ namespace CSVWorld
void dragEnterEvent(QDragEnterEvent *event);
void dragMoveEvent(QDragMoveEvent *event);
private:
void contextMenuEvent (QContextMenuEvent *event);
};
}