aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+1
| | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
* qt: Remove an obscure option no-one cares aboutWladimir J. van der Laan2014-07-311-1/+0
| | | | | | | Remove the "Display addresses" setting checkbox. It doesn't do what the tooltip says, and seems kind of pointless in any case. Fixes #4580.
* [Qt] small Qt-only include cleanupPhilip Kaufmann2014-07-251-2/+2
|
* remove SOCKS4 support from core and GUIPhilip Kaufmann2014-07-071-8/+0
| | | | - now we support SOCKS5 only
* Move fee policy out of coreGavin Andresen2014-07-031-2/+7
|
* 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.
* [Qt] allow setting listen via GUIPhilip Kaufmann2014-06-111-0/+2
| | | | | | | | | | - add DEFAULT_LISTEN in net.h and use in the code (shared setting between core and GUI) Important: This makes it obvious, that we need to re-think the settings/options handling, as GUI settings are processed before any parameter-interaction (which is mostly important for network stuff) in AppInit2()!
* Type-safe CFeeRate classGavin Andresen2014-06-061-2/+2
| | | | | | | | Use CFeeRate instead of an int64_t for quantities that are fee-per-size. Helps prevent unit-conversion mismatches between the wallet, relaying, and mining code.
* [Qt] Optionally add third party links to transaction context menuCozz Lovan2014-04-251-0/+5
|
* Restart-warning for spendZeroConfChange optionlangerhans2014-04-071-0/+2
| | | According to the options model, a restart is required after changing this option. So let's notify the user about it.
* add constant for shared (GUI/core) -par settingsPhilip Kaufmann2014-03-271-1/+3
| | | | | | | | | - introduce DEFAULT_SCRIPTCHECK_THREADS in main.h - only show values from -"MAX_HW_THREADS" up to 16 for -par, as it makes no sense to try to leave more "cores free" than the system supports anyway - use the new constant in optionsdialog and remove defaults from .ui file
* [Qt] add expert section to wallet tab in optionsdialogCozz Lovan2014-03-181-1/+1
|
* add constants for shared (GUI/core) -dbcache settingsPhilip Kaufmann2014-02-171-2/+4
| | | | - adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
* Merge pull request #3614Wladimir J. van der Laan2014-02-171-0/+2
|\ | | | | | | b920148 [Qt] Improve single step in bitcoinamountfield (Cozz Lovan)
| * [Qt] Improve single step in bitcoinamountfieldCozz Lovan2014-02-021-0/+2
| |
* | qt: Add option to (not) spend unconfirmed changeWladimir J. van der Laan2014-02-161-1/+4
|/ | | | | | - Add a wallet tab to options dialog - Move fee setting to wallet tab - Add new setting to set -nospendzeroconfchange from UI
* [Qt] let OptionsModel::getProxySettings() directly query proxyPhilip Kaufmann2014-01-171-2/+1
| | | | | | | | | - as a proxy set via GUI can be overridden via -proxy, directly query the core to get active proxy - give a warning, if active proxy is not SOCKS5 (needs to be SOCKS5 for the Qt networking code to work) - also remove an obsolete connect() call from optionsdialog.cpp and a reference to Bitcoin-Qt (now just GUI)
* [Qt] massive options/settings rework (no core changes)Philip Kaufmann2014-01-061-68/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add new options for database cache and script verification threads - add label which displays options that are overridden by command-line parameters - proxy settings are not applied on-the-fly anymore and require a client restart (ApplyProxySettings() was removed and was not working very well anyway) - re-work options reset and require a client shutdown (as it is much easier to do it this way without having to mess with what can be changed on-the-fly and what needs a restart anyway) - options reset now writes default values for every single option - when changing an option which requires a client restart display a 10 second warning message in statusLabel (via a QTimer) - when applying the changes via ok change that to a persistent message, which is displayed even after closing optionsdialog and re-open it, when no client restart was made - remove dialog boxes used when changing language or proxy settings - add setRestartRequired() and isRestartRequired() to OptionsModel and use the set function when updating options to signal OptionsDialog when a restart is needed - resize optionsdialog a little and add some min sizes for certain GUI elements - remove apply button from optionsdialog - save and restore optionsdialog window position - update nTransactionFee in QSettings with a set -paytxfee value when opening optionsdialog (I'm not sure about this yet, perhaps revert to not updating QSettings and just display current -paytxfee value in optionsdialog.)
* Coin Control FeaturesCozz Lovan2013-11-141-0/+1
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-1/+2
| | | | | | | | | 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
* autotools: switch to autotools buildsystemCory Fields2013-09-051-0/+4
|
* MaxOSX: settings fixes (#2371)Jonas Schnelli2013-06-031-1/+2
| | | | | | | - Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <[email protected]>
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-2/+0
| | | | | | | - 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
* Bitcoin-Qt: add a Reset button to the options dialogPhilip Kaufmann2013-01-051-0/+27
| | | | | | | | - a click on "Reset Options" sets all options to the default values by removing all stored settings (QSettings), loading the defaults and saving them as the new settings - before the reset is executed the user is presented a confirmation dialog - special casing was needed for StartAtStartup
* Remove -detachdb and stop's detach argument.Pieter Wuille2012-11-041-1/+0
| | | | | | | | As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
* change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)Philip Kaufmann2012-10-071-1/+1
| | | | - I missed that one in my former pull
* enhance Qt5 compatibilityPhilip Kaufmann2012-09-211-1/+1
| | | | | - replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
* small UX update for optionsdialogPhilip Kaufmann2012-08-021-6/+19
| | | | | | | - add enableApplyButton() and disableApplyButton() to optionsdialog.{h/cpp} - they are used to ensure the Ok button does not get disabled, when Apply needs to be disabled (standard UX should allow Ok always to dismiss the dialog and only disable it, when we have a faulty proxy IP) - disable Apply after initially loading the settings, as nothing new needs to be saved - remove orphan settings from optionsdialog.ui that are default anyway
* optionsdialog cleanupPhilip Kaufmann2012-07-221-38/+40
| | | | | | | | | | | | - remove duplicate includes, that are already present in ui_optionsdialog.h - change QIntValidator to not allow 0 as port-number - re-order some function calls to match the Ui element order, for better readbility and to prepare for the addition of further IPv6 and Tor proxy options - restat warning for the language selection is only shown, when the language was changed (not on simply activating the Ui element) - split check for object == ui->proxyIp into seperate if-clause - micro-optimize the code in the above mentioned if-clause - unify used format for comments in the code - introduce handleProxyIpValid() function, which handles UI elements and the save button states for valid/invalid proxy IPs
* enhance lang-selection in OptionsDialog, when compiling with Qt >= 4.8Philip Kaufmann2012-07-131-0/+10
|
* GUI: change language selection formatPhilip Kaufmann2012-06-261-1/+14
| | | | | - display as "language - country (locale name)", when locale name consists of 2 parts - display as "language (locale name)", when locale name consists of 1 part
* re-work optionsdialog to a tabbed UI based on an ui-filePhilip Kaufmann2012-06-131-318/+140
| | | | | | | | | | | | - extend network options with a SOCKS version selection - changing "Unit to show amounts in:" now also updates the unit used in the transaction fee box - string updates - link Apply button and OK button when enabling or disabling them - use LookupNumeric() from netbase to verify proxy address (via an EventFilter) - change proxy address field to QValidatedLineEdit and add visual feedback - add a status label used for displaying a message for invalid proxy addresses - allow usage of IPv6 address as proxy address - added warning message when enabling / disabling SOCKS proxy
* Rework network config settingsPieter Wuille2012-05-311-1/+1
|
* allow translation of "options" used in the --help message / split ↵Philip Kaufmann2012-05-171-4/+4
| | | | translation of RPC console welcome message and remove the need to take care of "<br>" / remove some spaces in strings and misc other stuff related to translations
* optionsdialog.cpp: rename "Start Bitcoin on window system startup" to "Start ↵Philip Kaufmann2012-05-101-12/+12
| | | | Bitcoin on system login" and move it to Main / hide "Window" Options on Mac as there are currently none available / remove an unused variable / add Alt-Shortcuts where they were missing / allow translation of "default"
* Make it possible to set user interface language from options dialogWladimir J. van der Laan2012-05-091-1/+38
|
* Organize optionsdialog (split off Window and Network page)Wladimir J. van der Laan2012-05-091-95/+157
|
* remove 2 ugly spaces from a string used in translationsPhilip Kaufmann2012-05-091-1/+1
|
* Merge pull request #1219 from luke-jr/rm_fee_tipWladimir J. van der Laan2012-05-071-1/+0
|\ | | | | Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218
| * Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218Luke Dashjr2012-05-071-1/+0
| |
* | Make lsn_reset ("detach databases") optional and off by default.Pieter Wuille2012-04-261-0/+6
| | | | | | | | | | | | | | | | | | | | Add an option -detachdb (and entry in OptionDialog), without which no lsn_reset is called on addr.dat and blkindex.dat. That means these files cannot be moved to a new environment, but shutdown can be significantly faster. The wallet file is always lsn_reset'ed. -detachdb corresponds to the old behaviour, though it is off by default now to speed up shutdowns.
* | Add missing tooltip and key shortcut in settings dialog (#1088 without line ↵Wladimir J. van der Laan2012-04-131-1/+2
| | | | | | | | break part)
* | Toggle main window hide on tray icon clicksje3972012-04-111-6/+4
|/ | | | | | | | | | | | | | | | | | | | | | - 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
* fetch translations from transifexNils Schneider2012-02-051-2/+2
| | | | | * fixes issue #742 * new translations: cs_CZ fa fi fr_FR hr pl ro_RO sv tr
* Improved Mac experience; QDoubleSpinBox for BitcoinAmountFieldp2k2011-10-091-0/+12
| | | | | | | | 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.
* put Q_OBJECT everywhere it should be (removes warnings when running lupdate)Wladimir J. van der Laan2011-09-191-0/+4
|
* don't include <QDebug>Wladimir J. van der Laan2011-08-071-1/+0
|
* Hide addresses in transaction overview by default, they can be re-shown as a ↵Wladimir J. van der Laan2011-07-301-0/+7
| | | | configuration option
* Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan2011-07-291-5/+9
| | | | (used when displaying amounts)