Skip to content

Commit 584282f

Browse files
committed
all columns in technologies header can be resized
1 parent c0b394e commit 584282f

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

apps/cmstapp/code/control_box/controlbox.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,8 +1975,8 @@ void ControlBox::assembleTabStatus()
19751975
bool bt;
19761976
ui.tableWidget_technologies->clearContents();
19771977
ui.tableWidget_technologies->setRowCount(technologies_list.size() );
1978-
ui.tableWidget_technologies->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Fixed);
1979-
ui.tableWidget_technologies->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Fixed);
1978+
ui.tableWidget_technologies->horizontalHeader()->defaultSectionSize();
1979+
ui.tableWidget_technologies->horizontalHeader()->defaultSectionSize();
19801980

19811981
if (ui.checkBox_hidetethering->isChecked() ) {
19821982
ui.tableWidget_technologies->hideColumn(4);

apps/cmstapp/code/control_box/ui/controlbox.ui

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<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>
3636
</property>
3737
<property name="currentIndex">
38-
<number>5</number>
38+
<number>0</number>
3939
</property>
4040
<property name="movable">
4141
<bool>true</bool>
@@ -202,7 +202,10 @@
202202
<bool>false</bool>
203203
</property>
204204
<property name="selectionMode">
205-
<enum>QAbstractItemView::NoSelection</enum>
205+
<enum>QAbstractItemView::SingleSelection</enum>
206+
</property>
207+
<property name="selectionBehavior">
208+
<enum>QAbstractItemView::SelectRows</enum>
206209
</property>
207210
<property name="showGrid">
208211
<bool>false</bool>
@@ -211,13 +214,13 @@
211214
<bool>false</bool>
212215
</property>
213216
<attribute name="horizontalHeaderCascadingSectionResizes">
214-
<bool>false</bool>
217+
<bool>true</bool>
215218
</attribute>
216219
<attribute name="horizontalHeaderMinimumSectionSize">
217220
<number>75</number>
218221
</attribute>
219-
<attribute name="horizontalHeaderHighlightSections">
220-
<bool>false</bool>
222+
<attribute name="horizontalHeaderDefaultSectionSize">
223+
<number>100</number>
221224
</attribute>
222225
<attribute name="horizontalHeaderStretchLastSection">
223226
<bool>true</bool>

apps/resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ DEALINGS IN THE SOFTWARE.
3434
///////////////////////////////// Program Values ///////////////////////
3535
//
3636
// Program Info (may be visible, but don't mark for tranalation)
37-
#define VERSION "2022.05.01-1"
37+
#define VERSION "2022.11.20-1"
3838

3939
#define RELEASE_DATE "1 May 2022"
4040
#define COPYRIGHT_DATE "2013-2022"

text/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<b><center>Connman System Tray (CMST)</center></b>
22
<b><center>Change Log</center></b>
3+
<b> In Progress</b>
4+
<ul>
5+
<li>Numerous translation updates</li>
6+
<li>All columns can be resized in the Technologies windows in the Status tab.</li>
7+
</ul>
38
<b> 2022.05.01</b>
49
<ul>
510
<li>Revise startup process (issue #269).</li>

0 commit comments

Comments
 (0)