91d99fcd3f
* Merge #8996: Network activity toggle 19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen) * Revert on-click behavior of network status icon to showing peers list Stay with the way Dash handled clicking on the status icon * Add theme support for network disabled icon * Merge #8874: Multiple Selection for peer and ban tables 1077577 Fix auto-deselection of peers (Andrew Chow) addfdeb Multiple Selection for peer and ban tables (Andrew Chow) * Merge #9190: qt: Plug many memory leaks ed998ea qt: Avoid OpenSSL certstore-related memory leak (Wladimir J. van der Laan) 5204598 qt: Avoid shutdownwindow-related memory leak (Wladimir J. van der Laan) e4f126a qt: Avoid splash-screen related memory leak (Wladimir J. van der Laan) 693384e qt: Prevent thread/memory leak on exiting RPCConsole (Wladimir J. van der Laan) 47db075 qt: Plug many memory leaks (Wladimir J. van der Laan) * Merge #9218: qt: Show progress overlay when clicking spinner icon 042f9fa qt: Show progress overlay when clicking spinner icon (Wladimir J. van der Laan) 827d9a3 qt: Replace NetworkToggleStatusBarControl with generic ClickableLabel (Wladimir J. van der Laan) * Merge #9266: Bugfix: Qt/RPCConsole: Put column enum in the right places df17fe0 Bugfix: Qt/RPCConsole: Put column enum in the right places (Luke Dashjr) * Merge #9255: qt: layoutAboutToChange signal is called layoutAboutToBeChanged f36349e qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole (Wladimir J. van der Laan) 297cc20 qt: layoutAboutToChange signal is called layoutAboutToBeChanged (Wladimir J. van der Laan) * Use UniValue until bitcoin PR #8788 is backported Network active toggle was already based on "[RPC] Give RPC commands more information about the RPC request" We need to use the old UniValue style until that one is backported * Merge #8906: [qt] sync-overlay: Don't show progress twice fafeec3 [qt] sync-overlay: Don't show progress twice (MarcoFalke) * Merge #8985: Use pindexBestHeader instead of setBlockIndexCandidates for NotifyHeaderTip() 3154d6e [Qt] use NotifyHeaderTip's height and date for the progress update (Jonas Schnelli) 0a261b6 Use pindexBestHeader instead of setBlockIndexCandidates for NotifyHeaderTip() (Jonas Schnelli) * Merge #9280: [Qt] Show ModalOverlay by pressing the progress bar, allow hiding 89a3723 [Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync mode (Jonas Schnelli) * Merge #9461: [Qt] Improve progress display during headers-sync and peer-finding 40ec7c7 [Qt] Improve progress display during headers-sync and peer-finding (Jonas Schnelli) * Merge #9588: qt: Use nPowTargetSpacing constant fa4d478 qt: Use nPowTargetSpacing constant (MarcoFalke) * Hide modal overlay forever when syncing has catched up Don't allow to open it again by clicking on the progress bar and spinner icon. Currently the overlay does not show meaningful information about masternode sync and it gives the impression of being stuck after the block chain sync is done. * Don't include chainparams.h in sendcoinsdialog.cpp This was just a remainder of a backported PR which meant to change some calculation in this file which does not apply to Dash. * Also check for fNetworkActive in ConnectNode * Merge #9528: [qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64) 988d300 [qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64) (practicalswift) * Merge #11237: qt: Fixing division by zero in time remaining c8d38abd6 Refactor tipUpdate as per style guide (MeshCollider) 3b69a08c5 Fix division by zero in time remaining (MeshCollider) Pull request description: Fixes https://github.com/bitcoin/bitcoin/issues/10291, https://github.com/bitcoin/bitcoin/issues/11265 progressDelta may be 0 (or even negative according to 11265), this checks for that and prints unknown if it is, because we cannot calculate an estimate for the time remaining (would be infinite or negative). Tree-SHA512: bc5708e5ed6e4670d008219558c5fbb25709bd99a32c98ec39bb74f94a0b7fa058f3d03389ccdd39e6723e6b5b48e34b13ceee7c051c2db631e51d8ec3e1d68c
615 lines
21 KiB
Makefile
615 lines
21 KiB
Makefile
bin_PROGRAMS += qt/dash-qt
|
|
EXTRA_LIBRARIES += qt/libbitcoinqt.a
|
|
|
|
# dash qt core #
|
|
QT_TS = \
|
|
qt/locale/dash_bg.ts \
|
|
qt/locale/dash_de.ts \
|
|
qt/locale/dash_en.ts \
|
|
qt/locale/dash_es.ts \
|
|
qt/locale/dash_fi.ts \
|
|
qt/locale/dash_fr.ts \
|
|
qt/locale/dash_it.ts \
|
|
qt/locale/dash_ja.ts \
|
|
qt/locale/dash_pl.ts \
|
|
qt/locale/dash_pt.ts \
|
|
qt/locale/dash_ru.ts \
|
|
qt/locale/dash_sk.ts \
|
|
qt/locale/dash_sv.ts \
|
|
qt/locale/dash_vi.ts \
|
|
qt/locale/dash_zh_CN.ts \
|
|
qt/locale/dash_zh_TW.ts
|
|
|
|
QT_FORMS_UI = \
|
|
qt/forms/addressbookpage.ui \
|
|
qt/forms/askpassphrasedialog.ui \
|
|
qt/forms/coincontroldialog.ui \
|
|
qt/forms/darksendconfig.ui \
|
|
qt/forms/editaddressdialog.ui \
|
|
qt/forms/helpmessagedialog.ui \
|
|
qt/forms/intro.ui \
|
|
qt/forms/modaloverlay.ui \
|
|
qt/forms/masternodelist.ui \
|
|
qt/forms/openuridialog.ui \
|
|
qt/forms/optionsdialog.ui \
|
|
qt/forms/overviewpage.ui \
|
|
qt/forms/receivecoinsdialog.ui \
|
|
qt/forms/receiverequestdialog.ui \
|
|
qt/forms/debugwindow.ui \
|
|
qt/forms/sendcoinsdialog.ui \
|
|
qt/forms/sendcoinsentry.ui \
|
|
qt/forms/signverifymessagedialog.ui \
|
|
qt/forms/transactiondescdialog.ui
|
|
|
|
QT_MOC_CPP = \
|
|
qt/moc_addressbookpage.cpp \
|
|
qt/moc_addresstablemodel.cpp \
|
|
qt/moc_askpassphrasedialog.cpp \
|
|
qt/moc_bantablemodel.cpp \
|
|
qt/moc_bitcoinaddressvalidator.cpp \
|
|
qt/moc_bitcoinamountfield.cpp \
|
|
qt/moc_bitcoingui.cpp \
|
|
qt/moc_bitcoinunits.cpp \
|
|
qt/moc_clientmodel.cpp \
|
|
qt/moc_coincontroldialog.cpp \
|
|
qt/moc_coincontroltreewidget.cpp \
|
|
qt/moc_csvmodelwriter.cpp \
|
|
qt/moc_darksendconfig.cpp \
|
|
qt/moc_editaddressdialog.cpp \
|
|
qt/moc_guiutil.cpp \
|
|
qt/moc_intro.cpp \
|
|
qt/moc_macdockiconhandler.cpp \
|
|
qt/moc_macnotificationhandler.cpp \
|
|
qt/moc_modaloverlay.cpp \
|
|
qt/moc_masternodelist.cpp \
|
|
qt/moc_notificator.cpp \
|
|
qt/moc_openuridialog.cpp \
|
|
qt/moc_optionsdialog.cpp \
|
|
qt/moc_optionsmodel.cpp \
|
|
qt/moc_overviewpage.cpp \
|
|
qt/moc_peertablemodel.cpp \
|
|
qt/moc_paymentserver.cpp \
|
|
qt/moc_qvalidatedlineedit.cpp \
|
|
qt/moc_qvaluecombobox.cpp \
|
|
qt/moc_receivecoinsdialog.cpp \
|
|
qt/moc_receiverequestdialog.cpp \
|
|
qt/moc_recentrequeststablemodel.cpp \
|
|
qt/moc_rpcconsole.cpp \
|
|
qt/moc_sendcoinsdialog.cpp \
|
|
qt/moc_sendcoinsentry.cpp \
|
|
qt/moc_signverifymessagedialog.cpp \
|
|
qt/moc_splashscreen.cpp \
|
|
qt/moc_trafficgraphwidget.cpp \
|
|
qt/moc_transactiondesc.cpp \
|
|
qt/moc_transactiondescdialog.cpp \
|
|
qt/moc_transactionfilterproxy.cpp \
|
|
qt/moc_transactiontablemodel.cpp \
|
|
qt/moc_transactionview.cpp \
|
|
qt/moc_utilitydialog.cpp \
|
|
qt/moc_walletframe.cpp \
|
|
qt/moc_walletmodel.cpp \
|
|
qt/moc_walletview.cpp
|
|
|
|
BITCOIN_MM = \
|
|
qt/macdockiconhandler.mm \
|
|
qt/macnotificationhandler.mm
|
|
|
|
QT_MOC = \
|
|
qt/dash.moc \
|
|
qt/bitcoinamountfield.moc \
|
|
qt/intro.moc \
|
|
qt/overviewpage.moc \
|
|
qt/rpcconsole.moc
|
|
|
|
QT_QRC_CPP = qt/qrc_dash.cpp
|
|
QT_QRC = qt/dash.qrc
|
|
QT_QRC_LOCALE_CPP = qt/qrc_dash_locale.cpp
|
|
QT_QRC_LOCALE = qt/dash_locale.qrc
|
|
|
|
PROTOBUF_CC = qt/paymentrequest.pb.cc
|
|
PROTOBUF_H = qt/paymentrequest.pb.h
|
|
PROTOBUF_PROTO = qt/paymentrequest.proto
|
|
|
|
BITCOIN_QT_H = \
|
|
qt/addressbookpage.h \
|
|
qt/addresstablemodel.h \
|
|
qt/askpassphrasedialog.h \
|
|
qt/bantablemodel.h \
|
|
qt/bitcoinaddressvalidator.h \
|
|
qt/bitcoinamountfield.h \
|
|
qt/bitcoingui.h \
|
|
qt/bitcoinunits.h \
|
|
qt/clientmodel.h \
|
|
qt/coincontroldialog.h \
|
|
qt/coincontroltreewidget.h \
|
|
qt/csvmodelwriter.h \
|
|
qt/darksendconfig.h \
|
|
qt/editaddressdialog.h \
|
|
qt/guiconstants.h \
|
|
qt/guiutil.h \
|
|
qt/intro.h \
|
|
qt/macdockiconhandler.h \
|
|
qt/macnotificationhandler.h \
|
|
qt/modaloverlay.h \
|
|
qt/masternodelist.h \
|
|
qt/networkstyle.h \
|
|
qt/notificator.h \
|
|
qt/openuridialog.h \
|
|
qt/optionsdialog.h \
|
|
qt/optionsmodel.h \
|
|
qt/overviewpage.h \
|
|
qt/paymentrequestplus.h \
|
|
qt/paymentserver.h \
|
|
qt/peertablemodel.h \
|
|
qt/platformstyle.h \
|
|
qt/qvalidatedlineedit.h \
|
|
qt/qvaluecombobox.h \
|
|
qt/receivecoinsdialog.h \
|
|
qt/receiverequestdialog.h \
|
|
qt/recentrequeststablemodel.h \
|
|
qt/rpcconsole.h \
|
|
qt/sendcoinsdialog.h \
|
|
qt/sendcoinsentry.h \
|
|
qt/signverifymessagedialog.h \
|
|
qt/splashscreen.h \
|
|
qt/trafficgraphdata.h \
|
|
qt/trafficgraphwidget.h \
|
|
qt/transactiondesc.h \
|
|
qt/transactiondescdialog.h \
|
|
qt/transactionfilterproxy.h \
|
|
qt/transactionrecord.h \
|
|
qt/transactiontablemodel.h \
|
|
qt/transactionview.h \
|
|
qt/utilitydialog.h \
|
|
qt/walletframe.h \
|
|
qt/walletmodel.h \
|
|
qt/walletmodeltransaction.h \
|
|
qt/walletview.h \
|
|
qt/winshutdownmonitor.h
|
|
|
|
RES_ICONS = \
|
|
qt/res/icons/bitcoin.ico \
|
|
qt/res/icons/bitcoin.png \
|
|
qt/res/icons/chevron.png \
|
|
qt/res/icons/warning.png \
|
|
qt/res/icons/drkblue/add.png \
|
|
qt/res/icons/drkblue/address-book.png \
|
|
qt/res/icons/drkblue/browse.png \
|
|
qt/res/icons/drkblue/clock1.png \
|
|
qt/res/icons/drkblue/clock2.png \
|
|
qt/res/icons/drkblue/clock3.png \
|
|
qt/res/icons/drkblue/clock4.png \
|
|
qt/res/icons/drkblue/clock5.png \
|
|
qt/res/icons/drkblue/configure.png \
|
|
qt/res/icons/drkblue/connect0_16.png \
|
|
qt/res/icons/drkblue/connect1_16.png \
|
|
qt/res/icons/drkblue/connect2_16.png \
|
|
qt/res/icons/drkblue/connect3_16.png \
|
|
qt/res/icons/drkblue/connect4_16.png \
|
|
qt/res/icons/drkblue/debugwindow.png \
|
|
qt/res/icons/drkblue/drkblue_editpaste.png \
|
|
qt/res/icons/drkblue/drkblue_address-book.png \
|
|
qt/res/icons/drkblue/drkblue_editcopy.png \
|
|
qt/res/icons/drkblue/drkblue_remove.png \
|
|
qt/res/icons/drkblue/edit.png \
|
|
qt/res/icons/drkblue/editcopy.png \
|
|
qt/res/icons/drkblue/editpaste.png \
|
|
qt/res/icons/drkblue/export.png \
|
|
qt/res/icons/drkblue/eye.png \
|
|
qt/res/icons/drkblue/eye_minus.png \
|
|
qt/res/icons/drkblue/eye_plus.png \
|
|
qt/res/icons/drkblue/filesave.png \
|
|
qt/res/icons/drkblue/hd_disabled.png \
|
|
qt/res/icons/drkblue/hd_enabled.png \
|
|
qt/res/icons/drkblue/history.png \
|
|
qt/res/icons/drkblue/key.png \
|
|
qt/res/icons/drkblue/lock_closed.png \
|
|
qt/res/icons/drkblue/lock_open.png \
|
|
qt/res/icons/drkblue/masternodes.png \
|
|
qt/res/icons/drkblue/overview.png \
|
|
qt/res/icons/drkblue/quit.png \
|
|
qt/res/icons/drkblue/receive.png \
|
|
qt/res/icons/drkblue/remove.png \
|
|
qt/res/icons/drkblue/send.png \
|
|
qt/res/icons/drkblue/synced.png \
|
|
qt/res/icons/drkblue/transaction0.png \
|
|
qt/res/icons/drkblue/transaction2.png \
|
|
qt/res/icons/drkblue/transaction_conflicted.png \
|
|
qt/res/icons/drkblue/tx_inout.png \
|
|
qt/res/icons/drkblue/tx_input.png \
|
|
qt/res/icons/drkblue/tx_output.png \
|
|
qt/res/icons/drkblue/tx_mined.png \
|
|
qt/res/icons/drkblue/about.png \
|
|
qt/res/icons/drkblue/about_qt.png \
|
|
qt/res/icons/drkblue/verify.png \
|
|
qt/res/icons/drkblue/fontbigger.png \
|
|
qt/res/icons/drkblue/fontsmaller.png \
|
|
qt/res/icons/drkblue/transaction_abandoned.png \
|
|
qt/res/icons/drkblue/network_disabled.png \
|
|
qt/res/icons/crownium/add.png \
|
|
qt/res/icons/crownium/address-book.png \
|
|
qt/res/icons/crownium/browse.png \
|
|
qt/res/icons/crownium/clock1.png \
|
|
qt/res/icons/crownium/clock2.png \
|
|
qt/res/icons/crownium/clock3.png \
|
|
qt/res/icons/crownium/clock4.png \
|
|
qt/res/icons/crownium/clock5.png \
|
|
qt/res/icons/crownium/configure.png \
|
|
qt/res/icons/crownium/connect0_16.png \
|
|
qt/res/icons/crownium/connect1_16.png \
|
|
qt/res/icons/crownium/connect2_16.png \
|
|
qt/res/icons/crownium/connect3_16.png \
|
|
qt/res/icons/crownium/connect4_16.png \
|
|
qt/res/icons/crownium/debugwindow.png \
|
|
qt/res/icons/crownium/drkblue_editpaste.png \
|
|
qt/res/icons/crownium/drkblue_address-book.png \
|
|
qt/res/icons/crownium/drkblue_editcopy.png \
|
|
qt/res/icons/crownium/drkblue_remove.png \
|
|
qt/res/icons/crownium/edit.png \
|
|
qt/res/icons/crownium/editcopy.png \
|
|
qt/res/icons/crownium/editpaste.png \
|
|
qt/res/icons/crownium/export.png \
|
|
qt/res/icons/crownium/eye.png \
|
|
qt/res/icons/crownium/eye_minus.png \
|
|
qt/res/icons/crownium/eye_plus.png \
|
|
qt/res/icons/crownium/filesave.png \
|
|
qt/res/icons/crownium/hd_disabled.png \
|
|
qt/res/icons/crownium/hd_enabled.png \
|
|
qt/res/icons/crownium/history.png \
|
|
qt/res/icons/crownium/key.png \
|
|
qt/res/icons/crownium/lock_closed.png \
|
|
qt/res/icons/crownium/lock_open.png \
|
|
qt/res/icons/crownium/masternodes.png \
|
|
qt/res/icons/crownium/overview.png \
|
|
qt/res/icons/crownium/quit.png \
|
|
qt/res/icons/crownium/receive.png \
|
|
qt/res/icons/crownium/remove.png \
|
|
qt/res/icons/crownium/send.png \
|
|
qt/res/icons/crownium/synced.png \
|
|
qt/res/icons/crownium/transaction0.png \
|
|
qt/res/icons/crownium/transaction2.png \
|
|
qt/res/icons/crownium/transaction_conflicted.png \
|
|
qt/res/icons/crownium/tx_inout.png \
|
|
qt/res/icons/crownium/tx_input.png \
|
|
qt/res/icons/crownium/tx_output.png \
|
|
qt/res/icons/crownium/tx_mined.png \
|
|
qt/res/icons/crownium/about.png \
|
|
qt/res/icons/crownium/about_qt.png \
|
|
qt/res/icons/crownium/verify.png \
|
|
qt/res/icons/crownium/fontbigger.png \
|
|
qt/res/icons/crownium/fontsmaller.png \
|
|
qt/res/icons/crownium/transaction_abandoned.png \
|
|
qt/res/icons/crownium/network_disabled.png \
|
|
qt/res/icons/light/add.png \
|
|
qt/res/icons/light/address-book.png \
|
|
qt/res/icons/light/browse.png \
|
|
qt/res/icons/light/clock1.png \
|
|
qt/res/icons/light/clock2.png \
|
|
qt/res/icons/light/clock3.png \
|
|
qt/res/icons/light/clock4.png \
|
|
qt/res/icons/light/clock5.png \
|
|
qt/res/icons/light/configure.png \
|
|
qt/res/icons/light/connect0_16.png \
|
|
qt/res/icons/light/connect1_16.png \
|
|
qt/res/icons/light/connect2_16.png \
|
|
qt/res/icons/light/connect3_16.png \
|
|
qt/res/icons/light/connect4_16.png \
|
|
qt/res/icons/light/debugwindow.png \
|
|
qt/res/icons/light/drkblue_editpaste.png \
|
|
qt/res/icons/light/drkblue_address-book.png \
|
|
qt/res/icons/light/drkblue_editcopy.png \
|
|
qt/res/icons/light/drkblue_remove.png \
|
|
qt/res/icons/light/edit.png \
|
|
qt/res/icons/light/editcopy.png \
|
|
qt/res/icons/light/editpaste.png \
|
|
qt/res/icons/light/export.png \
|
|
qt/res/icons/light/eye.png \
|
|
qt/res/icons/light/eye_minus.png \
|
|
qt/res/icons/light/eye_plus.png \
|
|
qt/res/icons/light/filesave.png \
|
|
qt/res/icons/light/hd_disabled.png \
|
|
qt/res/icons/light/hd_enabled.png \
|
|
qt/res/icons/light/history.png \
|
|
qt/res/icons/light/key.png \
|
|
qt/res/icons/light/lock_closed.png \
|
|
qt/res/icons/light/lock_open.png \
|
|
qt/res/icons/light/masternodes.png \
|
|
qt/res/icons/light/overview.png \
|
|
qt/res/icons/light/quit.png \
|
|
qt/res/icons/light/receive.png \
|
|
qt/res/icons/light/remove.png \
|
|
qt/res/icons/light/send.png \
|
|
qt/res/icons/light/synced.png \
|
|
qt/res/icons/light/transaction0.png \
|
|
qt/res/icons/light/transaction2.png \
|
|
qt/res/icons/light/transaction_conflicted.png \
|
|
qt/res/icons/light/tx_inout.png \
|
|
qt/res/icons/light/tx_input.png \
|
|
qt/res/icons/light/tx_output.png \
|
|
qt/res/icons/light/tx_mined.png \
|
|
qt/res/icons/light/about.png \
|
|
qt/res/icons/light/about_qt.png \
|
|
qt/res/icons/light/verify.png \
|
|
qt/res/icons/light/fontbigger.png \
|
|
qt/res/icons/light/fontsmaller.png \
|
|
qt/res/icons/light/transaction_abandoned.png \
|
|
qt/res/icons/light/network_disabled.png \
|
|
qt/res/icons/trad/add.png \
|
|
qt/res/icons/trad/address-book.png \
|
|
qt/res/icons/trad/browse.png \
|
|
qt/res/icons/trad/clock1.png \
|
|
qt/res/icons/trad/clock2.png \
|
|
qt/res/icons/trad/clock3.png \
|
|
qt/res/icons/trad/clock4.png \
|
|
qt/res/icons/trad/clock5.png \
|
|
qt/res/icons/trad/configure.png \
|
|
qt/res/icons/trad/connect0_16.png \
|
|
qt/res/icons/trad/connect1_16.png \
|
|
qt/res/icons/trad/connect2_16.png \
|
|
qt/res/icons/trad/connect3_16.png \
|
|
qt/res/icons/trad/connect4_16.png \
|
|
qt/res/icons/trad/debugwindow.png \
|
|
qt/res/icons/trad/drkblue_editpaste.png \
|
|
qt/res/icons/trad/drkblue_address-book.png \
|
|
qt/res/icons/trad/drkblue_editcopy.png \
|
|
qt/res/icons/trad/drkblue_remove.png \
|
|
qt/res/icons/trad/edit.png \
|
|
qt/res/icons/trad/editcopy.png \
|
|
qt/res/icons/trad/editpaste.png \
|
|
qt/res/icons/trad/export.png \
|
|
qt/res/icons/trad/eye.png \
|
|
qt/res/icons/trad/eye_minus.png \
|
|
qt/res/icons/trad/eye_plus.png \
|
|
qt/res/icons/trad/filesave.png \
|
|
qt/res/icons/trad/hd_disabled.png \
|
|
qt/res/icons/trad/hd_enabled.png \
|
|
qt/res/icons/trad/history.png \
|
|
qt/res/icons/trad/key.png \
|
|
qt/res/icons/trad/lock_closed.png \
|
|
qt/res/icons/trad/lock_open.png \
|
|
qt/res/icons/trad/masternodes.png \
|
|
qt/res/icons/trad/overview.png \
|
|
qt/res/icons/trad/quit.png \
|
|
qt/res/icons/trad/receive.png \
|
|
qt/res/icons/trad/remove.png \
|
|
qt/res/icons/trad/send.png \
|
|
qt/res/icons/trad/synced.png \
|
|
qt/res/icons/trad/transaction0.png \
|
|
qt/res/icons/trad/transaction2.png \
|
|
qt/res/icons/trad/transaction_conflicted.png \
|
|
qt/res/icons/trad/tx_inout.png \
|
|
qt/res/icons/trad/tx_input.png \
|
|
qt/res/icons/trad/tx_output.png \
|
|
qt/res/icons/trad/tx_mined.png \
|
|
qt/res/icons/trad/about.png \
|
|
qt/res/icons/trad/about_qt.png \
|
|
qt/res/icons/trad/verify.png \
|
|
qt/res/icons/trad/fontbigger.png \
|
|
qt/res/icons/trad/fontsmaller.png \
|
|
qt/res/icons/trad/transaction_abandoned.png \
|
|
qt/res/icons/trad/network_disabled.png
|
|
|
|
BITCOIN_QT_CPP = \
|
|
qt/bantablemodel.cpp \
|
|
qt/bitcoinaddressvalidator.cpp \
|
|
qt/bitcoinamountfield.cpp \
|
|
qt/bitcoingui.cpp \
|
|
qt/bitcoinunits.cpp \
|
|
qt/clientmodel.cpp \
|
|
qt/csvmodelwriter.cpp \
|
|
qt/guiutil.cpp \
|
|
qt/intro.cpp \
|
|
qt/modaloverlay.cpp \
|
|
qt/networkstyle.cpp \
|
|
qt/notificator.cpp \
|
|
qt/optionsdialog.cpp \
|
|
qt/optionsmodel.cpp \
|
|
qt/peertablemodel.cpp \
|
|
qt/platformstyle.cpp \
|
|
qt/qvalidatedlineedit.cpp \
|
|
qt/qvaluecombobox.cpp \
|
|
qt/rpcconsole.cpp \
|
|
qt/splashscreen.cpp \
|
|
qt/trafficgraphdata.cpp \
|
|
qt/trafficgraphwidget.cpp \
|
|
qt/utilitydialog.cpp
|
|
|
|
if TARGET_WINDOWS
|
|
BITCOIN_QT_CPP += qt/winshutdownmonitor.cpp
|
|
endif
|
|
|
|
if ENABLE_WALLET
|
|
BITCOIN_QT_CPP += \
|
|
qt/addressbookpage.cpp \
|
|
qt/addresstablemodel.cpp \
|
|
qt/askpassphrasedialog.cpp \
|
|
qt/coincontroldialog.cpp \
|
|
qt/coincontroltreewidget.cpp \
|
|
qt/darksendconfig.cpp \
|
|
qt/editaddressdialog.cpp \
|
|
qt/masternodelist.cpp \
|
|
qt/openuridialog.cpp \
|
|
qt/overviewpage.cpp \
|
|
qt/paymentrequestplus.cpp \
|
|
qt/paymentserver.cpp \
|
|
qt/receivecoinsdialog.cpp \
|
|
qt/receiverequestdialog.cpp \
|
|
qt/recentrequeststablemodel.cpp \
|
|
qt/sendcoinsdialog.cpp \
|
|
qt/sendcoinsentry.cpp \
|
|
qt/signverifymessagedialog.cpp \
|
|
qt/transactiondesc.cpp \
|
|
qt/transactiondescdialog.cpp \
|
|
qt/transactionfilterproxy.cpp \
|
|
qt/transactionrecord.cpp \
|
|
qt/transactiontablemodel.cpp \
|
|
qt/transactionview.cpp \
|
|
qt/walletframe.cpp \
|
|
qt/walletmodel.cpp \
|
|
qt/walletmodeltransaction.cpp \
|
|
qt/walletview.cpp
|
|
endif
|
|
|
|
RES_IMAGES = \
|
|
qt/res/images/drkblue/about.png \
|
|
qt/res/images/drkblue/splash.png \
|
|
qt/res/images/drkblue/splash_testnet.png \
|
|
qt/res/images/drkblue/dash_logo_horizontal.png \
|
|
qt/res/images/drkblue/unchecked.png \
|
|
qt/res/images/drkblue/checked.png \
|
|
qt/res/images/drkblue/drkblue_downArrow.png \
|
|
qt/res/images/drkblue/drkblue_downArrow_small.png \
|
|
qt/res/images/drkblue/drkblue_upArrow_small.png \
|
|
qt/res/images/drkblue/drkblue_leftArrow_small.png \
|
|
qt/res/images/drkblue/drkblue_rightArrow_small.png \
|
|
qt/res/images/drkblue/drkblue_qtreeview_selected.png \
|
|
qt/res/images/drkblue/drkblue_walletFrame_bg.png \
|
|
qt/res/images/crownium/about.png \
|
|
qt/res/images/crownium/splash.png \
|
|
qt/res/images/crownium/splash_testnet.png \
|
|
qt/res/images/crownium/dash_logo_horizontal.png \
|
|
qt/res/images/crownium/unchecked.png \
|
|
qt/res/images/crownium/checked.png \
|
|
qt/res/images/crownium/drkblue_downArrow.png \
|
|
qt/res/images/crownium/drkblue_downArrow_small.png \
|
|
qt/res/images/crownium/drkblue_upArrow_small.png \
|
|
qt/res/images/crownium/drkblue_leftArrow_small.png \
|
|
qt/res/images/crownium/drkblue_rightArrow_small.png \
|
|
qt/res/images/crownium/drkblue_qtreeview_selected.png \
|
|
qt/res/images/crownium/drkblue_walletFrame_bg.png \
|
|
qt/res/images/light/about.png \
|
|
qt/res/images/light/splash.png \
|
|
qt/res/images/light/splash_testnet.png \
|
|
qt/res/images/light/dash_logo_horizontal.png \
|
|
qt/res/images/light/unchecked.png \
|
|
qt/res/images/light/checked.png \
|
|
qt/res/images/light/drkblue_downArrow.png \
|
|
qt/res/images/light/drkblue_downArrow_small.png \
|
|
qt/res/images/light/drkblue_upArrow_small.png \
|
|
qt/res/images/light/drkblue_leftArrow_small.png \
|
|
qt/res/images/light/drkblue_rightArrow_small.png \
|
|
qt/res/images/light/drkblue_qtreeview_selected.png \
|
|
qt/res/images/light/drkblue_walletFrame_bg.png \
|
|
qt/res/images/trad/about.png \
|
|
qt/res/images/trad/splash.png \
|
|
qt/res/images/trad/splash_testnet.png \
|
|
qt/res/images/trad/dash_logo_horizontal.png \
|
|
qt/res/images/trad/drkblue_downArrow.png \
|
|
qt/res/images/trad/drkblue_downArrow_small.png \
|
|
qt/res/images/trad/drkblue_upArrow_small.png \
|
|
qt/res/images/trad/drkblue_leftArrow_small.png \
|
|
qt/res/images/trad/drkblue_rightArrow_small.png \
|
|
qt/res/images/trad/drkblue_qtreeview_selected.png \
|
|
qt/res/images/trad/drkblue_walletFrame_bg.png
|
|
|
|
RES_CSS = \
|
|
qt/res/css/drkblue.css \
|
|
qt/res/css/crownium.css \
|
|
qt/res/css/light.css
|
|
|
|
RES_MOVIES = $(wildcard qt/res/movies/spinner-*.png)
|
|
|
|
BITCOIN_RC = qt/res/dash-qt-res.rc
|
|
|
|
BITCOIN_QT_INCLUDES = -I$(builddir)/qt -I$(srcdir)/qt -I$(srcdir)/qt/forms \
|
|
-I$(builddir)/qt/forms -DQT_NO_KEYWORDS
|
|
|
|
qt_libbitcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
|
$(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
|
|
qt_libbitcoinqt_a_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
|
|
|
|
qt_libbitcoinqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \
|
|
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES)
|
|
|
|
nodist_qt_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \
|
|
$(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)
|
|
|
|
# forms/foo.h -> forms/ui_foo.h
|
|
QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h))))
|
|
|
|
# Most files will depend on the forms and moc files as includes. Generate them
|
|
# before anything else.
|
|
$(QT_MOC): $(QT_FORMS_H)
|
|
$(qt_libbitcoinqt_a_OBJECTS) $(qt_dash_qt_OBJECTS) : | $(QT_MOC)
|
|
|
|
#Generating these with a half-written protobuf header leads to wacky results.
|
|
#This makes sure it's done.
|
|
$(QT_MOC): $(PROTOBUF_H)
|
|
$(QT_MOC_CPP): $(PROTOBUF_H)
|
|
|
|
# dash-qt binary #
|
|
qt_dash_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
|
$(QT_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
|
|
qt_dash_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
|
|
|
|
qt_dash_qt_SOURCES = qt/dash.cpp
|
|
if TARGET_DARWIN
|
|
qt_dash_qt_SOURCES += $(BITCOIN_MM)
|
|
endif
|
|
if TARGET_WINDOWS
|
|
qt_dash_qt_SOURCES += $(BITCOIN_RC)
|
|
endif
|
|
qt_dash_qt_LDADD = qt/libbitcoinqt.a $(LIBBITCOIN_SERVER)
|
|
if ENABLE_WALLET
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_WALLET)
|
|
endif
|
|
if ENABLE_ZMQ
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
|
endif
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \
|
|
$(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
|
|
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
|
|
qt_dash_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
|
qt_dash_qt_LIBTOOLFLAGS = --tag CXX
|
|
|
|
#locale/foo.ts -> locale/foo.qm
|
|
QT_QM=$(QT_TS:.ts=.qm)
|
|
|
|
SECONDARY: $(QT_QM)
|
|
|
|
qt/dashstrings.cpp: $(libbitcoin_server_a_SOURCES) $(libbitcoin_wallet_a_SOURCES) $(libbitcoin_common_a_SOURCES)
|
|
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
|
|
$(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) ../share/qt/extract_strings_qt.py $^
|
|
|
|
translate: qt/dashstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
|
|
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts qt/locale/dash_en.ts
|
|
|
|
$(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
|
|
@test -f $(RCC)
|
|
@test -f $(@D)/$(<F) || cp -f $< $(@D)
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name dash_locale $(@D)/$(<F) | \
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
|
|
|
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES) $(PROTOBUF_H)
|
|
@test -f $(RCC)
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name dash $< | \
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
|
|
|
CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno
|
|
|
|
CLEANFILES += $(CLEAN_QT)
|
|
|
|
dash_qt_clean: FORCE
|
|
rm -f $(CLEAN_QT) $(qt_libbitcoinqt_a_OBJECTS) $(qt_dash_qt_OBJECTS) qt/dash-qt$(EXEEXT) $(LIBBITCOINQT)
|
|
|
|
dash_qt : qt/dash-qt$(EXEEXT)
|
|
|
|
ui_%.h: %.ui
|
|
@test -f $(UIC)
|
|
@$(MKDIR_P) $(@D)
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(UIC) -o $@ $< || (echo "Error creating $@"; false)
|
|
|
|
%.moc: %.cpp
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(DEFAULT_INCLUDES) $(QT_INCLUDES) $(MOC_DEFS) $< | \
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
|
|
|
moc_%.cpp: %.h
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(DEFAULT_INCLUDES) $(QT_INCLUDES) $(MOC_DEFS) $< | \
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
|
|
|
%.qm: %.ts
|
|
@test -f $(LRELEASE)
|
|
@$(MKDIR_P) $(@D)
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LRELEASE) -silent $< -qm $@
|