aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* use new message() function in BitcoinGUIPhilip Kaufmann2012-12-031-30/+30
| | | | | | | | | | | | - use it for displaying URI parsing warnings - use it for displaying error and information in backup wallet function (the information display is new and the error was a warning before) - cleanup BitcoinGUI::incomingTransaction() -- use message() + the information icon from message -- comment out an unused parameter in the function definition and declaration -- move all pre-checks at the beginning of the function
* Bitcoin-Qt: remove obsolete modal flag from GUI APIsPhilip Kaufmann2012-12-031-4/+4
| | | | | - as we (can) supply the CClientUIInterface::MODAL flag via the style parameter, we don't need a separate bool for checking the modality
* split of createTrayIconMenu() from createTrayIcon() in BitcoinGUIPhilip Kaufmann2012-11-271-8/+21
| | | | | | | - this allows to setup the trayicon before we have and want a trayicon menu - should be of great use, when we remove that splash screen - fixes a small bug with the toggleHideAction icon, which is not only used with trayicon but also with the Mac dock
* update CClientUIInterface and remove orphan Wx stuffPhilip Kaufmann2012-11-261-11/+47
| | | | | | | | | | | | | | | | | | | | - fix ThreadSafeMessageBox always displays error icon - allow to specify MSG_ERROR / MSG_WARNING or MSG_INFORMATION without a custom caption / title - allow to specify CClientUIInterface::ICON_ERROR / ICON_WARNING and ICON_INFORMATION (which is default) as message box icon - remove CClientUIInterface::OK from ThreadSafeMessageBox-calls, as the OK button will be set as default, if none is specified - prepend "Bitcoin - " to used captions - rename BitcoinGUI::error() -> BitcoinGUI::message() and add function documentation - change all style parameters and enum flags to unsigned - update code to use that new API - update Client- and WalletModel to use new BitcoinGUI::message() and rename the classes error() method into message() - include the possibility to supply the wanted icon for messages from Client- and WalletModel via "style" parameter
* Fix status text after reindexPieter Wuille2012-11-101-0/+2
|
* Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille2012-11-091-4/+16
| | | | | | | Flushes the blktree/ and coins/ databases, and reindexes the block chain files, as if their contents was loaded via -loadblock. Based on earlier work by Jeff Garzik.
* Merge pull request #1830 from Diapolo/trans_rem_spacesWladimir J. van der Laan2012-11-041-5/+3
|\ | | | | fix some double-spaces in strings
| * fix some double-spaces in stringsPhilip Kaufmann2012-10-251-5/+3
| | | | | | | | | | - remove some unneeded stuff in sendcoinsentry.ui - harmonize some "Error:"-messages
* | Bitcoin-Qt: use statustips in addition to tooltipsPhilip Kaufmann2012-10-311-15/+43
|/ | | | | | | | | | | - add setStatusTip() in addition to setTooltip() where it makes sense - add only setStatusTip() if GUI element is only used in main- or tray menu - add an event filter on our BitcoinGUI object to prevent garbelled text on the status bar, which happens when we use it for e.g. displaying block-sync state and then a QEvent::StatusTip wants to write own text to it - remove a double translation of "Bitcoin client"
* Show warning when using prerelease versionWladimir J. van der Laan2012-10-251-22/+9
| | | | | | | | | | | Implements #1948 - Add macro `CLIENT_VERSION_IS_RELEASE` to clientversion.h - When running a prerelease (the above macro is `false`): - In UI, show an orange warning bar at the top. This will be used for other warnings (and alerts) as well, instead of the status bar. - For `bitcoind`, show the warning in the "errors" field in `getinfo` response.
* Move external block import to separate threadPieter Wuille2012-10-201-2/+2
|
* enhance Qt5 compatibilityPhilip Kaufmann2012-09-211-10/+10
| | | | | - replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
* comment update: it's -> itsWladimir J. van der Laan2012-09-211-1/+1
|
* Qt: re-order GUI codePhilip Kaufmann2012-08-291-33/+26
| | | | | | | | | - re-order Qt Actions and connect() calls to match the real GUI layout, which makes things easier to read and understand - remove signMessageAction and verifyMessageAction from tabGroup as we didn't use them anyway (as tooltips are not displayed in the menu remove these too) - update 2 comments
* remove FIRST_CLASS_MESSAGING support from the clientPhilip Kaufmann2012-08-291-42/+0
| | | | | - removes the FIRST_CLASS_MESSAGING support from the client, which was no default setting anyway
* Update string for Show/Hide in the trayPhilip Kaufmann2012-08-291-3/+2
| | | | | | - be clear we don't "Show/Hide Bitcoins", but just the client window - remove the tooltip for toggleHideAction as this is not shown anyway - update a comment to be more general
* Override progress bar on platforms with segmented progress barsWladimir J. van der Laan2012-08-241-0/+10
| | | | | | Windows & WindowsXP style have a problem with displaying the block progress. Add a custom stylesheet as workaround, but only when one of those renderers is active, otherwise leave the theme alone (issue #1071).
* Add icon for "About Qt" in menuWladimir J. van der Laan2012-08-231-1/+1
| | | | Use the built-in icon that is also used in the dialog box itself.
* Bugfix: Correct English grammar regarding "'s"Luke Dashjr2012-08-011-1/+1
|
* Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-2/+2
|
* small update for BitcoinGUI::setNumBlocks() functionPhilip Kaufmann2012-07-171-15/+14
| | | | | - re-work code parts that check if we have a Statusbar warning - use same variable names in the header
* Merge pull request #1592 from Diapolo/Qt_WindowTitleWladimir J. van der Laan2012-07-141-3/+2
|\ | | | | change Window title to "Bitcoin - Wallet" / misc related renames
| * change Window title to "Bitcoin - Wallet" / misc related renamesPhilip Kaufmann2012-07-131-3/+2
| | | | | | | | | | | | | | - this helps user to not think our Client is called "Bitcoin Wallet" - change "About Bitcoin-Qt" to "About Bitcoin" - change "Bitcoin debug window" to "Bitcoin - Debug window" - change "Client" in debug Window to "Bitcoin Core"
* | when on testnet, set testnet icon for about dialogPhilip Kaufmann2012-07-131-0/+3
|/ | | | - add a comment
* replace some ugly code in addressbookpage.cppPhilip Kaufmann2012-07-081-0/+5
| | | | | | - 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-30/+56
|\ | | | | 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-30/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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/+2
|/ | | | | | | | | | | | | | | | - 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
* Merge pull request #1459 from laanwj/2012_06_trayiconmenuWladimir J. van der Laan2012-06-141-5/+5
|\ | | | | Reorganize tray icon menu into more logical order
| * Reorganize tray icon menu into more logical orderWladimir J. van der Laan2012-06-141-5/+5
| | | | | | | | | | | | | | | | | | The current order of menu options in the tray menu doesn't really match expected usage patterns, this commit changes it to more logical order. - Toggle show/hide first (unchanged) - Then, send/receive coins actions, which are the critical functionality of bitcoin - Then, sign/verify message - Then finally the options, and closing with the debug window
* | URI-handling code update: added safety checks and tray-notificationsPhilip Kaufmann2012-06-141-6/+17
|/
* merge toggleHidden() code into showNormalIfMinimized() to extend the ↵Philip Kaufmann2012-06-121-28/+22
| | | | functionality, but keep a simpler toggleHidden() for use in SLOT() macro
* change verifymessagepage behaviour to match RPC-call "verifymessage" (input ↵Philip Kaufmann2012-06-011-1/+1
| | | | address, signature and message) / display messages in status label (remove message boxes) / resize window to make signature fully readable / change signature font to BC-address font (like in messagepage) / remove checkAddress() and place code directly in on_verifyMessage_clicked() / add visual feedback to LineEdits / remove AddressTableModel references, as they are now unused / add addr.GetKeyID(keyID) check
* Remove duplicate behavior on MacOSXWladimir J. van der Laan2012-05-221-1/+0
| | | | Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
* Fine-grained UI updatesWladimir J. van der Laan2012-05-201-5/+4
| | | | | | | | | | | | | | | | | | | Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
* change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann2012-05-181-4/+4
| | | | strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
* Merge pull request #1314 from Diapolo/Wallet_Transaction_state_OverviewpageWladimir J. van der Laan2012-05-171-0/+4
|\ | | | | GUI: add 2 labels to the overviewpage that display Wallet and Transaction status
| * add 2 labels to the overviewpage that display Wallet and Transaction status ↵Philip Kaufmann2012-05-171-0/+4
| | | | | | | | (obsolete or current) / cleanup overviewpage XML ui-file
* | Add icon for debug windowWladimir J. van der Laan2012-05-171-1/+1
|/
* Merge pull request #906 from sje397/ValidateMessageWladimir J. van der Laan2012-05-141-0/+13
|\ | | | | Add a menu option and dialog to verify a signed message
| * Add a menu option to verify a signed messagesje3972012-05-121-0/+13
| | | | | | | | (Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
* | When a transaction is clicked on overview page, focus it on history pageWladimir J. van der Laan2012-05-121-0/+1
| |
* | Correct DateFordy2012-05-121-1/+1
| |
* | Correct DateFordy2012-05-121-1/+1
| |
* | add calls to qApp->setWindowIcon(), to remove the need to set window icons ↵Philip Kaufmann2012-05-111-0/+2
|/ | | | for testnet with additional calls
* Merge pull request #1204 from Diapolo/messagepage_focus_placeholderWladimir J. van der Laan2012-05-101-8/+4
|\ | | | | GUI messagepage: add placeholder text to address field (like in sendcoins dialog)...
| * add placeholder text to address field (like in sendcoins) and set focus to ↵Philip Kaufmann2012-05-101-8/+4
| | | | | | | | address field on opening messagepage or "Clear All" / consolidate gotoMessagePage() to 1 function / rename windowTitle to "Sign Message Dialog"
* | Merge pull request #1090 from laanwj/2012_04_wraptooltipsWladimir J. van der Laan2012-05-101-3/+6
|\ \ | | | | | | Allow Qt to wrap long tooltips (fixes #1063)
| * | Allow Qt to wrap long tooltips (fixes #1063)Wladimir J. van der Laan2012-05-051-3/+6
| | | | | | | | | | | | Implemented without having to touch any translation: by listening for QEvent::ToolTipChange events, then rewriting the tooltips to prefix `<qt/>` if it is not yet rich text.
* | | Merge pull request #1238 from Diapolo/trayWladimir J. van der Laan2012-05-101-1/+2
|\ \ \ | |_|/ |/| | tray-icon - extend available options with Debug window