aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.h
Commit message (Collapse)AuthorAgeFilesLines
* [Qt] disable tray interactions when client model set to 0Philip Kaufmann2014-08-081-0/+1
| | | | | | - this prevents the ability to fiddle around with the system tray when already shutting down (e.g. on slow shutdowns because of a proxy delay) - extends solution for #4360
* [Qt] ensure all class attributes are init to 0Philip Kaufmann2014-08-081-0/+1
| | | | - in BitcoinGUI and UnitDisplayStatusBarControl
* [Qt] remove dup includes in bitcoinguiPhilip Kaufmann2014-07-041-5/+1
|
* [Qt] New status bar Unit Display Control and related changes.gubatron2014-06-251-0/+37
| | | | | | | | | | | | | | | | - New status bar control shows the current Unit of Display. When clicked (left,or right button) it shows a context menu that allows the user to switch the current Unit of Display (BTC, mBTC, uBTC) - Recent Requests and Transaction Table headers are now updated when unit of display is changed, because their "Amount" column now displays the current unit of display. - Takes care of issue #3970 Units in transaction export csv file. - Small refactors for reusability. - Demo Video https://www.youtube.com/watch?v=wwcr0Yh68go&list=UUG3jF2hgofmLWP0tRPisQAQ - changes after Diapolo's feedback. Have not been able to build after last pool, issues with boost on MacOSX, will test on Ubuntu these changes. - removed return statement on switch - renamed onDisplayUnitsChanged(int) to updateDisplayUnit(int) - now getAmountColumnTitle(int unit) takes a simple unit parameter. moved to BitcoinUnits.
* 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.
* VerifyDB progressCozz Lovan2014-06-031-0/+5
|
* Remove NumBlocksOfPeersWladimir J. van der Laan2014-05-061-1/+1
| | | | | | | | | | | | | Generally useless information. Only updates on connect time, not after that. Peers can easily lie and the median filter is not effective in preventing that. In the past it was used for progress display in the GUI but `CheckPoints::guessVerificationProgress` provides a better way that is now used. It was too easy to mislead it. Peers do lie about it in practice, see issue #4065. From the RPC, `getpeerinfo` gives the peer raw values, which are more useful.
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* [Qt] move helpmessage from debug window to main menuPhilip Kaufmann2014-01-221-0/+3
| | | | | - the option to show our help message dialog resides now in main menu under help
* qt: use series of pngs for spinnerWladimir J. van der Laan2014-01-131-1/+1
| | | | | | | | | | Use a series of .png frames for the spinner instead of a .mng. `mng` is an obscure image format and is not built by default into Qt5. This appears to improve the crispness of the spinner as well. Does not noticably increase the size (still ~27k) and the code is not more complicated either.
* GUI for --disable-wallet compiles and -disablewallet modeWladimir J. van der Laan2014-01-111-8/+18
| | | | | | | | There is not much in the GUI to be done without wallet, though it's possible to change options, watch the sync process, and use the debug console. So embed the debug console in the main window.
* qt: Remove global references in bitcoin.cppWladimir J. van der Laan2014-01-111-0/+5
| | | | | | Remove the need for global references `guiref` and `splashref` by making the BitcoinGUI and SplashScreen classes register for the UI interface signals themselves.
* Remove unused ThreadSafeAskFee from ui_interfaceWladimir J. van der Laan2013-12-141-10/+0
| | | | | | ThreadSafeAskFee is effectively unused. It is only called when the fAskFee parameter on SendMoney or SendMoneyToDestination is true, which never happens. Remove it.
* qt: GUI support for -disablewallet modeWladimir J. van der Laan2013-11-131-0/+3
|
* qt: add Open URI dialogWladimir J. van der Laan2013-11-111-0/+7
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-15/+5
| | | | | | | | | 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: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* [Qt] additional small fixes for #3099 (new receive flow)Philip Kaufmann2013-10-261-4/+1
| | | | | | | | | - remove 2 unneeded windowTitle attributes, which bloat our translations - cleanup some unneeded .cpp/.h includes and class usages - use a more generic string for clearing sendcoinsdialog and requestpaymentdialog - edit 2 strings in BitcoinGUI and replace "edit" with "show" as this seems more clear in the context where it is used
* allow emit message() in sendcoinsdialog and walletviewPhilip Kaufmann2013-10-251-1/+1
| | | | | | | - this allows us to use emit message() over MessageBox:: or gui->message() calls in sendcoinsdialog and walletview - move main handlePaymentRequest() functionality back to BitcoinGUI - move a showNormalIfMinimized() before gotoSendCoinsPage()
* Merge pull request #3099 from laanwj/2013_10_new_receive_flowWladimir J. van der Laan2013-10-251-4/+2
|\ | | | | qt: improve "receive coins" workflow
| * qt: rework "receive coins" workflowWladimir J. van der Laan2013-10-231-4/+2
| |
* | Qt: move paymentACK handling to paymentserverPhilip Kaufmann2013-10-241-1/+1
|/ | | | | | | | | - add new slot handlePaymentACK() to paymentserver, which handles paymentACK messages (currently we just display them) - make paymentACK message a modal information dialog - change some QObject::tr() to just tr() - clarify the processPaymentRequest() error, when IsDust() - small string change to prevent a tripple + usage with QString
* qt: remove awkward way of setting GUI pagesWladimir J. van der Laan2013-10-191-8/+0
| | | | | Selecting the button for a pages was going through bitcoingui->walletframe->walletview->bitcoingui. Because of this, the actions for the pages had to be exposed on the BitcoinGUI object.
* several small Qt-related fixesPhilip Kaufmann2013-09-281-1/+1
| | | | | | | | | - make BitcoinGUI::showPaymentACK() use a reference for msg and use our own GUIUtil::HtmlEscape() function - ensure QTimer usage in clientmodel is the same as in walletmodel - remove an unneeded debug message in walletframe - flag some parameters as unused in DebugMessageHandler() - small code formatting changes
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-1/+4
| | | | | | | | Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
* Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann2013-07-291-4/+0
| | | | | | - move the code for saving and restoring window positions from BitcoinGUI to GUIUtil, make it more generic and also use it for saving/restoring debug window positions
* Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann2013-06-021-3/+3
| | | | | | | - this directly sets up all GUI elements that have testnet special-casing without first setting up main net stuff and changing afterwards (titles, icons etc.) - also fixes 2 wrong icons shown during testnet usage on our toolbar
* qt: move export button to tabsWladimir J. van der Laan2013-04-121-2/+0
| | | | | | | | 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.
* Merge pull request #2481 from laanwj/2013_04_cleanupWladimir J. van der Laan2013-04-081-8/+0
|\ | | | | qt: remove redundant wallet methods from bitcoingui
| * qt: remove redundant wallet methods from bitcoinguiWladimir J. van der Laan2013-04-071-8/+0
| | | | | | | | send encryptWallet/backupWallet/changePassphrase directly to walletFrame
* | small indentation, space, formatting fixes (no code changes)Philip Kaufmann2013-04-061-0/+1
|/
* Have Qt poll for shutdown requested, the QT way.Gavin Andresen2013-04-031-0/+3
|
* Bitcoin-Qt: fix GUI after initial multi-wallet patchPhilip Kaufmann2013-04-031-2/+11
| | | | | | | | | | - adds 6 methods in BitcoinGUI to access some actions needed by the new WalletView class - updates WalletView class to use these instead of trying to duplicate these - cleanup walletview.{cpp/h} and remove all unneeded stuff - this fixes problems with tabs toolbar (#2451) and export broken (#2436) - more details in #2447
* fix "send coins" via context menu in address bookPhilip Kaufmann2013-04-011-2/+2
| | | | | | | - the send coins context menu entry was not working anymore, because a non current version of #2220 was merged onto current master - also removes some unneeded spaces and adds a comment to WalletModel::getNumTransactions()
* Merge remote-tracking branch 'codeshark/multiwallet-qt-no-core' (pull #2220)Wladimir J. van der Laan2013-03-291-18/+22
|\ | | | | | | | | Conflicts: src/qt/bitcoingui.cpp
| * Minimal architectural changes necessary to support multiple wallets in ↵Eric Lombrozo2013-03-221-18/+22
| | | | | | | | | | | | bitcoin-qt - This commit is a minimal restructuring necessary to support multiple wallets in the UI. Please see multiwallet-qt.txt for details.
* | Merge pull request #2393 from r000n/stagingWladimir J. van der Laan2013-03-291-0/+4
|\ \ | |/ |/| Staging - GUI fixes for upstream
| * Save & restore window size and positionRoman Mindalev2013-03-231-0/+4
| |
* | Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann2013-03-181-1/+1
|/ | | | | | - 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/+1
| | | | | | | - 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
* Merge pull request #2310 from sipa/progressbarGavin Andresen2013-02-221-0/+2
|\ | | | | Progressbar based on time-based estimation of transactions.
| * Change progress bar from block-based to time-basedWladimir J. van der Laan2013-02-161-0/+2
| | | | | | | | | | This is less confusing to most people, and doesn't rely on estimates of the total number of blocks received from other nodes.
* | Improve block database load error reportingPieter Wuille2013-02-171-1/+2
|/
* use new message() function in BitcoinGUIPhilip Kaufmann2012-12-031-1/+1
| | | | | | | | | | | | - 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-3/+2
| | | | | - 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-1/+3
| | | | | | | - 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-2/+8
| | | | | | | | | | | | | | | | | | | | - 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
* Qt: small header changes / fixesPhilip Kaufmann2012-11-081-1/+1
| | | | | | - 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
* Bitcoin-Qt: use statustips in addition to tooltipsPhilip Kaufmann2012-10-311-1/+2
| | | | | | | | | | | - 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"
* Merge pull request #1852 from fanquake/bugreportlinksWladimir J. van der Laan2012-09-221-1/+1
|\ | | | | Update links to Qt