aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-2/+2
|
* Update QT client messages and translations to Doge equivalents (#1429)Ross Nicoll2019-03-251-4/+4
| | | | Update QT client messages and translations to Doge equivalents.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* qt: Plug many memory leaksWladimir J. van der Laan2016-11-231-1/+1
| | | | | | | | | None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead.
* Do not shadow in src/qtPavel Janík2016-09-231-8/+8
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-13/+13
| | | | | | | | | | | | | | 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.
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-1/+1
| | | | | | | | 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.
* [Qt] constify foreach uses where possiblePhilip Kaufmann2015-07-071-2/+1
| | | | | - this doesn't replace BOOST_FOREACH, it just makes used arguments const where possible
* Adopt style colour for button iconsLuke Dashjr2014-12-271-0/+6
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* qt: Make error message for failed export a little friendlierWhit J2014-07-181-1/+1
| | | | Closes #4528.
* build: fix build weirdness after 54372482.Cory Fields2014-06-231-1/+1
| | | | | | | | | | | | | bitcoin-config.h moved, but the old file is likely to still exist when reconfiguring or switching branches. This would've caused files to not rebuild correctly, and other strange problems. Make the path explicit so that the old one cannot be found. Core libs use config/bitcoin-config.h. Libs (like crypto) which don't want access to bitcoin's headers continue to use -Iconfig and #include bitcoin-config.h.
* [Qt] harmonize strings used when exporting in addressbookpagePhilip Kaufmann2014-01-271-6/+6
|
* [Qt] make most Windows appear centered on main GUIPhilip Kaufmann2013-11-141-6/+9
| | | | | | - 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
* [Qt] remove GUIUtil::getSaveFileName() default argumentsPhilip Kaufmann2013-11-111-4/+3
| | | | | - harmonize function with GUIUtil::getOpenFileName() - also make PNG Image singular (grammar)
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-4/+4
| | | | | | | | | 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.
* [Qt] remove unused optionsmodel from addressbookpagePhilip Kaufmann2013-11-051-7/+0
|
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* [Qt] misc small fixes for #3099 (new receive flow)Philip Kaufmann2013-10-251-1/+1
| | | | | | | | | - changes some strings that were forgotton or made no sense in the conext they are used - remove an orphan file from the qt project file - revert a small change in signverifymessagedialog.ui - guard #include "bitcoin-config.h" with #if defined(HAVE_CONFIG_H) - remove windowTitle from addressbookpage.ui
* qt: general polish after adding new receive flowWladimir J. van der Laan2013-10-251-3/+3
| | | | | | | | - We no longer have an address book, but "address lists", update message accordingly - Add tooltips here and there - Clarify text on buttons - add Copy Address button to receive request dialog
* qt: remove verify/send message and send coins from address bookWladimir J. van der Laan2013-10-231-62/+0
| | | | | | | 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.
* qt: rework "receive coins" workflowWladimir J. van der Laan2013-10-231-40/+12
|
* autotools: switch to autotools buildsystemCory Fields2013-09-051-0/+4
|
* Qt5 compatibilityWladimir J. van der Laan2013-06-011-0/+5
| | | | | | | | | | | | This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <[email protected]> - Jonas Schnelli <[email protected]>
* qt: move export button to tabsWladimir J. van der Laan2013-04-121-1/+3
| | | | | | | | 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.
* fix mac specific button modification on addressbookpageJonas Schnelli2013-04-091-3/+5
| | | | | | | - continue the mac behavior of clearing button icons (because it's unusual on mac apps) - fix: new button variable names, new buttons (verifyMessage, signMessage) Signed-off-by: Jonas Schnelli <[email protected]>
* Bitcoin-Qt: updates to addressbookpagePhilip Kaufmann2013-04-031-25/+23
| | | | | | | | | | - 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)
* Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann2013-03-181-0/+16
| | | | | | - 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
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-4/+4
| | | | | | | - try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
* Bitcoin-Qt: cleanup / optimise addressbookpagePhilip Kaufmann2013-01-231-14/+12
| | | | | | | | | | | - 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
* Bitcoin-Qt: comment out unused parameter in addressbookpagePhilip Kaufmann2012-12-151-1/+1
|
* enhance Qt5 compatibilityPhilip Kaufmann2012-09-211-1/+1
| | | | | - replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
* Make sort and filters for transactions and labels case-insensitiveWladimir J. van der Laan2012-07-171-0/+2
|
* replace some ugly code in addressbookpage.cppPhilip Kaufmann2012-07-081-8/+2
| | | | | | - 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
* Merge pull request #1469 from Diapolo/signverifymessagedialogWladimir J. van der Laan2012-07-071-1/+28
|\ | | | | GUI: merge sign/verify message into a single window with tabbed UI
| * GUI: merge sign/verify message into a single window with tabbed UIPhilip Kaufmann2012-07-061-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | update QRCodeDialogPhilip Kaufmann2012-07-061-0/+9
|/ | | | | | | | | | | | | | | | - 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
* Do not select first address automatically in the address bookWladimir J. van der Laan2012-06-121-5/+0
| | | | This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.
* Process address book updates incrementallyWladimir J. van der Laan2012-05-201-11/+18
| | | | | - No longer invalidates selection model, thus retains selection on address book changes - Fixes selection of new address when added
* Add a menu option to verify a signed messagesje3972012-05-121-0/+1
| | | | (Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
* Make user action more straightforward in address bookWladimir J. van der Laan2012-05-071-9/+18
| | | | | - Add all actions that can be triggered with buttons to the context menu - Hide delete action from context menu for receiving tab
* updated to reflect pull-request suggestions / renamed some GUI elementsPhilip Kaufmann2012-04-121-4/+2
|
* fixed amount part of URI in QR-Codes / removed (no label) string if we have ↵Philip Kaufmann2012-04-121-5/+3
| | | | NO label / coding style updates / removed an unused variable
* Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan2012-04-041-2/+0
| | | | | | | | instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
* hide Delete button (only) on ReceivingTab / hide Sign message button (only) ↵Philip Kaufmann2012-04-011-2/+11
| | | | on SendingTab
* fix default suffixes in save dialog in GNOME, make it more clear that PNG is ↵Wladimir J. van der Laan2012-02-151-4/+2
| | | | used (solves #833)
* Bitcoin-Qt signmessage GUI (pull request #582)Luke Dashjr2012-01-271-0/+22
|
* Add context menu for address book page (implements part 1 of issue #648)Wladimir J. van der Laan2011-12-231-10/+58
|