aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
AgeCommit message (Collapse)Author
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
2013-04-01Bitcoin-Qt: fix debug windowPhilip Kaufmann
- fix debug window, by re-adding rpcConsole->setClientModel(clientModel); in BitcoinGUI::setClientModel(), which was removed by #2220
2013-04-01fix "send coins" via context menu in address bookPhilip Kaufmann
- 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()
2013-03-31Words in English language are more short than in other langs usually.Roman Mindalev
Tabs don't fits in line in Spanish/German/Russian when they has two words. Wallet has limited functionality. It can send & receive coins. So we can safely rename "Send coins" to "Send" and "Receive coins" to "Receive". Address book is just stored addresses.
2013-03-30Bitcoin-Qt: ensure createTrayIconMenu() is always called on MacPhilip Kaufmann
- this should prevent GUI issues on Mac that were observed before (disappearing GUI - see #1522) - the patch ensures, that createTrayIconMenu() is always called on Mac to process and use our MacDockIconHandler
2013-03-29Merge remote-tracking branch 'codeshark/multiwallet-qt-no-core' (pull #2220)Wladimir J. van der Laan
Conflicts: src/qt/bitcoingui.cpp
2013-03-29Merge pull request #2393 from r000n/stagingWladimir J. van der Laan
Staging - GUI fixes for upstream
2013-03-23Show window in center of screen on first launchRoman Mindalev
2013-03-23Save & restore window size and positionRoman Mindalev
2013-03-22Minimal architectural changes necessary to support multiple wallets in ↵Eric Lombrozo
bitcoin-qt - This commit is a minimal restructuring necessary to support multiple wallets in the UI. Please see multiwallet-qt.txt for details.
2013-03-18Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann
- 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
2013-03-17Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann
- 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
2013-02-22Merge pull request #2310 from sipa/progressbarGavin Andresen
Progressbar based on time-based estimation of transactions.
2013-02-17Improve block database load error reportingPieter Wuille
2013-02-16Transactions-based verification progressPieter Wuille
2013-02-16Change progress bar from block-based to time-basedWladimir J. van der Laan
This is less confusing to most people, and doesn't rely on estimates of the total number of blocks received from other nodes.
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