forked from qt-creator/qt-creator
QmlDebugger: Added dialog "Attach to QML Port..."
The dialog is added to Debug->Start Debugging menu option. It specifies the host and port that the JSDebugClient connects to for listening to debug messages. Change-Id: I7f828c169ff2338f4780025f72182c5fc8784c4a Reviewed-on: http://codereview.qt-project.org/4824 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -47,6 +47,7 @@ class AttachCoreDialog;
|
||||
class AttachExternalDialog;
|
||||
class StartExternalDialog;
|
||||
class StartRemoteDialog;
|
||||
class AttachToQmlPortDialog;
|
||||
class StartRemoteEngineDialog;
|
||||
} // namespace Ui
|
||||
|
||||
@@ -216,6 +217,24 @@ private:
|
||||
Ui::StartRemoteDialog *m_ui;
|
||||
};
|
||||
|
||||
class AttachToQmlPortDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AttachToQmlPortDialog(QWidget *parent);
|
||||
~AttachToQmlPortDialog();
|
||||
|
||||
QString host() const;
|
||||
void setHost(const QString &host);
|
||||
|
||||
int port() const;
|
||||
void setPort(const int port);
|
||||
|
||||
private:
|
||||
Ui::AttachToQmlPortDialog *m_ui;
|
||||
};
|
||||
|
||||
class StartRemoteCdbDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user