From 584282f5d14bde64795f239ebb7b010e41ab7ea3 Mon Sep 17 00:00:00 2001 From: Andrew Bibb Date: Sun, 20 Nov 2022 09:47:38 -0500 Subject: [PATCH] all columns in technologies header can be resized --- apps/cmstapp/code/control_box/controlbox.cpp | 4 ++-- apps/cmstapp/code/control_box/ui/controlbox.ui | 13 ++++++++----- apps/resource.h | 2 +- text/changelog.txt | 5 +++++ 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/apps/cmstapp/code/control_box/controlbox.cpp b/apps/cmstapp/code/control_box/controlbox.cpp index 0ae8756d..16081a4b 100755 --- a/apps/cmstapp/code/control_box/controlbox.cpp +++ b/apps/cmstapp/code/control_box/controlbox.cpp @@ -1975,8 +1975,8 @@ void ControlBox::assembleTabStatus() bool bt; ui.tableWidget_technologies->clearContents(); ui.tableWidget_technologies->setRowCount(technologies_list.size() ); - ui.tableWidget_technologies->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Fixed); - ui.tableWidget_technologies->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Fixed); + ui.tableWidget_technologies->horizontalHeader()->defaultSectionSize(); + ui.tableWidget_technologies->horizontalHeader()->defaultSectionSize(); if (ui.checkBox_hidetethering->isChecked() ) { ui.tableWidget_technologies->hideColumn(4); diff --git a/apps/cmstapp/code/control_box/ui/controlbox.ui b/apps/cmstapp/code/control_box/ui/controlbox.ui index 9a58e7f8..2776a959 100644 --- a/apps/cmstapp/code/control_box/ui/controlbox.ui +++ b/apps/cmstapp/code/control_box/ui/controlbox.ui @@ -35,7 +35,7 @@ <html><head/><body><p><br/></p></body></html> - 5 + 0 true @@ -202,7 +202,10 @@ false - QAbstractItemView::NoSelection + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows false @@ -211,13 +214,13 @@ false - false + true 75 - - false + + 100 true diff --git a/apps/resource.h b/apps/resource.h index 8ab878ce..fbb87739 100755 --- a/apps/resource.h +++ b/apps/resource.h @@ -34,7 +34,7 @@ DEALINGS IN THE SOFTWARE. ///////////////////////////////// Program Values /////////////////////// // // Program Info (may be visible, but don't mark for tranalation) -#define VERSION "2022.05.01-1" +#define VERSION "2022.11.20-1" #define RELEASE_DATE "1 May 2022" #define COPYRIGHT_DATE "2013-2022" diff --git a/text/changelog.txt b/text/changelog.txt index 86dbf815..7c3d3a84 100644 --- a/text/changelog.txt +++ b/text/changelog.txt @@ -1,5 +1,10 @@
Connman System Tray (CMST)
Change Log
+ In Progress +
    +
  • Numerous translation updates
  • +
  • All columns can be resized in the Technologies windows in the Status tab.
  • +
2022.05.01
  • Revise startup process (issue #269).