- header->show();
-
- searchAgainButton = new QToolButton(this);
- searchAgainButton->setObjectName(QString::fromUtf8("button"));
- QIcon icon;
- icon.addPixmap(QPixmap(QString::fromUtf8(":/icons/search.png")), QIcon::Normal, QIcon::Off);
- searchAgainButton->setIcon(icon);
- QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Minimum);
- sizePolicy1.setHorizontalStretch(0);
- sizePolicy1.setVerticalStretch(0);
- sizePolicy1.setHeightForWidth(searchAgainButton->sizePolicy().hasHeightForWidth());
- searchAgainButton->setSizePolicy(sizePolicy1);
-
- verticalLayout_2->insertWidget(0,searchAgainButton);
-
- searchAgainButton->hide();
- treeView->hide();
- // do not show 'search' header if there are no conferences in the DB
- if(Conference::getAll().count()==0)
- {
- header->hide();
- }