diff options
| author | AL <ga12@hotmail.it> | 2020-01-09 02:02:24 +0100 |
|---|---|---|
| committer | AL <ga12@hotmail.it> | 2020-01-09 02:02:24 +0100 |
| commit | 3c6804c502e760f28113af06c735fb8bb804d249 (patch) | |
| tree | 3a5f74aa539d034ada70adc65060d6319d8596b8 /src | |
| parent | 734bd0ed20196206364d87c584dce3e1e498f4cd (diff) | |
Add headers with tooltips to Filter view.
Diffstat (limited to 'src')
| -rw-r--r-- | src/filterlist.cpp | 2 | ||||
| -rw-r--r-- | src/mainwindow.ui | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/filterlist.cpp b/src/filterlist.cpp index 4287869d..a0928fcc 100644 --- a/src/filterlist.cpp +++ b/src/filterlist.cpp @@ -199,7 +199,7 @@ FilterList::FilterList(Ui::MainWindow* ui, CategoryFactory& factory) [&]{ onOptionsChanged(); }); ui->filters->header()->setMinimumSectionSize(0); - ui->filters->header()->setSectionResizeMode(0, QHeaderView::Fixed); + ui->filters->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents); ui->filters->header()->resizeSection(0, 30); ui->categoriesSplitter->setCollapsible(0, false); ui->categoriesSplitter->setCollapsible(1, false); diff --git a/src/mainwindow.ui b/src/mainwindow.ui index a7e7b937..d0daafc0 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -101,19 +101,25 @@ <bool>true</bool> </property> <attribute name="headerVisible"> - <bool>false</bool> + <bool>true</bool> </attribute> <attribute name="headerCascadingSectionResizes"> <bool>false</bool> </attribute> <column> <property name="text"> - <string/> + <string>State</string> + </property> + <property name="toolTip"> + <string>State of the filter, can either be Disabled, Enabled or Inverted.</string> </property> </column> <column> <property name="text"> - <string notr="true">Category</string> + <string notr="true">Filter</string> + </property> + <property name="toolTip"> + <string>Filter to apply to the modlist.</string> </property> </column> </widget> |
