[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-valgrind] tools: Fix tooltips for labels in tools config pages
From:       Anton Anikin <null () kde ! org>
Date:       2017-03-01 2:10:35
Message-ID: E1citit-0000tc-JM () code ! kde ! org
[Download RAW message or body]

Git commit da3c52f8dd8cc659aa54a8d2ec82d02fb1b86343 by Anton Anikin.
Committed on 01/03/2017 at 02:10.
Pushed by antonanikin into branch 'master'.

Fix tooltips for labels in tools config pages

M  +3    -0    tools/drd/configpage.cpp
M  +3    -0    tools/generic/configpage.cpp
M  +3    -0    tools/helgrind/configpage.cpp
M  +7    -0    tools/massif/configpage.cpp
M  +7    -7    tools/massif/configpage.ui
M  +7    -0    tools/memcheck/configpage.cpp

https://commits.kde.org/kdev-valgrind/da3c52f8dd8cc659aa54a8d2ec82d02fb1b86343

diff --git a/tools/drd/configpage.cpp b/tools/drd/configpage.cpp
index 444c9b5..11d0498 100644
--- a/tools/drd/configpage.cpp
+++ b/tools/drd/configpage.cpp
@@ -61,6 +61,9 @@ ConfigPage::ConfigPage(QWidget* parent)
     connect(ui->traceMutex, &QCheckBox::toggled, this, &ConfigPage::changed);
     connect(ui->traceRwlock, &QCheckBox::toggled, this, &ConfigPage::changed);
     connect(ui->traceSemaphore, &QCheckBox::toggled, this, &ConfigPage::changed);
+
+    ui->joinListVolLabel->setToolTip(ui->joinListVol->toolTip());
+    ui->segmentMergingIntervalLabel->setToolTip(ui->segmentMergingInterval->toolTip());
 }
 
 ConfigPage::~ConfigPage()
diff --git a/tools/generic/configpage.cpp b/tools/generic/configpage.cpp
index 05ae25f..d36b80f 100644
--- a/tools/generic/configpage.cpp
+++ b/tools/generic/configpage.cpp
@@ -43,6 +43,9 @@ ConfigPage::ConfigPage(QWidget* parent)
             this, &ConfigPage::changed);
     connect(ui->numCallers, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),
             this, &ConfigPage::changed);
+
+    ui->numCallersLabel->setToolTip(ui->numCallers->toolTip());
+    ui->maxStackframeLabel->setToolTip(ui->maxStackframe->toolTip());
 }
 
 ConfigPage::~ConfigPage()
diff --git a/tools/helgrind/configpage.cpp b/tools/helgrind/configpage.cpp
index b22bda2..f7c5a92 100644
--- a/tools/helgrind/configpage.cpp
+++ b/tools/helgrind/configpage.cpp
@@ -49,6 +49,9 @@ ConfigPage::ConfigPage(QWidget* parent)
     connect(ui->ignoreThreadCreation, &QCheckBox::toggled, this, &ConfigPage::changed);
     connect(ui->freeIsWrite, &QCheckBox::toggled, this, &ConfigPage::changed);
     connect(ui->showInstructionPointer, &QCheckBox::toggled, this, &ConfigPage::changed);
+
+    ui->historyLevelLabel->setToolTip(ui->historyLevel->toolTip());
+    ui->conflictCacheSizeLabel->setToolTip(ui->conflictCacheSize->toolTip());
 }
 
 ConfigPage::~ConfigPage()
diff --git a/tools/massif/configpage.cpp b/tools/massif/configpage.cpp
index 4096fc1..d31e1fd 100644
--- a/tools/massif/configpage.cpp
+++ b/tools/massif/configpage.cpp
@@ -60,6 +60,13 @@ ConfigPage::ConfigPage(QWidget* parent)
     connect(ui->profileStack, &QCheckBox::toggled, this, &ConfigPage::check);
     connect(ui->pagesAsHeap, &QCheckBox::toggled, this, &ConfigPage::check);
     check();
