Expend by default all groups.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-08 14:10:56 +03:00
parent 6533579b52
commit 7649ac5f6f
2 changed files with 4 additions and 0 deletions

View File

@ -338,6 +338,7 @@ QTreeWidgetItem *DialogMDataBase::AddGroup(const QString &text)
QTreeWidgetItem *group = new QTreeWidgetItem(ui->treeWidget);
group->setText(0, text);
group->setToolTip(0, text);
group->setExpanded(true);
if (selectMode)
{
group->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);

View File

@ -42,6 +42,9 @@
<property name="animated">
<bool>true</bool>
</property>
<attribute name="headerCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="headerMinimumSectionSize">
<number>57</number>
</attribute>