Browse Source

Add screenshots

import_zecw
Aditya Kulkarni 6 years ago
parent
commit
b69a222b38
  1. 3
      README.md
  2. 4
      application.qrc
  3. 2
      docs/index.html
  4. BIN
      docs/screenshot-main.png
  5. BIN
      res/icon.ico
  6. 3
      src/main.cpp
  7. 14
      src/mainwindow.ui
  8. 7
      src/settings.ui
  9. 8
      src/ui_mainwindow.h
  10. 7
      src/ui_settings.h

3
README.md

@ -1,5 +1,7 @@
zcash-qt-wallet is a z-Addr first wallet UI frontend for zcashd
![Screenshot](docs/screenshot-main.png?raw=true)
# Installation
zcash-qt-wallet needs a zcash node running zcashd. Download the zcash node software from https://z.cash/download/ and start zcashd.
@ -27,6 +29,7 @@ in File->Settings.
zcash-qt-wallet depends on QT5, which you can get from here: https://www.qt.io/download
### Compiling on Linux
You need a C++14 compatible compiler like g++ or clang++
```
git clone https://github.com/adityapk00/zcash-qt-wallet.git

4
application.qrc

@ -5,6 +5,6 @@
<qresource prefix="/icons">
<file>res/connected.png</file>
<file>res/loading.gif</file>
</qresource>
<file>res/icon.ico</file>
</qresource>
</RCC>

2
docs/index.html

@ -3,4 +3,4 @@
<body>
Hello World
</body>
</html>
</html>

BIN
docs/screenshot-main.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
res/icon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

3
src/main.cpp

@ -7,6 +7,8 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc, argv);
QIcon icon(":/icons/res/icon.ico");
a.setWindowIcon(icon);
#ifdef Q_OS_LINUX
QFontDatabase::addApplicationFont(":/fonts/res/Ubuntu-R.ttf");
@ -19,6 +21,7 @@ int main(int argc, char *argv[])
MainWindow w;
w.show();
return QApplication::exec();

14
src/mainwindow.ui

@ -11,7 +11,11 @@
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
<string>zcash-qt-wallet</string>
</property>
<property name="windowIcon">
<iconset resource="../application.qrc">
<normaloff>:/icons/res/icon.ico</normaloff>:/icons/res/icon.ico</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_3">
@ -247,8 +251,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>772</width>
<height>218</height>
<width>823</width>
<height>226</height>
</rect>
</property>
<layout class="QVBoxLayout" name="sendToLayout">
@ -675,6 +679,8 @@
<tabstop>txtRecieve</tabstop>
<tabstop>transactionsTable</tabstop>
</tabstops>
<resources/>
<resources>
<include location="../application.qrc"/>
</resources>
<connections/>
</ui>

7
src/settings.ui

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<height>362</height>
</rect>
</property>
<property name="windowTitle">
@ -130,11 +130,6 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Options</string>
</attribute>
</widget>
</widget>
</item>
<item>

8
src/ui_mainwindow.h

@ -10,6 +10,7 @@
#define UI_MAINWINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
@ -136,6 +137,9 @@ public:
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QStringLiteral("MainWindow"));
MainWindow->resize(889, 603);
QIcon icon;
icon.addFile(QStringLiteral(":/icons/res/icon.ico"), QSize(), QIcon::Normal, QIcon::Off);
MainWindow->setWindowIcon(icon);
actionExit = new QAction(MainWindow);
actionExit->setObjectName(QStringLiteral("actionExit"));
actionAbout = new QAction(MainWindow);
@ -330,7 +334,7 @@ public:
sendToScrollArea->setWidgetResizable(true);
sendToWidgets = new QWidget();
sendToWidgets->setObjectName(QStringLiteral("sendToWidgets"));
sendToWidgets->setGeometry(QRect(0, 0, 772, 218));
sendToWidgets->setGeometry(QRect(0, 0, 823, 226));
sendToLayout = new QVBoxLayout(sendToWidgets);
sendToLayout->setSpacing(6);
sendToLayout->setContentsMargins(11, 11, 11, 11);
@ -634,7 +638,7 @@ public:
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "zcash-qt-wallet", nullptr));
actionExit->setText(QApplication::translate("MainWindow", "Exit", nullptr));
actionAbout->setText(QApplication::translate("MainWindow", "About", nullptr));
actionSettings->setText(QApplication::translate("MainWindow", "Settings", nullptr));

7
src/ui_settings.h

@ -43,14 +43,13 @@ public:
QLineEdit *rpcpassword;
QLabel *label_2;
QSpacerItem *verticalSpacer;
QWidget *tab_2;
QDialogButtonBox *buttonBox;
void setupUi(QDialog *Settings)
{
if (Settings->objectName().isEmpty())
Settings->setObjectName(QStringLiteral("Settings"));
Settings->resize(400, 300);
Settings->resize(400, 362);
Settings->setModal(true);
verticalLayout = new QVBoxLayout(Settings);
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
@ -122,9 +121,6 @@ public:
verticalLayout_3->addItem(verticalSpacer);
tabWidget->addTab(tab, QString());
tab_2 = new QWidget();
tab_2->setObjectName(QStringLiteral("tab_2"));
tabWidget->addTab(tab_2, QString());
verticalLayout->addWidget(tabWidget);
@ -161,7 +157,6 @@ public:
label_4->setText(QApplication::translate("Settings", "RPC Password", nullptr));
label_2->setText(QApplication::translate("Settings", "Port", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("Settings", "Connection", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("Settings", "Options", nullptr));
} // retranslateUi
};

Loading…
Cancel
Save