Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nmsdk
rdk
Commits
42033e121fa2
Commit
7792732f
authored
Jun 11, 2021
by
Alexab
Browse files
Gui/Qt: profiler gui update.
--HG-- branch : MockCompsTest
parent
215ed489fea2
Changes
2
Hide whitespace changes
Inline
Side-by-side
GUI/Qt/UTableInfo.cpp
View file @
42033e12
...
...
@@ -20,7 +20,7 @@ UTableInfo::UTableInfo(QWidget *parent, RDK::UApplication *app) :
//
ui
->
tableWidget
->
setSelectionBehavior
(
QAbstractItemView
::
SelectRows
);
//
ui
->
tableWidget
->
horizontalHeader
()
->
setStretch
La
stSection
(
true
);
//
ui->tableWidget->horizontalHeader()->setStretch
Fir
stSection(true);
// ui->tableWidget->setColumnWidth(0, 200);
// ui->tableWidget->setColumnWidth(1, 40);
...
...
@@ -30,6 +30,7 @@ UTableInfo::UTableInfo(QWidget *parent, RDK::UApplication *app) :
ui
->
tableWidget
->
setHorizontalHeaderLabels
(
headers
);
//ui->tableWidget->setItem(0,0, new QTableWidgetItem("Full step"));
//ui->tableWidget->setItem(1,0, new QTableWidgetItem("Model"));
ui
->
tableWidget
->
setColumnWidth
(
0
,
200
);
//
addAction
(
ui
->
actionSelectComponent
);
...
...
@@ -53,13 +54,14 @@ UTableInfo::UTableInfo(QWidget *parent, RDK::UApplication *app) :
//
ui
->
tableWidget_2
->
setSelectionBehavior
(
QAbstractItemView
::
SelectRows
);
//
ui
->
tableWidget_2
->
horizontalHeader
()
->
setStretch
La
stSection
(
true
);
//
ui->tableWidget_2->horizontalHeader()->setStretch
Fir
stSection(true);
// ui->tableWidget_2->setColumnWidth(0, 200);
// ui->tableWidget_2->setColumnWidth(1, 40);
QStringList
headers_gui
;
headers
<<
"Gui Widget name"
<<
"Min, ms"
<<
"Max, ms"
<<
"Avg, ms"
<<
"Interval, ms"
;
ui
->
tableWidget_2
->
setHorizontalHeaderLabels
(
headers_gui
);
ui
->
tableWidget_2
->
setColumnWidth
(
0
,
200
);
}
...
...
GUI/Qt/UTableInfo.ui
View file @
42033e12
...
...
@@ -6,8 +6,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
757
</width>
<height>
454
</height>
<width>
331
</width>
<height>
146
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -59,12 +59,12 @@
</property>
<property
name=
"minimumSize"
>
<size>
<width>
727
</width>
<height>
432
</height>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"currentIndex"
>
<number>
1
</number>
<number>
0
</number>
</property>
<widget
class=
"QWidget"
name=
"tab"
>
<property
name=
"sizePolicy"
>
...
...
@@ -133,8 +133,8 @@
</property>
<property
name=
"minimumSize"
>
<size>
<width>
731
</width>
<height>
405
</height>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
<attribute
name=
"title"
>
...
...
@@ -155,8 +155,8 @@
</property>
<property
name=
"minimumSize"
>
<size>
<width>
707
</width>
<height>
387
</height>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
</widget>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment