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#pragma once
7
8#include <QDialog>
9
10class QLineEdit;
11class QPushButton;
12
13namespace QGBA {
14
15class GDBController;
16
17class GDBWindow : public QDialog {
18Q_OBJECT
19
20public:
21 GDBWindow(GDBController* controller, QWidget* parent = nullptr);
22
23private slots:
24 void portChanged(const QString&);
25 void bindAddressChanged(const QString&);
26
27 void started();
28 void stopped();
29
30 void failed();
31
32private:
33 GDBController* m_gdbController;
34
35 QLineEdit* m_portEdit;
36 QLineEdit* m_bindAddressEdit;
37 QPushButton* m_startStopButton;
38 QPushButton* m_breakButton;
39};
40
41}