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

4
application.qrc

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

2
docs/index.html

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

14
src/mainwindow.ui

@ -11,7 +11,11 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <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> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
@ -247,8 +251,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>772</width> <width>823</width>
<height>218</height> <height>226</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="sendToLayout"> <layout class="QVBoxLayout" name="sendToLayout">
@ -675,6 +679,8 @@
<tabstop>txtRecieve</tabstop> <tabstop>txtRecieve</tabstop>
<tabstop>transactionsTable</tabstop> <tabstop>transactionsTable</tabstop>
</tabstops> </tabstops>
<resources/> <resources>
<include location="../application.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>

7
src/settings.ui

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

8
src/ui_mainwindow.h

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

7
src/ui_settings.h

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

Loading…
Cancel
Save