+
+    ui->timeUnitLabel->setToolTip(ui->timeUnit->toolTip());
+    ui->depthLabel->setToolTip(ui->depth->toolTip());
+    ui->thresholdLabel->setToolTip(ui->threshold->toolTip());
+    ui->peakInaccuracyLabel->setToolTip(ui->peakInaccuracy->toolTip());
+    ui->maxSnapshotsLabel->setToolTip(ui->maxSnapshots->toolTip());
+    ui->snapshotFreqLabel->setToolTip(ui->snapshotFreq->toolTip());
 }
 
 ConfigPage::~ConfigPage()
diff --git a/tools/massif/configpage.ui b/tools/massif/configpage.ui
index 533ecfc..8fad4bb 100644
--- a/tools/massif/configpage.ui
+++ b/tools/massif/configpage.ui
@@ -20,7 +20,7 @@
       <item>
        <layout class="QFormLayout" name="formLayout">
         <item row="0" column="0">
-         <widget class="QLabel" name="label_5">
+         <widget class="QLabel" name="timeUnitLabel">
           <property name="text">
            <string>Time unit:</string>
           </property>
@@ -55,7 +55,7 @@
          </widget>
         </item>
         <item row="1" column="0">
-         <widget class="QLabel" name="label">
+         <widget class="QLabel" name="depthLabel">
           <property name="text">
            <string>Snapshot tree depth:</string>
           </property>
@@ -81,7 +81,7 @@
          </widget>
         </item>
         <item row="2" column="0">
-         <widget class="QLabel" name="label_3">
+         <widget class="QLabel" name="thresholdLabel">
           <property name="text">
            <string>Threshold:</string>
           </property>
@@ -107,7 +107,7 @@
          </widget>
         </item>
         <item row="3" column="0">
-         <widget class="QLabel" name="label_4">
+         <widget class="QLabel" name="peakInaccuracyLabel">
           <property name="text">
            <string>Peak inaccuracy:</string>
           </property>
@@ -136,7 +136,7 @@
          </widget>
         </item>
         <item row="4" column="0">
-         <widget class="QLabel" name="label_7">
+         <widget class="QLabel" name="maxSnapshotsLabel">
           <property name="text">
            <string>Maximum snapshots:</string>
           </property>
@@ -162,7 +162,7 @@
          </widget>
         </item>
         <item row="5" column="0">
-         <widget class="QLabel" name="label_6">
+         <widget class="QLabel" name="snapshotFreqLabel">
           <property name="text">
            <string>Detailed snapshot frequency:</string>
           </property>
@@ -188,7 +188,7 @@
          </widget>
         </item>
         <item row="6" column="0">
-         <widget class="QLabel" name="label_2">
+         <widget class="QLabel" name="extraParametersLabel">
           <property name="text">
            <string>E&amp;xtra parameters:</string>
           </property>
diff --git a/tools/memcheck/configpage.cpp b/tools/memcheck/configpage.cpp
index 80ae0a2..97ab686 100644
--- a/tools/memcheck/configpage.cpp
+++ b/tools/memcheck/configpage.cpp
@@ -73,6 +73,13 @@ ConfigPage::ConfigPage(QWidget* parent)
         QStringLiteral("multipleinheritance")
     };
     setupMenuButton(ui->leakCheckHeuristics, heuristics);
+
+    ui->leakResolutionLabel->setToolTip(ui->leakResolution->toolTip());
+    ui->showLeakKindsLabel->setToolTip(ui->showLeakKinds->toolTip());
+    ui->leakCheckHeuristicsLabel->setToolTip(ui->leakCheckHeuristics->toolTip());
+    ui->keepStacktracesLabel->setToolTip(ui->keepStacktraces->toolTip());
+    ui->freelistVolLabel->setToolTip(ui->freelistVol->toolTip());
+    ui->freelistBigBlocksLabel->setToolTip(ui->freelistBigBlocks->toolTip());
 }
 
 ConfigPage::~ConfigPage()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic