mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
GCS/uavobjectbrowser: Increase row height in tree view.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@437 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
85aef7c757
commit
25e9e31584
@ -54,4 +54,10 @@ plugin_modelview.subdir = modelview
|
||||
plugin_scope.depends = plugin_coreplugin
|
||||
SUBDIRS += plugin_modelview
|
||||
|
||||
# UAVObject Browser Gadget
|
||||
plugin_uavobjectbrowser.subdir = uavobjectbrowser
|
||||
plugin_uavobjectbrowser.depends = plugin_coreplugin
|
||||
plugin_uavobjectbrowser.depends = plugin_uavobjects
|
||||
SUBDIRS += plugin_uavobjectbrowser
|
||||
|
||||
|
||||
|
@ -98,3 +98,8 @@ void BrowserItemDelegate::updateEditorGeometry(QWidget *editor,
|
||||
{
|
||||
editor->setGeometry(option.rect);
|
||||
}
|
||||
|
||||
QSize BrowserItemDelegate::sizeHint(const QStyleOptionViewItem & option, const QModelIndex &index) const
|
||||
{
|
||||
return QSpinBox().sizeHint();
|
||||
}
|
||||
|
@ -45,6 +45,9 @@ public:
|
||||
|
||||
void updateEditorGeometry(QWidget *editor,
|
||||
const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
QSize sizeHint(const QStyleOptionViewItem & option,
|
||||
const QModelIndex &index) const;
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user