LibrePCB Developers Documentation
Loading...
Searching...
No Matches
KeySequenceDelegate Class Referencefinal

Subclass of QStyledItemDelegate to display/edit a QKeySequence. More...

#include <keysequencedelegate.h>

Inherits QStyledItemDelegate.

+ Collaboration diagram for KeySequenceDelegate:

Public Member Functions

 KeySequenceDelegate (QObject *parent=nullptr) noexcept
 
 KeySequenceDelegate (const KeySequenceDelegate &other)=delete
 
 ~KeySequenceDelegate () noexcept
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
KeySequenceDelegateoperator= (const KeySequenceDelegate &rhs)=delete
 

Detailed Description

Subclass of QStyledItemDelegate to display/edit a QKeySequence.

Constructor & Destructor Documentation

◆ KeySequenceDelegate() [1/2]

KeySequenceDelegate ( QObject *  parent = nullptr)
explicitnoexcept

◆ KeySequenceDelegate() [2/2]

KeySequenceDelegate ( const KeySequenceDelegate other)
delete

◆ ~KeySequenceDelegate()

~KeySequenceDelegate ( )
noexcept

Member Function Documentation

◆ createEditor()

QWidget * createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override
+ Here is the call graph for this function:

◆ setEditorData()

void setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
override
+ Here is the call graph for this function:

◆ setModelData()

void setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
override
+ Here is the call graph for this function:

◆ updateEditorGeometry()

void updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override
+ Here is the call graph for this function:

◆ operator=()

KeySequenceDelegate & operator= ( const KeySequenceDelegate rhs)
delete

The documentation for this class was generated from the following files: