Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
5999c35d
Commit
5999c35d
authored
Mar 19, 2009
by
hjk
Browse files
debugger: some action related cleanup
parent
45e7ccc0
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakwindow.cpp
View file @
5999c35d
...
...
@@ -101,7 +101,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
menu
.
addAction
(
act1
);
menu
.
addAction
(
act2
);
menu
.
addAction
(
act4
);
menu
.
addAction
(
theDebugger
Setting
(
SettingsDialog
)
->
action
());
menu
.
addAction
(
theDebugger
Action
(
SettingsDialog
)
->
action
());
QAction
*
act
=
menu
.
exec
(
ev
->
globalPos
());
...
...
src/plugins/debugger/debuggeractions.cpp
View file @
5999c35d
...
...
@@ -44,23 +44,23 @@ namespace Internal {
//////////////////////////////////////////////////////////////////////////
//
//
QtcSettingsItem
//
DebuggerAction
//
//////////////////////////////////////////////////////////////////////////
QtcSettingsItem
::
QtcSettingsItem
(
QObject
*
parent
)
DebuggerAction
::
DebuggerAction
(
QObject
*
parent
)
:
QObject
(
parent
)
{
m_action
=
new
QAction
(
this
);
connect
(
m_action
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
actionTriggered
(
bool
)));
}
QVariant
QtcSettingsItem
::
value
()
const
QVariant
DebuggerAction
::
value
()
const
{
return
m_value
;
}
void
QtcSettingsItem
::
setValue
(
const
QVariant
&
value
,
bool
doemit
)
void
DebuggerAction
::
setValue
(
const
QVariant
&
value
,
bool
doemit
)
{
if
(
value
!=
m_value
)
{
m_value
=
value
;
...
...
@@ -74,63 +74,63 @@ void QtcSettingsItem::setValue(const QVariant &value, bool doemit)
}
}
QVariant
QtcSettingsItem
::
defaultValue
()
const
QVariant
DebuggerAction
::
defaultValue
()
const
{
return
m_defaultValue
;
}
void
QtcSettingsItem
::
setDefaultValue
(
const
QVariant
&
value
)
void
DebuggerAction
::
setDefaultValue
(
const
QVariant
&
value
)
{
m_defaultValue
=
value
;
}
QString
QtcSettingsItem
::
settingsKey
()
const
QString
DebuggerAction
::
settingsKey
()
const
{
return
m_settingsKey
;
}
void
QtcSettingsItem
::
setSettingsKey
(
const
QString
&
key
)
void
DebuggerAction
::
setSettingsKey
(
const
QString
&
key
)
{
m_settingsKey
=
key
;
}
void
QtcSettingsItem
::
setSettingsKey
(
const
QString
&
group
,
const
QString
&
key
)
void
DebuggerAction
::
setSettingsKey
(
const
QString
&
group
,
const
QString
&
key
)
{
m_settingsKey
=
key
;
m_settingsGroup
=
group
;
}
QString
QtcSettingsItem
::
settingsGroup
()
const
QString
DebuggerAction
::
settingsGroup
()
const
{
return
m_settingsGroup
;
}
void
QtcSettingsItem
::
setSettingsGroup
(
const
QString
&
group
)
void
DebuggerAction
::
setSettingsGroup
(
const
QString
&
group
)
{
m_settingsGroup
=
group
;
}
QString
QtcSettingsItem
::
text
()
const
QString
DebuggerAction
::
text
()
const
{
return
m_action
->
text
();
}
void
QtcSettingsItem
::
setText
(
const
QString
&
value
)
void
DebuggerAction
::
setText
(
const
QString
&
value
)
{
m_action
->
setText
(
value
);
}
QString
QtcSettingsItem
::
textPattern
()
const
QString
DebuggerAction
::
textPattern
()
const
{
return
m_textPattern
;
}
void
QtcSettingsItem
::
setTextPattern
(
const
QString
&
value
)
void
DebuggerAction
::
setTextPattern
(
const
QString
&
value
)
{
m_textPattern
=
value
;
}
QAction
*
QtcSettingsItem
::
updatedAction
(
const
QString
&
text0
)
QAction
*
DebuggerAction
::
updatedAction
(
const
QString
&
text0
)
{
QString
text
=
text0
;
bool
enabled
=
true
;
...
...
@@ -150,7 +150,7 @@ QAction *QtcSettingsItem::updatedAction(const QString &text0)
return
m_action
;
}
void
QtcSettingsItem
::
readSettings
(
QSettings
*
settings
)
void
DebuggerAction
::
readSettings
(
QSettings
*
settings
)
{
if
(
m_settingsGroup
.
isEmpty
()
||
m_settingsKey
.
isEmpty
())
return
;
...
...
@@ -160,7 +160,7 @@ void QtcSettingsItem::readSettings(QSettings *settings)
settings
->
endGroup
();
}
void
QtcSettingsItem
::
writeSettings
(
QSettings
*
settings
)
void
DebuggerAction
::
writeSettings
(
QSettings
*
settings
)
{
if
(
m_settingsGroup
.
isEmpty
()
||
m_settingsKey
.
isEmpty
())
return
;
...
...
@@ -170,12 +170,12 @@ void QtcSettingsItem::writeSettings(QSettings *settings)
settings
->
endGroup
();
}
QAction
*
QtcSettingsItem
::
action
()
QAction
*
DebuggerAction
::
action
()
{
return
m_action
;
}
void
QtcSettingsItem
::
connectWidget
(
QWidget
*
widget
,
ApplyMode
applyMode
)
void
DebuggerAction
::
connectWidget
(
QWidget
*
widget
,
ApplyMode
applyMode
)
{
using
namespace
Core
::
Utils
;
//qDebug() << "CONNECT WIDGET " << widget << " TO " << m_settingsKey;
...
...
@@ -206,14 +206,14 @@ void QtcSettingsItem::connectWidget(QWidget *widget, ApplyMode applyMode)
}
}
void
QtcSettingsItem
::
apply
(
QSettings
*
s
)
void
DebuggerAction
::
apply
(
QSettings
*
s
)
{
setValue
(
m_deferedValue
);
if
(
s
)
writeSettings
(
s
);
}
void
QtcSettingsItem
::
uncheckableButtonClicked
()
void
DebuggerAction
::
uncheckableButtonClicked
()
{
QAbstractButton
*
button
=
qobject_cast
<
QAbstractButton
*>
(
sender
());
QTC_ASSERT
(
button
,
return
);
...
...
@@ -221,7 +221,7 @@ void QtcSettingsItem::uncheckableButtonClicked()
m_action
->
trigger
();
}
void
QtcSettingsItem
::
checkableButtonClicked
(
bool
)
void
DebuggerAction
::
checkableButtonClicked
(
bool
)
{
QAbstractButton
*
button
=
qobject_cast
<
QAbstractButton
*>
(
sender
());
QTC_ASSERT
(
button
,
return
);
...
...
@@ -232,7 +232,7 @@ void QtcSettingsItem::checkableButtonClicked(bool)
setValue
(
button
->
isChecked
());
}
void
QtcSettingsItem
::
lineEditEditingFinished
()
void
DebuggerAction
::
lineEditEditingFinished
()
{
QLineEdit
*
lineEdit
=
qobject_cast
<
QLineEdit
*>
(
sender
());
QTC_ASSERT
(
lineEdit
,
return
);
...
...
@@ -243,7 +243,7 @@ void QtcSettingsItem::lineEditEditingFinished()
setValue
(
lineEdit
->
text
());
}
void
QtcSettingsItem
::
pathChooserEditingFinished
()
void
DebuggerAction
::
pathChooserEditingFinished
()
{
using
namespace
Core
::
Utils
;
PathChooser
*
pathChooser
=
qobject_cast
<
PathChooser
*>
(
sender
());
...
...
@@ -255,7 +255,7 @@ void QtcSettingsItem::pathChooserEditingFinished()
setValue
(
pathChooser
->
path
());
}
void
QtcSettingsItem
::
actionTriggered
(
bool
on
)
void
DebuggerAction
::
actionTriggered
(
bool
on
)
{
Q_UNUSED
(
on
);
if
(
QAction
*
action
=
qobject_cast
<
QAction
*>
(
sender
()))
{
...
...
@@ -264,7 +264,7 @@ void QtcSettingsItem::actionTriggered(bool on)
}
}
void
QtcSettingsItem
::
trigger
(
const
QVariant
&
data
)
const
void
DebuggerAction
::
trigger
(
const
QVariant
&
data
)
const
{
m_action
->
setData
(
data
);
m_action
->
trigger
();
...
...
@@ -272,49 +272,49 @@ void QtcSettingsItem::trigger(const QVariant &data) const
//////////////////////////////////////////////////////////////////////////
//
//
Qtc
Settings
Pool
//
Debugger
Settings
//
//////////////////////////////////////////////////////////////////////////
QtcSettingsPool
::
Qtc
Settings
Pool
(
QObject
*
parent
)
DebuggerSettings
::
Debugger
Settings
(
QObject
*
parent
)
:
QObject
(
parent
)
{}
QtcSettingsPool
::~
Qtc
Settings
Pool
()
DebuggerSettings
::~
Debugger
Settings
()
{
qDeleteAll
(
m_items
);
}
void
Qtc
Settings
Pool
::
insertItem
(
int
code
,
QtcSettingsItem
*
item
)
void
Debugger
Settings
::
insertItem
(
int
code
,
DebuggerAction
*
item
)
{
m_items
[
code
]
=
item
;
}
void
Qtc
Settings
Pool
::
readSettings
(
QSettings
*
settings
)
void
Debugger
Settings
::
readSettings
(
QSettings
*
settings
)
{
foreach
(
QtcSettingsItem
*
item
,
m_items
)
foreach
(
DebuggerAction
*
item
,
m_items
)
item
->
readSettings
(
settings
);
}
void
Qtc
Settings
Pool
::
writeSettings
(
QSettings
*
settings
)
void
Debugger
Settings
::
writeSettings
(
QSettings
*
settings
)
{
foreach
(
QtcSettingsItem
*
item
,
m_items
)
foreach
(
DebuggerAction
*
item
,
m_items
)
item
->
writeSettings
(
settings
);
}
QtcSettingsItem
*
Qtc
Settings
Pool
::
item
(
int
code
)
DebuggerAction
*
Debugger
Settings
::
item
(
int
code
)
{
QTC_ASSERT
(
m_items
.
value
(
code
,
0
),
return
0
);
return
m_items
.
value
(
code
,
0
);
}
QString
Qtc
Settings
Pool
::
dump
()
QString
Debugger
Settings
::
dump
()
{
QString
out
;
QTextStream
ts
(
&
out
);
ts
<<
"Debugger settings: "
;
foreach
(
QtcSettingsItem
*
item
,
m_items
)
foreach
(
DebuggerAction
*
item
,
m_items
)
ts
<<
"
\n
"
<<
item
->
value
().
toString
();
return
out
;
}
...
...
@@ -323,107 +323,85 @@ QString QtcSettingsPool::dump()
//////////////////////////////////////////////////////////////////////////
//
// Debugger specific
stuff
// Debugger specific
actions and settings
//
//////////////////////////////////////////////////////////////////////////
#if 0
QString dump();
QString m_gdbCmd;
QString m_gdbEnv;
bool m_autoRun;
bool m_autoQuit;
bool m_useDumpers;
bool m_skipKnownFrames;
bool m_debugDumpers;
bool m_useToolTips;
bool m_listSourceFiles;
QString m_scriptFile;
bool m_pluginAllBreakpoints;
bool m_pluginSelectedBreakpoints;
bool m_pluginNoBreakpoints;
QString m_pluginSelectedBreakpointsPattern;
#endif
QtcSettingsPool
*
theDebuggerSettings
()
DebuggerSettings
*
theDebuggerSettings
()
{
static
Qtc
Settings
Pool
*
instance
=
0
;
static
Debugger
Settings
*
instance
=
0
;
if
(
instance
)
return
instance
;
instance
=
new
Qtc
Settings
Pool
;
instance
=
new
Debugger
Settings
;
QtcSettingsItem
*
item
=
0
;
DebuggerAction
*
item
=
0
;
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
AdjustColumnWidths
,
item
);
item
->
setText
(
QObject
::
tr
(
"Adjust column widths to contents"
));
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
AlwaysAdjustColumnWidths
,
item
);
item
->
setText
(
QObject
::
tr
(
"Always adjust column widths to contents"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
WatchExpression
,
item
);
item
->
setTextPattern
(
QObject
::
tr
(
"Watch expression
\"
%1
\"
"
));
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
RemoveWatchExpression
,
item
);
item
->
setTextPattern
(
QObject
::
tr
(
"Remove watch expression
\"
%1
\"
"
));
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
WatchExpressionInWindow
,
item
);
item
->
setTextPattern
(
QObject
::
tr
(
"Watch expression
\"
%1
\"
in separate window"
));
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
AssignValue
,
item
);
//
// Dumpers
//
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SettingsDialog
,
item
);
item
->
setText
(
QObject
::
tr
(
"Debugger properties..."
));
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
DebugDumpers
,
item
);
item
->
setText
(
QObject
::
tr
(
"Debug custom dumpers"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
RecheckDumpers
,
item
);
item
->
setText
(
QObject
::
tr
(
"Recheck custom dumper availability"
));
//
// Breakpoints
//
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SynchronizeBreakpoints
,
item
);
item
->
setText
(
QObject
::
tr
(
"Syncronize breakpoints"
));
//
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
AutoQuit
,
item
);
item
->
setText
(
QObject
::
tr
(
"Automatically quit debugger"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SkipKnownFrames
,
item
);
item
->
setText
(
QObject
::
tr
(
"Skip known frames"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
UseToolTips
,
item
);
item
->
setText
(
QObject
::
tr
(
"Use tooltips when debugging"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
ListSourceFiles
,
item
);
item
->
setText
(
QObject
::
tr
(
"List source files"
));
item
->
action
()
->
setCheckable
(
true
);
...
...
@@ -432,69 +410,69 @@ QtcSettingsPool *theDebuggerSettings()
//
// Settings
//
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
GdbLocation
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"Location"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
GdbEnvironment
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"Environment"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
GdbScriptFile
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"ScriptFile"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
GdbAutoQuit
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"AutoQuit"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
GdbAutoRun
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"AutoRun"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
UseToolTips
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"UseToolTips"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
UseDumpers
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"UseCustomDumpers"
);
item
->
setText
(
QObject
::
tr
(
"Use custom dumpers"
));
item
->
action
()
->
setCheckable
(
true
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
ListSourceFiles
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"ListSourceFiles"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SkipKnownFrames
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"SkipKnownFrames"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
DebugDumpers
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"DebugDumpers"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
AllPluginBreakpoints
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"AllPluginBreakpoints"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SelectedPluginBreakpoints
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"SelectedPluginBreakpoints"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
NoPluginBreakpoints
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"NoPluginBreakpoints"
);
item
=
new
QtcSettingsItem
(
instance
);
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
SelectedPluginBreakpointsPattern
,
item
);
item
->
setSettingsKey
(
"DebugMode"
,
"SelectedPluginBreakpointsPattern"
);
return
instance
;
}
QtcSettingsItem
*
theDebugger
Setting
(
int
code
)
DebuggerAction
*
theDebugger
Action
(
int
code
)
{
return
theDebuggerSettings
()
->
item
(
code
);
}
...
...
src/plugins/debugger/debuggeractions.h
View file @
5999c35d
...
...
@@ -46,12 +46,12 @@ namespace Internal {
enum
ApplyMode
{
ImmediateApply
,
DeferedApply
};
class
QtcSettingsItem
:
public
QObject
class
DebuggerAction
:
public
QObject
{
Q_OBJECT
public:
QtcSettingsItem
(
QObject
*
parent
=
0
);
DebuggerAction
(
QObject
*
parent
=
0
);
virtual
QVariant
value
()
const
;
Q_SLOT
virtual
void
setValue
(
const
QVariant
&
value
,
bool
doemit
=
true
);
...
...
@@ -106,16 +106,16 @@ private:
QHash
<
QObject
*
,
ApplyMode
>
m_applyModes
;
};
class
Qtc
Settings
Pool
:
public
QObject
class
Debugger
Settings
:
public
QObject
{
Q_OBJECT
public:
Qtc
Settings
Pool
(
QObject
*
parent
=
0
);
~
Qtc
Settings
Pool
();
Debugger
Settings
(
QObject
*
parent
=
0
);
~
Debugger
Settings
();
void
insertItem
(
int
code
,
QtcSettingsItem
*
item
);
QtcSettingsItem
*
item
(
int
code
);
void
insertItem
(
int
code
,
DebuggerAction
*
item
);
DebuggerAction
*
item
(
int
code
);
QString
dump
();
...
...
@@ -124,13 +124,13 @@ public slots:
void
writeSettings
(
QSettings
*
settings
);
private:
QHash
<
int
,
QtcSettingsItem
*>
m_items
;
QHash
<
int
,
DebuggerAction
*>
m_items
;
};
///////////////////////////////////////////////////////////
enum
Debugger
Settings
Code
enum
Debugger
Action
Code
{
// General
SettingsDialog
,
...
...
@@ -174,8 +174,8 @@ enum DebuggerSettingsCode
};
// singleton access
Qtc
Settings
Pool
*
theDebuggerSettings
();
QtcSettingsItem
*
theDebugger
Setting
(
int
code
);
Debugger
Settings
*
theDebuggerSettings
();
DebuggerAction
*
theDebugger
Action
(
int
code
);
// convienience
bool
theDebuggerBoolSetting
(
int
code
);
...
...
src/plugins/debugger/debuggermanager.cpp
View file @
5999c35d
...
...
@@ -267,7 +267,7 @@ void DebuggerManager::init()
this
,
SIGNAL
(
sessionValueRequested
(
QString
,
QVariant
*
)));
connect
(
m_watchHandler
,
SIGNAL
(
setSessionValueRequested
(
QString
,
QVariant
)),
this
,
SIGNAL
(
setSessionValueRequested
(
QString
,
QVariant
)));
connect
(
theDebugger
Setting
(
AssignValue
)
->
action
(),
SIGNAL
(
triggered
()),
connect
(
theDebugger
Action
(
AssignValue
)
->
action
(),
SIGNAL
(
triggered
()),
this
,
SLOT
(
assignValueInDebugger
()));
// Tooltip
...
...
@@ -1099,7 +1099,7 @@ void DebuggerManager::addToWatchWindow()
if
(
!
editor
)
return
;
QTextCursor
tc
=
editor
->
textCursor
();
theDebugger
Setting
(
WatchExpression
)
->
setValue
(
tc
.
selectedText
());
theDebugger
Action
(
WatchExpression
)
->
setValue
(
tc
.
selectedText
());
}
void
DebuggerManager
::
setBreakpoint
(
const
QString
&
fileName
,
int
lineNumber
)
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
5999c35d
...
...
@@ -269,35 +269,35 @@ QWidget *GdbOptionPage::createPage(QWidget *parent)
m_ui
.
scriptFileChooser
->
setExpectedKind
(
Core
::
Utils
::
PathChooser
::
File
);
m_ui
.
scriptFileChooser
->
setPromptDialogTitle
(
tr
(
"Choose Location of Startup Script File"
));
theDebugger
Setting
(
GdbLocation
)
theDebugger
Action
(
GdbLocation
)
->
connectWidget
(
m_ui
.
gdbLocationChooser
);
theDebugger
Setting
(
GdbScriptFile
)
theDebugger
Action
(
GdbScriptFile
)
->
connectWidget
(
m_ui
.
scriptFileChooser
);
theDebugger
Setting
(
GdbEnvironment
)
theDebugger
Action
(
GdbEnvironment
)
->
connectWidget
(
m_ui
.
environmentEdit
);
theDebugger
Setting
(
AllPluginBreakpoints
)
theDebugger
Action
(
AllPluginBreakpoints
)
->
connectWidget
(
m_ui
.
radioButtonAllPluginBreakpoints
);
theDebugger
Setting
(
SelectedPluginBreakpoints
)
theDebugger
Action
(
SelectedPluginBreakpoints
)
->
connectWidget
(
m_ui
.
radioButtonSelectedPluginBreakpoints
);
theDebugger
Setting
(
NoPluginBreakpoints
)
theDebugger
Action
(
NoPluginBreakpoints
)
->
connectWidget
(
m_ui
.
radioButtonNoPluginBreakpoints
);
theDebugger
Setting
(
SelectedPluginBreakpointsPattern
)
theDebugger
Action
(
SelectedPluginBreakpointsPattern
)
->
connectWidget
(
m_ui
.
lineEditSelectedPluginBreakpointsPattern
);
theDebugger
Setting
(
UseDumpers
)
theDebugger
Action
(
UseDumpers
)
->
connectWidget
(
m_ui
.
checkBoxUseDumpers
);
theDebugger
Setting
(
SkipKnownFrames
)
theDebugger
Action
(
SkipKnownFrames
)
->
connectWidget
(
m_ui
.
checkBoxSkipKnownFrames
);
theDebugger
Setting
(
UseToolTips
)
theDebugger
Action
(
UseToolTips
)
->
connectWidget
(
m_ui
.
checkBoxUseToolTips
);
theDebugger
Setting
(
DebugDumpers
)
theDebugger
Action
(
DebugDumpers
)
->
connectWidget
(
m_ui
.
checkBoxDebugDumpers
);
theDebugger
Setting
(
SelectedPluginBreakpointsPattern
)
theDebugger
Action
(
SelectedPluginBreakpointsPattern
)
->
connectWidget
(
m_ui
.
lineEditSelectedPluginBreakpointsPattern
);
m_ui
.
lineEditSelectedPluginBreakpointsPattern
->
setEnabled
(
theDebugger
Setting
(
SelectedPluginBreakpoints
)
->
value
().
toBool
());