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

List:       kde-commits
Subject:    [kdevelop] debuggers/gdb: bring back tooltip contents as whatsthis help
From:       Niko Sams <niko.sams () gmail ! com>
Date:       2012-12-29 17:29:51
Message-ID: 20121229172951.34B38A6091 () git ! kde ! org
[Download RAW message or body]

Git commit efe1d772d661e731b086023739ee585b67c8f835 by Niko Sams.
Committed on 29/12/2012 at 19:35.
Pushed by nsams into branch 'master'.

bring back tooltip contents as whatsthis help

this reverts 3aa08c9661c9ecb8491bab588bebfce23333e5cf

M  +8    -0    debuggers/gdb/disassemblewidget.cpp
M  +3    -0    debuggers/gdb/gdboutputwidget.cpp

http://commits.kde.org/kdevelop/efe1d772d661e731b086023739ee585b67c8f835

diff --git a/debuggers/gdb/disassemblewidget.cpp b/debuggers/gdb/disassemblewidget.cpp
index c3a8c60..7a1eff5 100644
--- a/debuggers/gdb/disassemblewidget.cpp
+++ b/debuggers/gdb/disassemblewidget.cpp
@@ -146,6 +146,14 @@ DisassembleWidget::DisassembleWidget(CppDebuggerPlugin* plugin, QWidget *parent)
     {   // initialize disasm view
         m_treeWidget = new QTreeWidget(this);
 
+        m_treeWidget->setWhatsThis(i18n("<b>Machine code display</b><p>"
+                        "A machine code view into your running "
+                        "executable with the current instruction "
+                        "highlighted. You can step instruction by "
+                        "instruction using the debuggers toolbar "
+                        "buttons of \"step over\" instruction and "
+                        "\"step into\" instruction."));
+
         m_treeWidget->setFont(KGlobalSettings::fixedFont());
         m_treeWidget->setSelectionMode(QTreeWidget::SingleSelection);
         m_treeWidget->setColumnCount(ColumnCount);
diff --git a/debuggers/gdb/gdboutputwidget.cpp b/debuggers/gdb/gdboutputwidget.cpp
index 381ab8e..84bf79e 100644
--- a/debuggers/gdb/gdboutputwidget.cpp
+++ b/debuggers/gdb/gdboutputwidget.cpp
@@ -66,6 +66,9 @@ GDBOutputWidget::GDBOutputWidget(CppDebuggerPlugin* plugin, QWidget *parent) :
 //     setWindowIcon(KIcon("inline_image"));
     setWindowIcon(KIcon("debugger"));
     setWindowTitle(i18n("GDB Output"));
+    setWhatsThis(i18n("<b>GDB output</b><p>"
+                    "Shows all gdb commands being executed. "
+                    "You can also issue any other gdb command while debugging.</p>"));
 
     m_gdbView = new OutputTextEdit(this);
     m_gdbView->setReadOnly(true);
[prev in list] [next in list] [prev in thread] [next in thread] 

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