aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
AgeCommit message (Collapse)Author
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-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>
2013-04-14bitcoingui: remove 2 unneeded includesPhilip Kaufmann
2013-04-13Merge pull request #2492 from Diapolo/Qt_messageWladimir J. van der Laan
Bitcoin-Qt: remove " - " on empty title in BitcoinGUI::message()
2013-04-12qt: move export button to tabsWladimir J. van der Laan
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.
2013-04-11Bitcoin-Qt: remove " - " on empty title in BitcoinGUI::message()Philip Kaufmann
- don't display "Bitcoin - " when no title was supplied but just "Bitcoin"
2013-04-10rework ClientModel::getBlockSource() + BitcoinGUI::setNumBlocks()Philip Kaufmann
- updates ClientModel::getBlockSource() to return all available states and sorts enum BlockSource in order of usage cases (none default, then reindex, import and network) - updates BitcoinGUI::setNumBlocks() to better use getBlockSource() and also adds a message, when we have NO block source available
2013-04-08Merge pull request #2470 from Diapolo/progressbarlabelWladimir J. van der Laan
Bitcoin-Qt: update for BitcoinGUI::eventFilter()
2013-04-07qt: remove redundant wallet methods from bitcoinguiWladimir J. van der Laan
send encryptWallet/backupWallet/changePassphrase directly to walletFrame
2013-04-06Bitcoin-Qt: update for BitcoinGUI::eventFilter()Philip Kaufmann
- this allows us to use the progressbar and the label independently (if needed) and still prevents setStatusTip() to use them, if one of the 2 is active
2013-04-03Have Qt poll for shutdown requested, the QT way.Gavin Andresen
2013-04-03Merge pull request #2450 from Diapolo/Qt_fix_VMTabWladimir J. van der Laan
Bitcoin-Qt: fix opening verify message tab via main menu
2013-04-03Bitcoin-Qt: fix GUI after initial multi-wallet patchPhilip Kaufmann
- 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
2013-04-03Bitcoin-Qt: fix opening verify message tab via main menuPhilip Kaufmann
2013-04-02Bitcoin-Qt: only use qApp for Q(Core)Application::instance()Philip Kaufmann
2013-04-02Merge pull request #2428 from r000n/stagingWladimir J. van der Laan
Simplify titles of tabs in main window
2013-04-01Merge pull request #2437 from Diapolo/Qt_fixesWladimir J. van der Laan
fix "send coins" via context menu in address book