Aditya Kulkarni
6 years ago
9 changed files with 262 additions and 31 deletions
@ -0,0 +1,78 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<ui version="4.0"> |
||||
|
<class>PrivKey</class> |
||||
|
<widget class="QDialog" name="PrivKey"> |
||||
|
<property name="geometry"> |
||||
|
<rect> |
||||
|
<x>0</x> |
||||
|
<y>0</y> |
||||
|
<width>461</width> |
||||
|
<height>389</height> |
||||
|
</rect> |
||||
|
</property> |
||||
|
<property name="windowTitle"> |
||||
|
<string>Private Key</string> |
||||
|
</property> |
||||
|
<layout class="QGridLayout" name="gridLayout"> |
||||
|
<item row="1" column="0"> |
||||
|
<widget class="QPlainTextEdit" name="privKeyTxt"> |
||||
|
<property name="plainText"> |
||||
|
<string/> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
<item row="2" column="0"> |
||||
|
<widget class="QDialogButtonBox" name="buttonBox"> |
||||
|
<property name="orientation"> |
||||
|
<enum>Qt::Horizontal</enum> |
||||
|
</property> |
||||
|
<property name="standardButtons"> |
||||
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
<item row="0" column="0"> |
||||
|
<widget class="QLabel" name="helpLbl"> |
||||
|
<property name="text"> |
||||
|
<string>TextLabel</string> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
</layout> |
||||
|
</widget> |
||||
|
<resources/> |
||||
|
<connections> |
||||
|
<connection> |
||||
|
<sender>buttonBox</sender> |
||||
|
<signal>accepted()</signal> |
||||
|
<receiver>PrivKey</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>PrivKey</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> |
@ -0,0 +1,77 @@ |
|||||
|
/********************************************************************************
|
||||
|
** Form generated from reading UI file 'privkey.ui' |
||||
|
** |
||||
|
** Created by: Qt User Interface Compiler version 5.11.2 |
||||
|
** |
||||
|
** WARNING! All changes made in this file will be lost when recompiling UI file! |
||||
|
********************************************************************************/ |
||||
|
|
||||
|
#ifndef UI_PRIVKEY_H |
||||
|
#define UI_PRIVKEY_H |
||||
|
|
||||
|
#include <QtCore/QVariant> |
||||
|
#include <QtWidgets/QApplication> |
||||
|
#include <QtWidgets/QDialog> |
||||
|
#include <QtWidgets/QDialogButtonBox> |
||||
|
#include <QtWidgets/QGridLayout> |
||||
|
#include <QtWidgets/QLabel> |
||||
|
#include <QtWidgets/QPlainTextEdit> |
||||
|
|
||||
|
QT_BEGIN_NAMESPACE |
||||
|
|
||||
|
class Ui_PrivKey |
||||
|
{ |
||||
|
public: |
||||
|
QGridLayout *gridLayout; |
||||
|
QPlainTextEdit *privKeyTxt; |
||||
|
QDialogButtonBox *buttonBox; |
||||
|
QLabel *helpLbl; |
||||
|
|
||||
|
void setupUi(QDialog *PrivKey) |
||||
|
{ |
||||
|
if (PrivKey->objectName().isEmpty()) |
||||
|
PrivKey->setObjectName(QStringLiteral("PrivKey")); |
||||
|
PrivKey->resize(461, 389); |
||||
|
gridLayout = new QGridLayout(PrivKey); |
||||
|
gridLayout->setObjectName(QStringLiteral("gridLayout")); |
||||
|
privKeyTxt = new QPlainTextEdit(PrivKey); |
||||
|
privKeyTxt->setObjectName(QStringLiteral("privKeyTxt")); |
||||
|
|
||||
|
gridLayout->addWidget(privKeyTxt, 1, 0, 1, 1); |
||||
|
|
||||
|
buttonBox = new QDialogButtonBox(PrivKey); |
||||
|
buttonBox->setObjectName(QStringLiteral("buttonBox")); |
||||
|
buttonBox->setOrientation(Qt::Horizontal); |
||||
|
buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Ok); |
||||
|
|
||||
|
gridLayout->addWidget(buttonBox, 2, 0, 1, 1); |
||||
|
|
||||
|
helpLbl = new QLabel(PrivKey); |
||||
|
helpLbl->setObjectName(QStringLiteral("helpLbl")); |
||||
|
|
||||
|
gridLayout->addWidget(helpLbl, 0, 0, 1, 1); |
||||
|
|
||||
|
|
||||
|
retranslateUi(PrivKey); |
||||
|
QObject::connect(buttonBox, SIGNAL(accepted()), PrivKey, SLOT(accept())); |
||||
|
QObject::connect(buttonBox, SIGNAL(rejected()), PrivKey, SLOT(reject())); |
||||
|
|
||||
|
QMetaObject::connectSlotsByName(PrivKey); |
||||
|
} // setupUi
|
||||
|
|
||||
|
void retranslateUi(QDialog *PrivKey) |
||||
|
{ |
||||
|
PrivKey->setWindowTitle(QApplication::translate("PrivKey", "Private Key", nullptr)); |
||||
|
privKeyTxt->setPlainText(QString()); |
||||
|
helpLbl->setText(QApplication::translate("PrivKey", "TextLabel", nullptr)); |
||||
|
} // retranslateUi
|
||||
|
|
||||
|
}; |
||||
|
|
||||
|
namespace Ui { |
||||
|
class PrivKey: public Ui_PrivKey {}; |
||||
|
} // namespace Ui
|
||||
|
|
||||
|
QT_END_NAMESPACE |
||||
|
|
||||
|
#endif // UI_PRIVKEY_H
|
Loading…
Reference in new issue