More case fixes of filenames.

This commit is contained in:
eelke 2017-02-12 15:51:36 +01:00
parent 20af12535e
commit e71ef2e6df
41 changed files with 258 additions and 123 deletions

35
src/ParamTypeDelegate.cpp Normal file
View file

@ -0,0 +1,35 @@
#include "ParamTypeDelegate.h"
#include <QComboBox>
#include "TypeSelectionItemModel.h"
ParamTypeDelegate::ParamTypeDelegate()
{}
ParamTypeDelegate::~ParamTypeDelegate()
{}
void ParamTypeDelegate::setTypeSelectionModel(TypeSelectionItemModel* model)
{
m_typeSelectionModel = model;
}
QWidget *ParamTypeDelegate::createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
QWidget *w = nullptr;
QComboBox *cmbbx = new QComboBox(parent);
cmbbx->setModel(m_typeSelectionModel);
w = cmbbx;
// ...
// m_ComboBox->setView(m_ColumnView);
// m_ComboBox->view()->setCornerWidget(new QSizeGrip(m_ColumnView));
// m_ComboBox->view()->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
// ...
return w;
}