Duke
1 year ago
4 changed files with 0 additions and 257 deletions
@ -1,16 +0,0 @@ |
|||||
// Copyright 2019-2023 The Hush developers
|
|
||||
// Released under the GPLv3
|
|
||||
#include "mobileappconnector.h" |
|
||||
#include "ui_mobileappconnector.h" |
|
||||
|
|
||||
MobileAppConnector::MobileAppConnector(QWidget *parent) : |
|
||||
QDialog(parent), |
|
||||
ui(new Ui::MobileAppConnector) |
|
||||
{ |
|
||||
ui->setupUi(this); |
|
||||
} |
|
||||
|
|
||||
MobileAppConnector::~MobileAppConnector() |
|
||||
{ |
|
||||
delete ui; |
|
||||
} |
|
@ -1,24 +0,0 @@ |
|||||
// Copyright 2019-2023 The Hush developers
|
|
||||
// Released under the GPLv3
|
|
||||
#ifndef MOBILEAPPCONNECTOR_H |
|
||||
#define MOBILEAPPCONNECTOR_H |
|
||||
|
|
||||
#include <QDialog> |
|
||||
|
|
||||
namespace Ui { |
|
||||
class MobileAppConnector; |
|
||||
} |
|
||||
|
|
||||
class MobileAppConnector : public QDialog |
|
||||
{ |
|
||||
Q_OBJECT |
|
||||
|
|
||||
public: |
|
||||
explicit MobileAppConnector(QWidget *parent = nullptr); |
|
||||
~MobileAppConnector(); |
|
||||
|
|
||||
private: |
|
||||
Ui::MobileAppConnector *ui; |
|
||||
}; |
|
||||
|
|
||||
#endif // MOBILEAPPCONNECTOR_H
|
|
@ -1,214 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<ui version="4.0"> |
|
||||
<class>MobileAppConnector</class> |
|
||||
<widget class="QDialog" name="MobileAppConnector"> |
|
||||
<property name="geometry"> |
|
||||
<rect> |
|
||||
<x>0</x> |
|
||||
<y>0</y> |
|
||||
<width>800</width> |
|
||||
<height>530</height> |
|
||||
</rect> |
|
||||
</property> |
|
||||
<property name="windowTitle"> |
|
||||
<string>Mobile Connector App</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout"> |
|
||||
<item row="4" column="1" colspan="2"> |
|
||||
<widget class="QDialogButtonBox" name="buttonBox"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
<property name="standardButtons"> |
|
||||
<set>QDialogButtonBox::Close</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="0" column="0" colspan="3"> |
|
||||
<widget class="QLabel" name="label"> |
|
||||
<property name="sizePolicy"> |
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum"> |
|
||||
<horstretch>0</horstretch> |
|
||||
<verstretch>0</verstretch> |
|
||||
</sizepolicy> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string>Scan this QRCode from your silentdragon companion app to connect your phone</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="0" colspan="2"> |
|
||||
<widget class="QGroupBox" name="groupBox_2"> |
|
||||
<property name="title"> |
|
||||
<string>QR Code</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout_3"> |
|
||||
<item row="1" column="0"> |
|
||||
<widget class="QLabel" name="label_2"> |
|
||||
<property name="text"> |
|
||||
<string>Connection String</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="2" column="0"> |
|
||||
<widget class="QLineEdit" name="txtConnStr"> |
|
||||
<property name="font"> |
|
||||
<font> |
|
||||
<pointsize>9</pointsize> |
|
||||
</font> |
|
||||
</property> |
|
||||
<property name="readOnly"> |
|
||||
<bool>true</bool> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="0" column="0"> |
|
||||
<widget class="QRCodeLabel" name="qrcode"> |
|
||||
<property name="sizePolicy"> |
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
|
||||
<horstretch>0</horstretch> |
|
||||
<verstretch>0</verstretch> |
|
||||
</sizepolicy> |
|
||||
</property> |
|
||||
<property name="styleSheet"> |
|
||||
<string notr="true">background-color: #fff</string> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string/> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="3" column="0"> |
|
||||
<widget class="QCheckBox" name="chkInternetConn"> |
|
||||
<property name="text"> |
|
||||
<string>Allow connections over the internet via silentdragon wormhole</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="2" rowspan="2"> |
|
||||
<widget class="QGroupBox" name="groupBox"> |
|
||||
<property name="title"> |
|
||||
<string>silentdragon Companion App</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout_2"> |
|
||||
<item row="5" column="0"> |
|
||||
<widget class="QPushButton" name="btnDisconnect"> |
|
||||
<property name="sizePolicy"> |
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
|
||||
<horstretch>0</horstretch> |
|
||||
<verstretch>0</verstretch> |
|
||||
</sizepolicy> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string>Disconnect</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="6" column="0"> |
|
||||
<spacer name="verticalSpacer"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Vertical</enum> |
|
||||
</property> |
|
||||
<property name="sizeHint" stdset="0"> |
|
||||
<size> |
|
||||
<width>20</width> |
|
||||
<height>40</height> |
|
||||
</size> |
|
||||
</property> |
|
||||
</spacer> |
|
||||
</item> |
|
||||
<item row="2" column="0"> |
|
||||
<widget class="QLabel" name="lblLastSeen"> |
|
||||
<property name="text"> |
|
||||
<string>TextLabel</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="0"> |
|
||||
<widget class="QLabel" name="label_3"> |
|
||||
<property name="text"> |
|
||||
<string>Last seen:</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="0" column="0"> |
|
||||
<widget class="QLabel" name="lblRemoteName"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">TextLabel</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="3" column="0"> |
|
||||
<widget class="QLabel" name="label_4"> |
|
||||
<property name="text"> |
|
||||
<string>Connection type:</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="4" column="0"> |
|
||||
<widget class="QLabel" name="lblConnectionType"> |
|
||||
<property name="text"> |
|
||||
<string>TextLabel</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
<customwidgets> |
|
||||
<customwidget> |
|
||||
<class>QRCodeLabel</class> |
|
||||
<extends>QLabel</extends> |
|
||||
<header>qrcodelabel.h</header> |
|
||||
</customwidget> |
|
||||
</customwidgets> |
|
||||
<resources/> |
|
||||
<connections> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>accepted()</signal> |
|
||||
<receiver>MobileAppConnector</receiver> |
|
||||
<slot>accept()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>248</x> |
|
||||
<y>254</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>157</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>rejected()</signal> |
|
||||
<receiver>MobileAppConnector</receiver> |
|
||||
<slot>reject()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>316</x> |
|
||||
<y>260</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>286</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
</connections> |
|
||||
</ui> |
|
Loading…
Reference in new issue