A HELP text to SeerThreadManagerWidget.

This commit is contained in:
Ernie Pasveer
2022-09-18 21:01:39 -05:00
parent 6ea8d63565
commit bbe87f17bf
5 changed files with 22 additions and 3 deletions
+5
View File
@@ -12,6 +12,11 @@ QHContainerWidget::QHContainerWidget (QWidget* parent) : QWidget(parent) {
QHContainerWidget::~QHContainerWidget () {
}
void QHContainerWidget::setSpacing (int spacing) {
horizontalLayout->setSpacing(spacing);
}
void QHContainerWidget::addWidget (QWidget* widget) {
horizontalLayout->addWidget(widget);
+1
View File
@@ -11,6 +11,7 @@ class QHContainerWidget : public QWidget, protected Ui::QHContainerWidgetForm {
explicit QHContainerWidget (QWidget* parent = 0);
~QHContainerWidget ();
void setSpacing (int spacing);
void addWidget (QWidget* widget);
void removeWidget (QWidget* widget);
+14 -2
View File
@@ -6,14 +6,26 @@
<rect>
<x>0</x>
<y>0</y>
<width>0</width>
<height>0</height>
<width>580</width>
<height>145</height>
</rect>
</property>
<property name="windowTitle">
<string>QHContainerWidgetForm</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout"/>
</item>
+1 -1
View File
@@ -21,7 +21,7 @@
</property>
<column>
<property name="text">
<string>Thread Id</string>
<string>Group Thread Id</string>
</property>
</column>
<column>
+1
View File
@@ -35,6 +35,7 @@ SeerThreadManagerWidget::SeerThreadManagerWidget (QWidget* parent) : QWidget(par
helpToolButton->setToolTip("Help on thread information.");
QHContainerWidget* hcontainer = new QHContainerWidget(this);
hcontainer->setSpacing(3);
hcontainer->addWidget(refreshToolButton);
hcontainer->addWidget(helpToolButton);