src/platform/qt/GDBWindow.h (view raw)
1/* Copyright (c) 2013-2014 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef QGBA_GDB_WINDOW
7#define QGBA_GDB_WINDOW
8
9#include <QDialog>
10
11class QLineEdit;
12class QPushButton;
13
14namespace QGBA {
15
16class GDBController;
17
18class GDBWindow : public QDialog {
19Q_OBJECT
20
21public:
22 GDBWindow(GDBController* controller, QWidget* parent = nullptr);
23
24private slots:
25 void portChanged(const QString&);
26 void bindAddressChanged(const QString&);
27
28 void started();
29 void stopped();
30
31 void failed();
32
33private:
34 GDBController* m_gdbController;
35
36 QLineEdit* m_portEdit;
37 QLineEdit* m_bindAddressEdit;
38 QPushButton* m_startStopButton;
39 QPushButton* m_breakButton;
40};
41
42}
43
44#endif