aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.h
AgeCommit message (Collapse)Author
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-08Qt: small header changes / fixesPhilip Kaufmann
- 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
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-09-22Merge pull request #1852 from fanquake/bugreportlinksWladimir J. van der Laan
Update links to Qt
2012-09-22Update Bugreport Linksfanquake
Update Qt Links Revert Qt source link Update Qt links
2012-09-21enhance Qt5 compatibilityPhilip Kaufmann
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
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-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-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-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-12merge toggleHidden() code into showNormalIfMinimized() to extend the ↵Philip Kaufmann
functionality, but keep a simpler toggleHidden() for use in SLOT() macro
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-12Add a menu option to verify a signed messagesje397
(Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
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-05Add UI RPC console / debug windowWladimir J. van der Laan
2012-04-11Toggle main window hide on tray icon clicksje397
- converted openBictoinAction to toggleHideAction - put GUIUtil functions into a namespace instead of a class - put window-related functions together in optionsdialog Reasoning: - toggle is more typical behaviour - it's more functional - better UX The typical issue with toggling visibility is that when a window is obscured by other windows but in the 'shown' state, hiding it isn't what you want. I've added an 'isObscured' function to GUIUtil that checks several pixels in the window to see if they are visible on the desktop so that an obscured but shown window can be raised. Conflicts: src/qt/guiutil.cpp src/qt/guiutil.h
2012-04-06Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr
2012-04-04qtui.h/noui.h interface cleanupWladimir J. van der Laan
- rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
2012-04-04Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan
instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
2012-02-26Merge pull request #853 from laanwj/2012_02_altminimizetrayWladimir J. van der Laan
Yet another alternative "minimize to tray" implementation Fixes problems with window positioning.
2012-02-17Do show/showNormal only when needed.Wladimir J. van der Laan
2012-02-17Hide window from taskbar when "minimize to tray" active by making window ↵Wladimir J. van der Laan
into Tool window
2012-02-15Added 'Backup Wallet' menu optionsje397
- icon from the LGPL Nuvola set (like the tick) - http://www.icon-king.com/projects/nuvola/ - include 'boost/version.hpp' in db.cpp so that the overwrite version of copy can be used - catch exceptions in BackupWallet (e.g. filesystem_error thrown when trying to overwrite without the overwrite flag set) - include db.h in walletmodel.cpp for BackupWallet function - updated doc/assets-attribution.txt and contrib/debian/copyright with copyright info for new icon
2012-02-11Fix Minimize to the tray instead of the taskbarJanne Pulkkinen
2012-01-27Bitcoin-Qt signmessage GUI (pull request #582)Luke Dashjr
2012-01-05Add support for opening bitcoin: URIs directly.Matt Corallo
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-12-19Merge pull request #699 from laanwj/about_qtGavin Andresen
Add "About Qt" menu option to show built-in Qt About dialog
2011-12-13Fix status bar not displaying Alerts.Matt Corallo
2011-12-13Add "About Qt" menu option to show built-in Qt About dialogWladimir J. van der Laan
- Most Qt programs do this, and it can be useful to find out what version of Qt was built against.
2011-11-13Example documented classWladimir J. van der Laan
2011-10-09Improved Mac experience; QDoubleSpinBox for BitcoinAmountFieldp2k
Now it can't be told if this is was a Windows App before. All Mac design principles are fulfilled and some cosmetics have been applied to suit the native look and feel. The biggest change there is the proper use of the Dock icon which takes the role of the Tray icon on Mac. The QDoubleSpinBox improves entering of Bitcoin amounts, no two separate fields are required anymore. All functionality and validation effects have been retained; pressing the comma key will be internally translated to a period to keep it consistent throughout the application and eases entering in countries which use the comma as decimal separator. Additionally, Notificator now supports Growl, Mac's native notification system. This is provided via Apple Script in order to avoid linking to Growl on compile time. Other changes involve encapsulation of Toolbar and Menubar creation, loading of Qt's own translation and some clean up.
2011-09-11remove transparency effect and windows-specific code for now, it's not ↵Wladimir J. van der Laan
working as supposed
2011-09-07Pull request #21: windows fixes/cleanup by MatokingJanne Pulkkinen
2011-09-03(k)ubuntu 10.04+ notification support (based on @zwierzak his code)Wladimir J. van der Laan
2011-08-31Wallet encryption part 2: ask passphrase when needed, add menu optionsWladimir J. van der Laan
2011-08-23Wallet encryption part 1: show wallet encryption statusWladimir J. van der Laan
2011-08-07Accept "bitcoin:" URL drops from browsersWladimir J. van der Laan
2011-08-04minimize amount of text in status bar; show only icons, if the user wants ↵Wladimir J. van der Laan
explanation they can view the tooltip
2011-07-17show rotating spinner when block download out of date, tick otherwiseWladimir J. van der Laan
2011-07-11Show unconfirmed balance on overview pageWladimir J. van der Laan
2011-07-09add export functionality for address book / receiving addressesWladimir J. van der Laan
2011-07-08Add context menu on transaction list: copy label, copy address, edit label, ↵Wladimir J. van der Laan
show details
2011-07-07convert to full tab-based uiWladimir J. van der Laan