• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

forms/H28-Jan-2021-8,9918,970

locale/H28-Jan-2021-211,471211,385

res/H28-Jan-2021-5442

test/H28-Jan-2021-1,122793

MakefileH A D28-Jan-2021252 109

README.mdH A D28-Jan-20213.4 KiB9658

addressbookpage.cppH A D28-Jan-202110.5 KiB336266

addressbookpage.hH A D28-Jan-20212.4 KiB8756

addresstablemodel.cppH A D28-Jan-202114.4 KiB457385

addresstablemodel.hH A D28-Jan-20213.7 KiB10659

askpassphrasedialog.cppH A D28-Jan-202111.3 KiB299260

askpassphrasedialog.hH A D28-Jan-20211.4 KiB5737

bantablemodel.cppH A D28-Jan-20214.4 KiB180136

bantablemodel.hH A D28-Jan-20211.9 KiB8052

bitcoin.cppH A D28-Jan-202124.2 KiB635451

bitcoin.hH A D28-Jan-20213.4 KiB13084

bitcoin.qrcH A D28-Jan-20215.4 KiB8786

bitcoin_locale.qrcH A D28-Jan-20214.7 KiB9190

bitcoinaddressvalidator.cppH A D28-Jan-20212.6 KiB9860

bitcoinaddressvalidator.hH A D28-Jan-2021943 3618

bitcoinamountfield.cppH A D28-Jan-20219.2 KiB343269

bitcoinamountfield.hH A D28-Jan-20212.3 KiB8538

bitcoingui.cppH A D28-Jan-202155.5 KiB1,5221,254

bitcoingui.hH A D28-Jan-202112.2 KiB356218

bitcoinstrings.cppH A D28-Jan-202113.1 KiB214209

bitcoinunits.cppH A D28-Jan-20216.5 KiB247202

bitcoinunits.hH A D28-Jan-20213.7 KiB11559

clientmodel.cppH A D28-Jan-202110.4 KiB327257

clientmodel.hH A D28-Jan-20214 KiB12992

coincontroldialog.cppH A D28-Jan-202128.6 KiB711525

coincontroldialog.hH A D28-Jan-20212.7 KiB11587

coincontroltreewidget.cppH A D28-Jan-20211.1 KiB3527

coincontroltreewidget.hH A D28-Jan-2021583 2313

createwalletdialog.cppH A D28-Jan-20212.9 KiB9162

createwalletdialog.hH A D28-Jan-2021841 3722

csvmodelwriter.cppH A D28-Jan-20211.8 KiB9271

csvmodelwriter.hH A D28-Jan-20211.1 KiB4727

editaddressdialog.cppH A D28-Jan-20214.6 KiB167138

editaddressdialog.hH A D28-Jan-20211.3 KiB6037

guiconstants.hH A D28-Jan-20212 KiB5925

guiutil.cppH A D28-Jan-202127.7 KiB926752

guiutil.hH A D28-Jan-202110.6 KiB309145

intro.cppH A D28-Jan-202112 KiB371286

intro.hH A D28-Jan-20212.3 KiB8751

macdockiconhandler.hH A D28-Jan-2021596 2815

macdockiconhandler.mmH A D28-Jan-20211.4 KiB5442

macnotificationhandler.hH A D28-Jan-2021806 2812

macnotificationhandler.mmH A D28-Jan-20212.1 KiB6353

macos_appnap.hH A D28-Jan-2021544 2515

macos_appnap.mmH A D28-Jan-20211.8 KiB7259

main.cppH A D28-Jan-2021677 2211

modaloverlay.cppH A D28-Jan-20216.5 KiB191145

modaloverlay.hH A D28-Jan-20211.6 KiB5838

networkstyle.cppH A D28-Jan-20213 KiB9764

networkstyle.hH A D28-Jan-20211.1 KiB3421

notificator.cppH A D28-Jan-20217.2 KiB258195

notificator.hH A D28-Jan-20212.5 KiB7849

openuridialog.cppH A D28-Jan-2021874 4330

openuridialog.hH A D28-Jan-2021606 3219

optionsdialog.cppH A D28-Jan-202114.6 KiB387289

optionsdialog.hH A D28-Jan-20211.8 KiB7952

optionsmodel.cppH A D28-Jan-202118.5 KiB538423

optionsmodel.hH A D28-Jan-20214.3 KiB12580

overviewpage.cppH A D28-Jan-202113 KiB299237

overviewpage.hH A D28-Jan-20211.6 KiB6747

paymentserver.cppH A D28-Jan-20219 KiB293208

