Skip to content

Commit

Permalink
all columns in technologies header can be resized
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-bibb committed Nov 20, 2022
1 parent c0b394e commit 584282f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/cmstapp/code/control_box/controlbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
13 changes: 8 additions & 5 deletions apps/cmstapp/code/control_box/ui/controlbox.ui
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="currentIndex">
<number>5</number>
<number>0</number>
</property>
<property name="movable">
<bool>true</bool>
Expand Down Expand Up @@ -202,7 +202,10 @@
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
Expand All @@ -211,13 +214,13 @@
<bool>false</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>75</number>
</attribute>
<attribute name="horizontalHeaderHighlightSections">
<bool>false</bool>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>100</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
Expand Down
2 changes: 1 addition & 1 deletion apps/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions text/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<b><center>Connman System Tray (CMST)</center></b>
<b><center>Change Log</center></b>
<b> In Progress</b>
<ul>
<li>Numerous translation updates</li>
<li>All columns can be resized in the Technologies windows in the Status tab.</li>
</ul>
<b> 2022.05.01</b>
<ul>
<li>Revise startup process (issue #269).</li>
Expand Down

0 comments on commit 584282f

Please sign in to comment.