mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-11 16:33:02 -04:00
parent
701013baab
commit
317f603262
4 changed files with 32 additions and 5 deletions
|
@ -40,6 +40,9 @@ EntryView::EntryView(QWidget* parent)
|
|||
setSortingEnabled(true);
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
|
||||
// QAbstractItemView::startDrag() uses this property as the default drag action
|
||||
setDefaultDropAction(Qt::MoveAction);
|
||||
|
||||
connect(this, SIGNAL(activated(QModelIndex)), SLOT(emitEntryActivated(QModelIndex)));
|
||||
connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), SIGNAL(entrySelectionChanged()));
|
||||
connect(m_model, SIGNAL(switchedToEntryListMode()), SLOT(switchToEntryListMode()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue