Expend by default all groups.
--HG-- branch : develop
This commit is contained in:
parent
6533579b52
commit
7649ac5f6f
|
@ -338,6 +338,7 @@ QTreeWidgetItem *DialogMDataBase::AddGroup(const QString &text)
|
||||||
QTreeWidgetItem *group = new QTreeWidgetItem(ui->treeWidget);
|
QTreeWidgetItem *group = new QTreeWidgetItem(ui->treeWidget);
|
||||||
group->setText(0, text);
|
group->setText(0, text);
|
||||||
group->setToolTip(0, text);
|
group->setToolTip(0, text);
|
||||||
|
group->setExpanded(true);
|
||||||
if (selectMode)
|
if (selectMode)
|
||||||
{
|
{
|
||||||
group->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
|
group->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
|
||||||
|
|
|
@ -42,6 +42,9 @@
|
||||||
<property name="animated">
|
<property name="animated">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<attribute name="headerCascadingSectionResizes">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
<attribute name="headerMinimumSectionSize">
|
<attribute name="headerMinimumSectionSize">
|
||||||
<number>57</number>
|
<number>57</number>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user