More case fixes of filenames.
This commit is contained in:
parent
20af12535e
commit
e71ef2e6df
41 changed files with 258 additions and 123 deletions
25
src/ParamTypeDelegate.h
Normal file
25
src/ParamTypeDelegate.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef PARAMTYPEDELEGATE_H
|
||||
#define PARAMTYPEDELEGATE_H
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
class TypeSelectionItemModel;
|
||||
|
||||
/** Item delegate for supplying a combobox for selected the parameter type in
|
||||
* the parameter list.
|
||||
*/
|
||||
class ParamTypeDelegate : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ParamTypeDelegate();
|
||||
~ParamTypeDelegate();
|
||||
|
||||
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const override;
|
||||
void setTypeSelectionModel(TypeSelectionItemModel* model);
|
||||
private:
|
||||
TypeSelectionItemModel* m_typeSelectionModel = nullptr;
|
||||
};
|
||||
|
||||
#endif // PARAMTYPEDELEGATE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue