aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.h
AgeCommit message (Collapse)Author
2020-05-08refactor: Use override for non-final overridersHennadii Stepanov
2019-01-13Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)practicalswift
Qt-only changes.
2018-07-27Update copyright headers to 2018DrahtBot
2018-04-25[tests] [qt] Add tests for address book manipulation via EditAddressDialogJames O'Beirne
Also modifies corresponding QT code to allow for use within test cases.
2018-01-03[qt] Add support to search the address bookJoão Barbosa
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-06-12Remove unnecessary forward class declarations in header filespracticalswift
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-07-31qt: Introduce PlatformStyleWladimir J. van der Laan
Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
2015-07-15qt: define QT_NO_KEYWORDSWladimir J. van der Laan
QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-16Remove references to X11 licenceMichael Ford
2014-11-03Fix all header definesPavel Janík
2013-11-14[Qt] make most Windows appear centered on main GUIPhilip Kaufmann
- remove default value for parent variable in dialogs, which should appear centered over main GUI and pass appropriate value - add some addition NULL pointer checks
2013-11-10Cleanup code using forward declarations.Brandon Dahler
Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
2013-11-05[Qt] remove unused optionsmodel from addressbookpagePhilip Kaufmann
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-23qt: remove verify/send message and send coins from address bookWladimir J. van der Laan
These no longer make sense in the new workflow. It's less clicks to reach sign/verify message from the menu. And sending from the address book is one kind of automatic address reuse we're trying to avoid.
2013-10-23qt: rework "receive coins" workflowWladimir J. van der Laan
2013-04-12qt: move export button to tabsWladimir J. van der Laan
Having the export button at the top was confusing people into thinking the entire wallet was exported. This commit moves the export button to the address book, receiving addresses and transaction tabs separately.
2013-04-03Bitcoin-Qt: updates to addressbookpagePhilip Kaufmann
- use labelExplanation for sending and receiving tab and move the string from the ui-file to the source - ensure that the table holding the label and address is resized so that the address column fits the address and the label column is stretched to fit the window size - rename some stuff for much easier readbility in the code (I find it hard to get the meaning of stuff like labels or buttons)
2013-03-18Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann
- allows to directly select an address from the addressbook, chose "send coins" from the context menu, which sends you to sendcoins tab and fills in the selected address
2013-01-23Bitcoin-Qt: cleanup / optimise addressbookpagePhilip Kaufmann
- don't show QR Code context menu, when USE_QRCODE=1 was not specified when compiling the client - re-work on_showQRCode_clicked() for better readability and remove an unneeded duplicate check - re-work on_signMessage_clicked() and on_verifyMessage_clicked() to match foreach in on_showQRCode_clicked(), which seems more robust / cleaner - re-order context menu stuff to match real context menu layout - add comments for all private slots in the class
2012-12-15Bitcoin-Qt: comment out unused parameter in addressbookpagePhilip Kaufmann
2012-11-08Qt: small header changes / fixesPhilip Kaufmann
- ensure header inclusion guard is named after the header file - add missing comments at the end of some inclusion guards - add a small Qt5 compatibility fix in macdockiconhandler.h
2012-07-08replace some ugly code in addressbookpage.cppPhilip Kaufmann
- add signals signMessage() and verifyMessage() in addressbookpage.cpp - connect to them in bitcoingui.cpp to switch to the corresponding tab in the Sign/Verify Message dialog - make gotoSignMessageTab() and gotoVerifyMessageTab() private slots
2012-07-07Merge pull request #1469 from Diapolo/signverifymessagedialogWladimir J. van der Laan
GUI: merge sign/verify message into a single window with tabbed UI
2012-07-06update QRCodeDialogPhilip Kaufmann
- remove unused #include <QDebug> and lblBTC label - update Bitcoin input field to a BitcoinAmountField to allow Bitcoin unit selection - use BitcoinUnits::format for the resulting amount parameter in the generated URI (always use BTC as per BIP21) - move MAX_URI_LENGTH and EXPORT_IMAGE_SIZE to guiconstants.h - add OptionsModel in AddressBookPage and use it in on_showQRCode_clicked() to pass it to QRCodeDialog - add OptionsModel in QRCodeDialog to enable display unit updates - add updateDisplayUnit() slot to be able to imediately update currently set bitcoin unit - make all labels in the UI-file plain text - resize dialog to match for an updated layout (fields are now stacked and new field) - remove unused parameters from private slots - only enable save button, when QR Code was generated - show message when entered amound is invalid - add read-only QPlainTextEdit field to output generated URI
2012-07-06GUI: merge sign/verify message into a single window with tabbed UIPhilip Kaufmann
- add UI-feedback via QValidatedLineEdit - copy button for generated signature was moved to the signature output field - add an addressbook button to verify message tab - input fields are now evenly ordered for sign and verify tabs - update FIRST_CLASS_MESSAGING support to ensure a good UX - add a button and context menu entry in addressbook for verify message (to be consistent with sign message) - focus is now only set/changed, when clearing input fields or adding an address via addressbook - re-work / update some strings - ensure model gets initialized in the SignVerifyMessageDialog constructor - add checks for a valid model to both addressbook buttons - remove unneeded includes for Qt GUI elements that are listed in ui_signverifymessagedialog.h anyway
2012-05-20Process address book updates incrementallyWladimir J. van der Laan
- No longer invalidates selection model, thus retains selection on address book changes - Fixes selection of new address when added
2012-01-27Bitcoin-Qt signmessage GUI (pull request #582)Luke Dashjr
2011-12-23Add context menu for address book page (implements part 1 of issue #648)Wladimir J. van der Laan
2011-12-20Added QRCode generation functions via libqrencode. Switch on with ↵sje397
USE_QRENCODE=1. Amended build docs for Linux and OSX, and OSX makefile. Added package 'qrencode' to gitian.yml
2011-11-13Improve documentation for UI classesWladimir J. van der Laan
2011-11-08Add robustness against null modelsWladimir J. van der Laan
2011-07-09add export functionality for address book / receiving addressesWladimir J. van der Laan
2011-07-07Selection/tab navigation fixesWladimir J. van der Laan
2011-07-07convert to full tab-based uiWladimir J. van der Laan