Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
fe7e88a6
Commit
fe7e88a6
authored
May 19, 2009
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: rename resource path for generic images from 'gdbdebugger' to 'debugger'
parent
1f26af5c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
23 deletions
+23
-23
src/plugins/debugger/breakhandler.cpp
src/plugins/debugger/breakhandler.cpp
+3
-3
src/plugins/debugger/breakwindow.cpp
src/plugins/debugger/breakwindow.cpp
+1
-1
src/plugins/debugger/debugger.qrc
src/plugins/debugger/debugger.qrc
+1
-1
src/plugins/debugger/debuggermanager.cpp
src/plugins/debugger/debuggermanager.cpp
+9
-9
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/debuggerplugin.cpp
+1
-1
src/plugins/debugger/disassemblerhandler.cpp
src/plugins/debugger/disassemblerhandler.cpp
+2
-2
src/plugins/debugger/moduleshandler.cpp
src/plugins/debugger/moduleshandler.cpp
+2
-2
src/plugins/debugger/stackhandler.cpp
src/plugins/debugger/stackhandler.cpp
+4
-4
No files found.
src/plugins/debugger/breakhandler.cpp
View file @
fe7e88a6
...
...
@@ -77,9 +77,9 @@ public:
static
const
QIcon
&
icon
(
bool
pending
,
bool
enabled
)
{
static
const
QIcon
icon
(
":/
gdb
debugger/images/breakpoint.svg"
);
static
const
QIcon
icon1
(
":/
gdb
debugger/images/breakpoint_disabled.svg"
);
static
const
QIcon
icon2
(
":/
gdb
debugger/images/breakpoint_pending.svg"
);
static
const
QIcon
icon
(
":/debugger/images/breakpoint.svg"
);
static
const
QIcon
icon1
(
":/debugger/images/breakpoint_disabled.svg"
);
static
const
QIcon
icon2
(
":/debugger/images/breakpoint_pending.svg"
);
return
enabled
?
(
pending
?
icon2
:
icon
)
:
icon1
;
}
...
...
src/plugins/debugger/breakwindow.cpp
View file @
fe7e88a6
...
...
@@ -53,7 +53,7 @@ BreakWindow::BreakWindow(QWidget *parent)
{
QAction
*
act
=
theDebuggerAction
(
UseAlternatingRowColors
);
setWindowTitle
(
tr
(
"Breakpoints"
));
setWindowIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_breakpoints.png"
));
setWindowIcon
(
QIcon
(
":/debugger/images/debugger_breakpoints.png"
));
setAlternatingRowColors
(
act
->
isChecked
());
setRootIsDecorated
(
false
);
setIconSize
(
QSize
(
10
,
10
));
...
...
src/plugins/debugger/debugger.qrc
View file @
fe7e88a6
<RCC>
<qresource prefix="/
gdb
debugger" >
<qresource prefix="/debugger" >
<file>images/breakpoint.svg</file>
<file>images/breakpoint_pending.svg</file>
<file>images/breakpoint_disabled.svg</file>
...
...
src/plugins/debugger/debuggermanager.cpp
View file @
fe7e88a6
...
...
@@ -311,11 +311,11 @@ void DebuggerManager::init()
m_continueAction
=
new
QAction
(
this
);
m_continueAction
->
setText
(
tr
(
"Continue"
));
m_continueAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_continue_small.png"
));
m_continueAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_continue_small.png"
));
m_stopAction
=
new
QAction
(
this
);
m_stopAction
->
setText
(
tr
(
"Interrupt"
));
m_stopAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_interrupt_small.png"
));
m_stopAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_interrupt_small.png"
));
m_resetAction
=
new
QAction
(
this
);
m_resetAction
->
setText
(
tr
(
"Reset Debugger"
));
...
...
@@ -323,27 +323,27 @@ void DebuggerManager::init()
m_nextAction
=
new
QAction
(
this
);
m_nextAction
->
setText
(
tr
(
"Step Over"
));
//m_nextAction->setShortcut(QKeySequence(tr("F6")));
m_nextAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_stepover_small.png"
));
m_nextAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_stepover_small.png"
));
m_stepAction
=
new
QAction
(
this
);
m_stepAction
->
setText
(
tr
(
"Step Into"
));
//m_stepAction->setShortcut(QKeySequence(tr("F7")));
m_stepAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_stepinto_small.png"
));
m_stepAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_stepinto_small.png"
));
m_nextIAction
=
new
QAction
(
this
);
m_nextIAction
->
setText
(
tr
(
"Step Over Instruction"
));
//m_nextIAction->setShortcut(QKeySequence(tr("Shift+F6")));
m_nextIAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_stepoverproc_small.png"
));
m_nextIAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_stepoverproc_small.png"
));
m_stepIAction
=
new
QAction
(
this
);
m_stepIAction
->
setText
(
tr
(
"Step One Instruction"
));
//m_stepIAction->setShortcut(QKeySequence(tr("Shift+F9")));
m_stepIAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_steponeproc_small.png"
));
m_stepIAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_steponeproc_small.png"
));
m_stepOutAction
=
new
QAction
(
this
);
m_stepOutAction
->
setText
(
tr
(
"Step Out"
));
//m_stepOutAction->setShortcut(QKeySequence(tr("Shift+F7")));
m_stepOutAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_stepout_small.png"
));
m_stepOutAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_stepout_small.png"
));
m_runToLineAction
=
new
QAction
(
this
);
m_runToLineAction
->
setText
(
tr
(
"Run to Line"
));
...
...
@@ -1268,10 +1268,10 @@ void DebuggerManager::setStatus(int status)
bool
interruptIsExit
=
!
running
;
if
(
interruptIsExit
)
{
m_stopAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_stop_small.png"
));
m_stopAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_stop_small.png"
));
m_stopAction
->
setText
(
tr
(
"Stop Debugger"
));
}
else
{
m_stopAction
->
setIcon
(
QIcon
(
":/
gdb
debugger/images/debugger_interrupt_small.png"
));
m_stopAction
->
setIcon
(
QIcon
(
":/debugger/images/debugger_interrupt_small.png"
));
m_stopAction
->
setText
(
tr
(
"Interrupt"
));
}
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
fe7e88a6
...
...
@@ -225,7 +225,7 @@ LocationMark::~LocationMark()
QIcon
LocationMark
::
icon
()
const
{
static
const
QIcon
icon
(
":/
gdb
debugger/images/location.svg"
);
static
const
QIcon
icon
(
":/debugger/images/location.svg"
);
return
icon
;
}
...
...
src/plugins/debugger/disassemblerhandler.cpp
View file @
fe7e88a6
...
...
@@ -85,8 +85,8 @@ private:
DisassemblerModel
::
DisassemblerModel
(
QObject
*
parent
)
:
QAbstractTableModel
(
parent
),
m_currentLine
(
0
)
{
m_emptyIcon
=
QIcon
(
":/
gdb
debugger/images/empty.svg"
);
m_positionIcon
=
QIcon
(
":/
gdb
debugger/images/location.svg"
);
m_emptyIcon
=
QIcon
(
":/debugger/images/empty.svg"
);
m_positionIcon
=
QIcon
(
":/debugger/images/location.svg"
);
}
int
DisassemblerModel
::
rowCount
(
const
QModelIndex
&
parent
)
const
...
...
src/plugins/debugger/moduleshandler.cpp
View file @
fe7e88a6
...
...
@@ -96,8 +96,8 @@ QVariant ModulesModel::headerData(int section,
QVariant
ModulesModel
::
data
(
const
QModelIndex
&
index
,
int
role
)
const
{
//static const QIcon icon(":/
gdb
debugger/images/breakpoint.svg");
//static const QIcon icon2(":/
gdb
debugger/images/breakpoint_pending.svg");
//static const QIcon icon(":/debugger/images/breakpoint.svg");
//static const QIcon icon2(":/debugger/images/breakpoint_pending.svg");
int
row
=
index
.
row
();
if
(
row
<
0
||
row
>=
m_modules
.
size
())
...
...
src/plugins/debugger/stackhandler.cpp
View file @
fe7e88a6
...
...
@@ -69,8 +69,8 @@ QString StackFrame::toToolTip() const
StackHandler
::
StackHandler
(
QObject
*
parent
)
:
QAbstractTableModel
(
parent
),
m_positionIcon
(
QIcon
(
":/
gdb
debugger/images/location.svg"
)),
m_emptyIcon
(
QIcon
(
":/
gdb
debugger/images/empty.svg"
))
m_positionIcon
(
QIcon
(
":/debugger/images/location.svg"
)),
m_emptyIcon
(
QIcon
(
":/debugger/images/empty.svg"
))
{
m_currentIndex
=
0
;
m_canExpand
=
false
;
...
...
@@ -215,8 +215,8 @@ bool StackHandler::isDebuggingDebuggingHelpers() const
ThreadsHandler
::
ThreadsHandler
(
QObject
*
parent
)
:
QAbstractTableModel
(
parent
),
m_currentIndex
(
0
)
{
m_emptyIcon
=
QIcon
(
":/
gdb
debugger/images/empty.svg"
);
m_positionIcon
=
QIcon
(
":/
gdb
debugger/images/location.svg"
);
m_emptyIcon
=
QIcon
(
":/debugger/images/empty.svg"
);
m_positionIcon
=
QIcon
(
":/debugger/images/location.svg"
);
}
int
ThreadsHandler
::
rowCount
(
const
QModelIndex
&
parent
)
const
...
...
Write
Preview
Markdown
is supported
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