Qt: Re-organize setup of debugging widgets
This commit is contained in:
parent
e823c908ea
commit
4cb1f36896
4 changed files with 51 additions and 39 deletions
|
@ -15,6 +15,9 @@ public:
|
|||
explicit GraphicsTracingWidget(std::shared_ptr<Pica::DebugContext> debug_context,
|
||||
QWidget* parent = nullptr);
|
||||
|
||||
void OnEmulationStarting(EmuThread* emu_thread);
|
||||
void OnEmulationStopping();
|
||||
|
||||
private slots:
|
||||
void StartRecording();
|
||||
void StopRecording();
|
||||
|
@ -23,9 +26,6 @@ private slots:
|
|||
void OnBreakPointHit(Pica::DebugContext::Event event, void* data) override;
|
||||
void OnResumed() override;
|
||||
|
||||
void OnEmulationStarting(EmuThread* emu_thread);
|
||||
void OnEmulationStopping();
|
||||
|
||||
signals:
|
||||
void SetStartTracingButtonEnabled(bool enable);
|
||||
void SetStopTracingButtonEnabled(bool enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue