Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
forms/ | H | 29-Apr-2020 | - | 8,437 | 8,418 | |
locale/ | H | 29-Apr-2020 | - | 207,565 | 207,503 | |
res/ | H | 29-Apr-2020 | - | 54 | 42 | |
test/ | H | 29-Apr-2020 | - | 1,796 | 1,300 | |
Makefile | H A D | 29-Apr-2020 | 244 | 10 | 9 | |
README.md | H A D | 29-Apr-2020 | 3.5 KiB | 96 | 58 | |
addressbookpage.cpp | H A D | 29-Apr-2020 | 10.4 KiB | 335 | 266 | |
addressbookpage.h | H A D | 29-Apr-2020 | 2.4 KiB | 87 | 56 | |
addresstablemodel.cpp | H A D | 29-Apr-2020 | 14.3 KiB | 455 | 384 | |
addresstablemodel.h | H A D | 29-Apr-2020 | 3.6 KiB | 106 | 59 | |
askpassphrasedialog.cpp | H A D | 29-Apr-2020 | 10.6 KiB | 286 | 248 | |
askpassphrasedialog.h | H A D | 29-Apr-2020 | 1.3 KiB | 54 | 35 | |
bantablemodel.cpp | H A D | 29-Apr-2020 | 4.4 KiB | 182 | 138 | |
bantablemodel.h | H A D | 29-Apr-2020 | 1.9 KiB | 81 | 54 | |
bitcoin.cpp | H A D | 29-Apr-2020 | 22.2 KiB | 604 | 432 | |
bitcoin.h | H A D | 29-Apr-2020 | 3.1 KiB | 125 | 82 | |
bitcoin.qrc | H A D | 29-Apr-2020 | 5.9 KiB | 98 | 97 | |
bitcoin_locale.qrc | H A D | 29-Apr-2020 | 6.6 KiB | 124 | 123 | |
bitcoinaddressvalidator.cpp | H A D | 29-Apr-2020 | 2.6 KiB | 98 | 60 | |
bitcoinaddressvalidator.h | H A D | 29-Apr-2020 | 925 | 36 | 18 | |
bitcoinamountfield.cpp | H A D | 29-Apr-2020 | 8.9 KiB | 342 | 267 | |
bitcoinamountfield.h | H A D | 29-Apr-2020 | 2.3 KiB | 85 | 38 | |
bitcoingui.cpp | H A D | 29-Apr-2020 | 54.1 KiB | 1,474 | 1,212 | |
bitcoingui.h | H A D | 29-Apr-2020 | 11.3 KiB | 342 | 207 | |
bitcoinstrings.cpp | H A D | 29-Apr-2020 | 11.8 KiB | 196 | 191 | |
bitcoinunits.cpp | H A D | 29-Apr-2020 | 6 KiB | 235 | 190 | |
bitcoinunits.h | H A D | 29-Apr-2020 | 4 KiB | 132 | 71 | |
clientmodel.cpp | H A D | 29-Apr-2020 | 9.2 KiB | 291 | 230 | |
clientmodel.h | H A D | 29-Apr-2020 | 3.6 KiB | 121 | 85 | |
coincontroldialog.cpp | H A D | 29-Apr-2020 | 29.2 KiB | 733 | 545 | |
coincontroldialog.h | H A D | 29-Apr-2020 | 2.8 KiB | 118 | 89 | |
coincontroltreewidget.cpp | H A D | 29-Apr-2020 | 1.1 KiB | 35 | 27 | |
coincontroltreewidget.h | H A D | 29-Apr-2020 | 574 | 23 | 13 | |
csvmodelwriter.cpp | H A D | 29-Apr-2020 | 1.8 KiB | 92 | 71 | |
csvmodelwriter.h | H A D | 29-Apr-2020 | 1.1 KiB | 47 | 27 | |
editaddressdialog.cpp | H A D | 29-Apr-2020 | 4.6 KiB | 165 | 137 | |
editaddressdialog.h | H A D | 29-Apr-2020 | 1.3 KiB | 60 | 37 | |
guiconstants.h | H A D | 29-Apr-2020 | 2 KiB | 59 | 24 | |
guiutil.cpp | H A D | 29-Apr-2020 | 29.2 KiB | 954 | 775 | |
guiutil.h | H A D | 29-Apr-2020 | 8.9 KiB | 258 | 129 | |
intro.cpp | H A D | 29-Apr-2020 | 10.7 KiB | 340 | 261 | |
intro.h | H A D | 29-Apr-2020 | 2 KiB | 85 | 47 | |
macdockiconhandler.h | H A D | 29-Apr-2020 | 596 | 28 | 15 | |
macdockiconhandler.mm | H A D | 29-Apr-2020 | 1.4 KiB | 54 | 42 | |
macnotificationhandler.h | H A D | 29-Apr-2020 | 806 | 28 | 12 | |
macnotificationhandler.mm | H A D | 29-Apr-2020 | 2.1 KiB | 63 | 53 | |
macos_appnap.h | H A D | 29-Apr-2020 | 544 | 25 | 15 | |
macos_appnap.mm | H A D | 29-Apr-2020 | 1.9 KiB | 72 | 59 | |
main.cpp | H A D | 29-Apr-2020 | 576 | 18 | 8 | |
modaloverlay.cpp | H A D | 29-Apr-2020 | 6 KiB | 181 | 136 | |
modaloverlay.h | H A D | 29-Apr-2020 | 1.5 KiB | 52 | 34 | |
networkstyle.cpp | H A D | 29-Apr-2020 | 3 KiB | 98 | 66 | |
networkstyle.h | H A D | 29-Apr-2020 | 1.1 KiB | 34 | 21 | |
notificator.cpp | H A D | 29-Apr-2020 | 7.2 KiB | 258 | 195 | |
notificator.h | H A D | 29-Apr-2020 | 2.5 KiB | 78 | 49 | |
openuridialog.cpp | H A D | 29-Apr-2020 | 1.2 KiB | 51 | 38 | |
openuridialog.h | H A D | 29-Apr-2020 | 655 | 35 | 21 | |
optionsdialog.cpp | H A D | 29-Apr-2020 | 14.7 KiB | 387 | 289 | |
optionsdialog.h | H A D | 29-Apr-2020 | 1.8 KiB | 79 | 52 | |
optionsmodel.cpp | H A D | 29-Apr-2020 | 18.5 KiB | 535 | 416 | |
optionsmodel.h | H A D | 29-Apr-2020 | 3.7 KiB | 111 | 76 | |
overviewpage.cpp | H A D | 29-Apr-2020 | 11.5 KiB | 276 | 217 | |
overviewpage.h | H A D | 29-Apr-2020 | 1.6 KiB | 65 | 45 | |
paymentrequest.proto | H A D | 29-Apr-2020 | 2.3 KiB | 49 | 45 | |
paymentrequestplus.cpp | H A D | 29-Apr-2020 | 7.7 KiB | 214 | 168 | |
paymentrequestplus.h | H A D | 29-Apr-2020 | 1.4 KiB | 53 | 28 | |
paymentserver.cpp | H A D | 29-Apr-2020 | 28.7 KiB | 836 | 616 | |
paymentserver.h | H A D | 29-Apr-2020 | 5.2 KiB | 161 | 73 | |
peertablemodel.cpp | H A D | 29-Apr-2020 | 6.6 KiB | 243 | 189 | |
peertablemodel.h | H A D | 29-Apr-2020 | 2.3 KiB | 93 | 65 | |
platformstyle.cpp | H A D | 29-Apr-2020 | 4.2 KiB | 145 | 115 | |
platformstyle.h | H A D | 29-Apr-2020 | 1.7 KiB | 56 | 29 | |
qvalidatedlineedit.cpp | H A D | 29-Apr-2020 | 2.5 KiB | 124 | 95 | |
qvalidatedlineedit.h | H A D | 29-Apr-2020 | 1.1 KiB | 44 | 27 | |
qvaluecombobox.cpp | H A D | 29-Apr-2020 | 808 | 32 | 22 | |
qvaluecombobox.h | H A D | 29-Apr-2020 | 957 | 38 | 21 | |
receivecoinsdialog.cpp | H A D | 29-Apr-2020 | 10.4 KiB | 301 | 235 | |
receivecoinsdialog.h | H A D | 29-Apr-2020 | 2 KiB | 81 | 60 | |
receiverequestdialog.cpp | H A D | 29-Apr-2020 | 6.3 KiB | 213 | 177 | |
receiverequestdialog.h | H A D | 29-Apr-2020 | 1.4 KiB | 70 | 46 | |
recentrequeststablemodel.cpp | H A D | 29-Apr-2020 | 7.1 KiB | 235 | 185 | |
recentrequeststablemodel.h | H A D | 29-Apr-2020 | 3.2 KiB | 106 | 74 | |
rpcconsole.cpp | H A D | 29-Apr-2020 | 48.7 KiB | 1,285 | 997 | |
rpcconsole.h | H A D | 29-Apr-2020 | 5.7 KiB | 174 | 119 | |
sendcoinsdialog.cpp | H A D | 29-Apr-2020 | 34.1 KiB | 930 | 729 | |
sendcoinsdialog.h | H A D | 29-Apr-2020 | 3.6 KiB | 125 | 89 | |
sendcoinsentry.cpp | H A D | 29-Apr-2020 | 8.7 KiB | 290 | 224 | |
sendcoinsentry.h | H A D | 29-Apr-2020 | 2 KiB | 78 | 47 | |
signverifymessagedialog.cpp | H A D | 29-Apr-2020 | 9.2 KiB | 276 | 225 | |
signverifymessagedialog.h | H A D | 29-Apr-2020 | 1.4 KiB | 54 | 36 | |
splashscreen.cpp | H A D | 29-Apr-2020 | 7.7 KiB | 226 | 169 | |
splashscreen.h | H A D | 29-Apr-2020 | 2.1 KiB | 70 | 40 | |
trafficgraphwidget.cpp | H A D | 29-Apr-2020 | 4.8 KiB | 178 | 145 | |
trafficgraphwidget.h | H A D | 03-May-2022 | 1.1 KiB | 50 | 35 | |
transactiondesc.cpp | H A D | 29-Apr-2020 | 13.1 KiB | 336 | 259 | |
transactiondesc.h | H A D | 29-Apr-2020 | 899 | 36 | 21 | |
transactiondescdialog.cpp | H A D | 29-Apr-2020 | 807 | 26 | 17 | |
transactiondescdialog.h | H A D | 29-Apr-2020 | 732 | 32 | 19 | |
transactionfilterproxy.cpp | H A D | 29-Apr-2020 | 3.6 KiB | 122 | 95 | |
transactionfilterproxy.h | H A D | 29-Apr-2020 | 2 KiB | 69 | 41 | |
transactionrecord.cpp | H A D | 29-Apr-2020 | 7.7 KiB | 248 | 192 | |
transactionrecord.h | H A D | 29-Apr-2020 | 4.3 KiB | 149 | 86 | |
transactiontablemodel.cpp | H A D | 29-Apr-2020 | 26 KiB | 763 | 650 | |
transactiontablemodel.h | H A D | 29-Apr-2020 | 4.3 KiB | 124 | 80 | |
transactionview.cpp | H A D | 29-Apr-2020 | 25.3 KiB | 661 | 537 | |
transactionview.h | H A D | 29-Apr-2020 | 3 KiB | 127 | 93 | |
utilitydialog.cpp | H A D | 29-Apr-2020 | 5.9 KiB | 183 | 138 | |
utilitydialog.h | H A D | 29-Apr-2020 | 1.1 KiB | 56 | 35 | |
walletcontroller.cpp | H A D | 29-Apr-2020 | 5.8 KiB | 171 | 127 | |
walletcontroller.h | H A D | 29-Apr-2020 | 2.3 KiB | 91 | 61 | |
walletframe.cpp | H A D | 29-Apr-2020 | 5.9 KiB | 226 | 181 | |
walletframe.h | H A D | 29-Apr-2020 | 2.8 KiB | 99 | 54 | |
walletmodel.cpp | H A D | 29-Apr-2020 | 20 KiB | 608 | 489 | |
walletmodel.h | H A D | 29-Apr-2020 | 10.1 KiB | 305 | 202 | |
walletmodeltransaction.cpp | H A D | 29-Apr-2020 | 2.3 KiB | 89 | 73 | |
walletmodeltransaction.h | H A D | 29-Apr-2020 | 1.2 KiB | 47 | 28 | |
walletview.cpp | H A D | 29-Apr-2020 | 11.2 KiB | 334 | 247 | |
walletview.h | H A D | 29-Apr-2020 | 4.4 KiB | 133 | 68 | |
winshutdownmonitor.cpp | H A D | 29-Apr-2020 | 2.4 KiB | 71 | 48 | |
winshutdownmonitor.h | H A D | 29-Apr-2020 | 893 | 28 | 15 |
README.md
1This directory contains the LitecoinQT graphical user interface (GUI). It uses the cross-platform framework [Qt](https://www1.qt.io/developers/). 2 3The current precise version for Qt 5 is specified in [qt.mk](/depends/packages/qt.mk). 4 5## Compile and run 6 7See build instructions ([macOS](/doc/build-osx.md), [Windows](/doc/build-windows.md), [Unix](/doc/build-unix.md), etc). 8 9To run: 10 11```sh 12./src/qt/litecoin-qt 13``` 14 15## Files and directories 16 17### forms 18 19Contains [Designer UI](https://doc.qt.io/qt-5.9/designer-using-a-ui-file.html) files. They are created with [Qt Creator](#using-qt-creator-as-ide), but can be edited using any text editor. 20 21### locale 22 23Contains translations. They are periodically updated. The process is described [here](/doc/translation_process.md). 24 25### res 26 27Resources such as the icon. 28 29### test 30 31Tests. 32 33### bitcoingui.(h/cpp) 34 35Represents the main window of the Litecoin UI. 36 37### \*model.(h/cpp) 38 39The model. When it has a corresponding controller, it generally inherits from [QAbstractTableModel](https://doc.qt.io/qt-5/qabstracttablemodel.html). Models that are used by controllers as helpers inherit from other Qt classes like [QValidator](https://doc.qt.io/qt-5/qvalidator.html). 40 41ClientModel is used by the main application `bitcoingui` and several models like `peertablemodel`. 42 43### \*page.(h/cpp) 44 45A controller. `:NAMEpage.cpp` generally includes `:NAMEmodel.h` and `forms/:NAME.page.ui` with a similar `:NAME`. 46 47### \*dialog.(h/cpp) 48 49Various dialogs, e.g. to open a URL. Inherit from [QDialog](https://doc.qt.io/qt-5/qdialog.html). 50 51### paymentserver.(h/cpp) 52 53Used to process BIP21 and BIP70 (see https://github.com/bitcoin/bitcoin/pull/11622) payment URI / requests. Also handles URI based application switching (e.g. when following a litecoin:... link from a browser). 54 55### walletview.(h/cpp) 56 57Represents the view to a single wallet. 58 59### Other .h/cpp files 60 61* UI elements like BitcoinAmountField, which inherit from QWidget. 62* `bitcoinstrings.cpp`: automatically generated 63* `bitcoinunits.(h/cpp)`: BTC / mBTC / etc handling 64* `callback.h` 65* `guiconstants.h`: UI colors, app name, etc 66* `guiutil.h`: several helper functions 67* `macdockiconhandler.(h/mm)`: macOS dock icon handler 68* `macnotificationhandler.(h/mm)`: display notifications in macOS 69 70## Contribute 71 72See [CONTRIBUTING.md](/CONTRIBUTING.md) for general guidelines. Specifically for Qt: 73 74* don't change `local/bitcoin_en.ts`; this happens [automatically](/doc/translation_process.md#writing-code-with-translations) 75 76## Using Qt Creator as IDE 77 78You can use Qt Creator as an IDE. This is especially useful if you want to change 79the UI layout. 80 81Download and install the community edition of [Qt Creator](https://www.qt.io/download/). 82Uncheck everything except Qt Creator during the installation process. 83 84Instructions for macOS: 85 861. Make sure you installed everything through Homebrew mentioned in the [macOS build instructions](/doc/build-osx.md) 872. Use `./configure` with the `--enable-debug` flag 883. In Qt Creator do "New Project" -> Import Project -> Import Existing Project 894. Enter "litecoin-qt" as project name, enter src/qt as location 905. Leave the file selection as it is 916. Confirm the "summary page" 927. In the "Projects" tab select "Manage Kits..." 938. Select the default "Desktop" kit and select "Clang (x86 64bit in /usr/bin)" as compiler 949. Select LLDB as debugger (you might need to set the path to your installation) 9510. Start debugging with Qt Creator (you might need to the executable to "litecoin-qt" under "Run", which is where you can also add command line arguments) 96