aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
AgeCommit message (Collapse)Author
2014-05-06Remove NumBlocksOfPeersWladimir J. van der Laan
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.
2014-03-15qt: Show weeks as well as years behind for long timespansWladimir J. van der Laan
Closes #3811.
2014-03-06gui: Prevent status icons from being cut offWladimir J. van der Laan
After the Qt5 switch, status icons were being cut off by 1-2px. Also fixes some other cases where the UI is slightly off mentioned in #3800. Fixes #3800.
2014-02-09Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron
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.
2014-01-22[Qt] move helpmessage from debug window to main menuPhilip Kaufmann
- the option to show our help message dialog resides now in main menu under help
2014-01-18[Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann
- adds a nice and well formated dialog, which displays our -? help message (all options/paramaters) - moves aboutdialog.cpp/h to the new utilitydialog - move GUI shutdown window to utilitydialog
2014-01-14Merge pull request #3526Wladimir J. van der Laan
f10b2d7 qt: use series of pngs for spinner (Wladimir J. van der Laan)
2014-01-13qt: Minor message updatesWladimir J. van der Laan
Used sending/receiving addresses -> Sending/receiving addresses Previously requested payments -> Requested payments (idea from @cozz in #3521)
2014-01-13qt: use series of pngs for spinnerWladimir J. van der Laan
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.
2014-01-11GUI for --disable-wallet compiles and -disablewallet modeWladimir J. van der Laan
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.
2014-01-11qt: Stop shutdown detection timer during shutdownWladimir J. van der Laan
Stop the shutdown timer from exiting the main loop when shutdown is already in progress. Fixes seeming hanging window after typing 'stop' in debug console. Also hide the debug console during shutdown as it is useless without a core to connect to.
2014-01-11qt: Remove global references in bitcoin.cppWladimir J. van der Laan
Remove the need for global references `guiref` and `splashref` by making the BitcoinGUI and SplashScreen classes register for the UI interface signals themselves.
2013-12-23Merge pull request #3427Wladimir J. van der Laan
1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
2013-12-20qt: Make sure overviewpage button is pressed at startupWladimir J. van der Laan
Due to walletframe changes, the overview page button is no longer automatically selected at startup even though the overview page is shown.
2013-12-18Merge pull request #3415Wladimir J. van der Laan
4a61c39 qt: status WalletModel::Aborted is no longer used (Wladimir J. van der Laan) ca2c83d Remove unused ThreadSafeAskFee from ui_interface (Wladimir J. van der Laan) 37e67d3 Remove unused ThreadSafeHandleURI from ui_interface (Wladimir J. van der Laan)
2013-12-16qt: Prevent non-functional GUI from popping up during InitWladimir J. van der Laan
When a InitError or InitWarning happens, the GUI pops up but is unusable (until Init finishes). This is caused by showNormalIfMinimized. Add a message flag to skip this call for Init errors or warnings.
2013-12-14Remove unused ThreadSafeAskFee from ui_interfaceWladimir J. van der Laan
ThreadSafeAskFee is effectively unused. It is only called when the fAskFee parameter on SendMoney or SendMoneyToDestination is true, which never happens. Remove it.
2013-12-13Rebrand to `Bitcoin Core`Wladimir J. van der Laan
Only messages for now, executable names and other file names can be changed later if necessary and safe. Do not do an all-sweeping change. Some occurences of Bitcoin-Qt need to be kept: - Applicationname: this is used to determine the registry entry names, we don't want to lose settings over a silly name change. - Where it refers to the executable name instead of the product name.
2013-12-09[Qt] misc small Mac related changes/cleanupsPhilip Kaufmann
- cleanup Info.plist.in and specify high DPI mode enable command as per http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ - move setting of QApplication::setAttribute() to bitcoin.cpp and add attribute for enabling use of high DPI pixmaps for Qt >= 5.1 - add missing setWindowTitle() on Mac - cleanup Mac / non-Mac setup in bitcoingui.cpp
2013-12-03[Qt] small notificator and style changesPhilip Kaufmann
- remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
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-13qt: GUI support for -disablewallet modeWladimir J. van der Laan
2013-11-11qt: add Open URI dialogWladimir J. van der Laan
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-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-26[Qt] additional small fixes for #3099 (new receive flow)Philip Kaufmann
- 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
2013-10-25Merge pull request #3144 from Diapolo/message_sendcoinsdialogWladimir J. van der Laan
allow emit message() in sendcoinsdialog and walletview
2013-10-25[Qt] misc small fixes for #3099 (new receive flow)Philip Kaufmann
- 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
2013-10-25allow emit message() in sendcoinsdialog and walletviewPhilip Kaufmann
- 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()
2013-10-25Merge pull request #3099 from laanwj/2013_10_new_receive_flowWladimir J. van der Laan
qt: improve "receive coins" workflow
2013-10-24Qt: move paymentACK handling to paymentserverPhilip Kaufmann
- 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
2013-10-23bitcoingui: show main window (if hidden) on modal messagesPhilip Kaufmann
2013-10-23qt: rework "receive coins" workflowWladimir J. van der Laan
2013-10-19qt: remove awkward way of setting GUI pagesWladimir J. van der Laan
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.
2013-10-08Bitcoin-Qt: ensure Qt icon is shown with Qt >= 5.0Philip Kaufmann
2013-10-05Bitcoin-Qt: prevent stuck/unusable debug window on exitPhilip Kaufmann
- when closing the client with an open debug window, that window could become stuck/unsuable (it was still shown wherea the main window was hidden already) - fix this by hiding the debug window, when quitting the the client
2013-09-28several small Qt-related fixesPhilip Kaufmann
- 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
2013-09-14Bitcoin-Qt: BitcoinGUI::message() updates/fixesPhilip Kaufmann
- ensure message boxes are shown in center of our main window, not centered on the users desktop - always prefer user supplied titles for message boxes over the functions defaults (fixes a bug, where transaction info messages did not contain information, if it was incoming or outgoing)
2013-08-29Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
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.
2013-08-05Merge pull request #2827 from Diapolo/rpccon_winposGavin Andresen
Bitcoin-Qt: save and restore position of debug window
2013-07-31Remove #define loop from util.hGavin Andresen
Replace the loop macro with while (true). The #define caused problems for Qt.
2013-07-29Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann
- 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
2013-07-23Bitcoin-Qt: fix QApplication includes to match our include defaultsPhilip Kaufmann
- move all QApplication includes to top of included Qt headers - undef our loop macro where it would cause compilation errors otherwise
2013-06-02Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann
- 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
2013-06-01Qt5 compatibilityWladimir J. van der Laan
This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <phil.kaufmann@t-online.de> - Jonas Schnelli <jonas.schnelli@include7.ch>
2013-04-27Merge pull request #2530 from jonasschnelli/mac_win_reopen_fixWladimir J. van der Laan
fixes #1522: GUI Disappearing (Mac OSX)
2013-04-23Merge pull request #2526 from Diapolo/Qt_miscWladimir J. van der Laan
Bitcoin-Qt: misc small changes
2013-04-18Merge pull request #2501 from Diapolo/progressWladimir J. van der Laan
rework ClientModel::getBlockSource() + BitcoinGUI::setNumBlocks()
2013-04-15fix: GUI Disappearing #1522 (Mac OSX)Jonas Schnelli
- this solution works stable on mac and ensures that the window get's reopened when the user clicks the dock icon . - tested on 10.8 with Qt4.8.4 and Qt5.0.1 Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>