mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-26 15:54:15 +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
|
plugin_scope.depends = plugin_coreplugin
|
||||||
SUBDIRS += plugin_modelview
|
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);
|
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,
|
void updateEditorGeometry(QWidget *editor,
|
||||||
const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||||
|
QSize sizeHint(const QStyleOptionViewItem & option,
|
||||||
|
const QModelIndex &index) const;
|
||||||
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user