paymentserver.hH A D28-Jan-20213.1 KiB11043

peertablemodel.cppH A D28-Jan-20216.6 KiB241186

peertablemodel.hH A D28-Jan-20212.3 KiB9163

platformstyle.cppH A D28-Jan-20214 KiB138110

platformstyle.hH A D28-Jan-20211.6 KiB5328

psbtoperationsdialog.cppH A D28-Jan-202110.6 KiB269227

psbtoperationsdialog.hH A D28-Jan-20211.4 KiB5538

qrimagewidget.cppH A D28-Jan-20214 KiB146118

qrimagewidget.hH A D28-Jan-20211.2 KiB4828

qvalidatedlineedit.cppH A D28-Jan-20212.5 KiB12495

qvalidatedlineedit.hH A D28-Jan-20211.1 KiB4427

qvaluecombobox.cppH A D28-Jan-2021808 3222

qvaluecombobox.hH A D28-Jan-2021957 3821

receivecoinsdialog.cppH A D28-Jan-202110.9 KiB306240

receivecoinsdialog.hH A D28-Jan-20212 KiB7858

receiverequestdialog.cppH A D28-Jan-20212.9 KiB10985

receiverequestdialog.hH A D28-Jan-2021920 4126

recentrequeststablemodel.cppH A D28-Jan-20217.2 KiB237187

recentrequeststablemodel.hH A D28-Jan-20213.2 KiB10070

rpcconsole.cppH A D28-Jan-202148.9 KiB1,3041,019

rpcconsole.hH A D28-Jan-20215.9 KiB177121

sendcoinsdialog.cppH A D28-Jan-202137.8 KiB1,004814

sendcoinsdialog.hH A D28-Jan-20214.2 KiB13396

sendcoinsentry.cppH A D28-Jan-20217.4 KiB254194

sendcoinsentry.hH A D28-Jan-20212.1 KiB8250

sendcoinsrecipient.hH A D28-Jan-20212.6 KiB6639

signverifymessagedialog.cppH A D28-Jan-20219.4 KiB286237

signverifymessagedialog.hH A D28-Jan-20211.4 KiB5436

splashscreen.cppH A D28-Jan-20218 KiB242182

splashscreen.hH A D28-Jan-20212.1 KiB7543

trafficgraphwidget.cppH A D28-Jan-20214.9 KiB180147

trafficgraphwidget.hH A D03-May-20221.1 KiB5035

transactiondesc.cppH A D28-Jan-202114.5 KiB363278

transactiondesc.hH A D28-Jan-2021899 3621

transactiondescdialog.cppH A D28-Jan-2021878 2919

transactiondescdialog.hH A D28-Jan-2021732 3219

transactionfilterproxy.cppH A D28-Jan-20213.6 KiB12295

transactionfilterproxy.hH A D28-Jan-20212 KiB6941

transactionrecord.cppH A D28-Jan-20217.9 KiB250194

transactionrecord.hH A D28-Jan-20214.4 KiB14885

transactiontablemodel.cppH A D28-Jan-202126.1 KiB761650

transactiontablemodel.hH A D28-Jan-20214.4 KiB12480

transactionview.cppH A D28-Jan-202125 KiB655534

transactionview.hH A D28-Jan-20213.1 KiB12793

utilitydialog.cppH A D28-Jan-20215.4 KiB171127

utilitydialog.hH A D28-Jan-20211.1 KiB5434

walletcontroller.cppH A D28-Jan-202111.3 KiB334259

walletcontroller.hH A D28-Jan-20213.9 KiB154107

walletframe.cppH A D28-Jan-20217.8 KiB256206

walletframe.hH A D28-Jan-20213 KiB10657

walletmodel.cppH A D28-Jan-202119.6 KiB596476

walletmodel.hH A D28-Jan-20217.8 KiB243152

walletmodeltransaction.cppH A D28-Jan-20211.6 KiB6954

walletmodeltransaction.hH A D28-Jan-20211.1 KiB4627

walletview.cppH A D28-Jan-202112 KiB355275

walletview.hH A D28-Jan-20214.5 KiB13469

winshutdownmonitor.cppH A D28-Jan-20211.9 KiB5839

winshutdownmonitor.hH A D28-Jan-2021893 2815

README.md

1This directory contains the BitcoinQT 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/bitcoin-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 Bitcoin 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 payment URI requests. Also handles URI based application switching (e.g. when following a bitcoin:... 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 "bitcoin-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 "bitcoin-qt" under "Run", which is where you can also add command line arguments)
96