aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
AgeCommit message (Collapse)Author
2012-12-03use new message() function in BitcoinGUIPhilip Kaufmann
- 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
2012-12-03Bitcoin-Qt: remove obsolete modal flag from GUI APIsPhilip Kaufmann
- as we (can) supply the CClientUIInterface::MODAL flag via the style parameter, we don't need a separate bool for checking the modality
2012-11-27split of createTrayIconMenu() from createTrayIcon() in BitcoinGUIPhilip Kaufmann
- 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
2012-11-26update CClientUIInterface and remove orphan Wx stuffPhilip Kaufmann
- 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
2012-11-10Fix status text after reindexPieter Wuille
2012-11-09Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille
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.
2012-11-04Merge pull request #1830 from Diapolo/trans_rem_spacesWladimir J. van der Laan
fix some double-spaces in strings
2012-10-31Bitcoin-Qt: use statustips in addition to tooltipsPhilip Kaufmann
- 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"
2012-10-25fix some double-spaces in stringsPhilip Kaufmann
- remove some unneeded stuff in sendcoinsentry.ui - harmonize some "Error:"-messages
2012-10-25Show warning when using prerelease versionWladimir J. van der Laan
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.
2012-10-20Move external block import to separate threadPieter Wuille
2012-09-21enhance Qt5 compatibilityPhilip Kaufmann
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
2012-09-21comment update: it's -> itsWladimir J. van der Laan
2012-08-29Qt: re-order GUI codePhilip Kaufmann
- 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
2012-08-29remove FIRST_CLASS_MESSAGING support from the clientPhilip Kaufmann
- removes the FIRST_CLASS_MESSAGING support from the client, which was no default setting anyway
2012-08-29Update string for Show/Hide in the trayPhilip Kaufmann
- 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
2012-08-24Override progress bar on platforms with segmented progress barsWladimir J. van der Laan
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).
2012-08-23Add icon for "About Qt" in menuWladimir J. van der Laan
Use the built-in icon that is also used in the dialog box itself.
2012-08-01Bugfix: Correct English grammar regarding "'s"Luke Dashjr
2012-08-01Bugfix: Fix a variety of misspellingsLuke Dashjr
2012-07-17small update for BitcoinGUI::setNumBlocks() functionPhilip Kaufmann
- re-work code parts that check if we have a Statusbar warning - use same variable names in the header
2012-07-14Merge pull request #1592 from Diapolo/Qt_WindowTitleWladimir J. van der Laan
change Window title to "Bitcoin - Wallet" / misc related renames
2012-07-13change Window title to "Bitcoin - Wallet" / misc related renamesPhilip Kaufmann
- 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"
2012-07-13when on testnet, set testnet icon for about dialogPhilip Kaufmann
- add a comment
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-06-14Merge pull request #1459 from laanwj/2012_06_trayiconmenuWladimir J. van der Laan
Reorganize tray icon menu into more logical order
2012-06-14Reorganize tray icon menu into more logical orderWladimir J. van der Laan
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
2012-06-14URI-handling code update: added safety checks and tray-notificationsPhilip Kaufmann
2012-06-12merge toggleHidden() code into showNormalIfMinimized() to extend the ↵Philip Kaufmann
functionality, but keep a simpler toggleHidden() for use in SLOT() macro
2012-06-01change verifymessagepage behaviour to match RPC-call "verifymessage" (input ↵Philip Kaufmann
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
2012-05-22Remove duplicate behavior on MacOSXWladimir J. van der Laan
Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
2012-05-20Fine-grained UI updatesWladimir J. van der Laan
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.
2012-05-18change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann
strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
2012-05-17Merge pull request #1314 from Diapolo/Wallet_Transaction_state_OverviewpageWladimir J. van der Laan
GUI: add 2 labels to the overviewpage that display Wallet and Transaction status
2012-05-17add 2 labels to the overviewpage that display Wallet and Transaction status ↵Philip Kaufmann
(obsolete or current) / cleanup overviewpage XML ui-file
2012-05-17Add icon for debug windowWladimir J. van der Laan
2012-05-14Merge pull request #906 from sje397/ValidateMessageWladimir J. van der Laan
Add a menu option and dialog to verify a signed message
2012-05-12When a transaction is clicked on overview page, focus it on history pageWladimir J. van der Laan
2012-05-12Correct DateFordy
2012-05-12Correct DateFordy
2012-05-12Add a menu option to verify a signed messagesje397
(Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
2012-05-11add calls to qApp->setWindowIcon(), to remove the need to set window icons ↵Philip Kaufmann
for testnet with additional calls
2012-05-10Merge pull request #1204 from Diapolo/messagepage_focus_placeholderWladimir J. van der Laan
GUI messagepage: add placeholder text to address field (like in sendcoins dialog)...
2012-05-10Merge pull request #1090 from laanwj/2012_04_wraptooltipsWladimir J. van der Laan
Allow Qt to wrap long tooltips (fixes #1063)
2012-05-10Merge pull request #1238 from Diapolo/trayWladimir J. van der Laan
tray-icon - extend available options with Debug window
2012-05-10add placeholder text to address field (like in sendcoins) and set focus to ↵Philip Kaufmann
address field on opening messagepage or "Clear All" / consolidate gotoMessagePage() to 1 function / rename windowTitle to "Sign Message Dialog"
2012-05-09Show testnet icon for tray-menu option Show/Hide / set tooltip for tray icon ↵Philip Kaufmann
to match non-testnet text (just [testnet] added) / remove obsolete title_testnet variable'