Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/widgets/debuggerconsoleview.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | 47 | | |||
48 | /** | 48 | /** | ||
49 | * @brief A debugger console gives the user direct access to the debugger command line interface. | 49 | * @brief A debugger console gives the user direct access to the debugger command line interface. | ||
50 | */ | 50 | */ | ||
51 | class DebuggerConsoleView : public QWidget | 51 | class DebuggerConsoleView : public QWidget | ||
52 | { | 52 | { | ||
53 | Q_OBJECT | 53 | Q_OBJECT | ||
54 | public: | 54 | public: | ||
55 | DebuggerConsoleView(MIDebuggerPlugin *plugin, QWidget *parent = nullptr); | 55 | explicit DebuggerConsoleView(MIDebuggerPlugin *plugin, QWidget *parent = nullptr); | ||
56 | ~DebuggerConsoleView(); | 56 | ~DebuggerConsoleView(); | ||
57 | 57 | | |||
58 | /** | 58 | /** | ||
59 | * Whether show a button allowing user to interrput debugger execution. | 59 | * Whether show a button allowing user to interrupt debugger execution. | ||
60 | */ | 60 | */ | ||
61 | void setShowInterrupt(bool enable); | 61 | void setShowInterrupt(bool enable); | ||
62 | 62 | | |||
63 | /** | 63 | /** | ||
64 | * If set to a nonempty string, the default "(gdb)" prompt will be replaced. | 64 | * If set to a nonempty string, the default "(gdb)" prompt will be replaced. | ||
65 | * This only affects output lines after the call. | 65 | * This only affects output lines after the call. | ||
66 | */ | 66 | */ | ||
67 | void setReplacePrompt(const QString &prompt); | 67 | void setReplacePrompt(const QString &prompt); | ||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |