aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Unify package name to as few places as possible without major changesLuke Dashjr2015-12-141-0/+5
|/
* [qt] Properly display required fee instead of minTxFeeMarcoFalke2015-11-031-1/+1
|
* Merge pull request #4587Wladimir J. van der Laan2015-08-071-5/+46
|\ | | | | | | ed166df [Qt] allow users to set -onion via GUI (Philip Kaufmann)
| * [Qt] allow users to set -onion via GUIPhilip Kaufmann2015-07-241-5/+46
| | | | | | | | | | - also allow users to see, if the default proxy (-proxy) is used for reaching peers via IPv6 or Tor
* | Includes: Cleanup around net main and walletJorge Timón2015-07-231-1/+1
|/ | | | | | -Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-2/+2
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* Use real number of cores for default -par, ignore virtual coresWladimir J. van der Laan2015-07-011-1/+1
| | | | | | | | | | | | | | | | | To determine the default for `-par`, the number of script verification threads, use [boost::thread::physical_concurrency()](http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html#thread.thread_management.thread.physical_concurrency) which counts only physical cores, not virtual cores. Virtual cores are roughly a set of cached registers to avoid context switches while threading, they cannot actually perform work, so spawning a verification thread for them could even reduce efficiency and will put undue load on the system. Should fix issue #6358, as well as some other reported system overload issues, especially on Intel processors. The function was only introduced in boost 1.56, so provide a utility function `GetNumCores` to fall back for older Boost versions.
* Bugfix: Grammar fixesCorinne Dashjr2015-05-011-1/+1
|
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-1/+1
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* qt: Don't save geometry for options and about/help windowWladimir J. van der Laan2015-02-261-2/+0
| | | | | | | | | | | | These dialogs will be something that people occasionally open, not keep open during their session, so just popping it up in a sensible place is good enough. Remembering only creates potential issues, like spawning it outside the current screen area. On Ubuntu this causes the dialogs to be positioned in the middle of the main dialog, so I didn't add code for that. YMMV. Inspired by github pull #5777 by @L-Cranston-Shadow
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* [Qt] Add Smartfee to GUICozz Lovan2014-11-191-18/+0
|
* Don't show wallet options in the preferences menu when running with ↵sinetek2014-11-101-1/+6
| | | | -disablewallet
* qt: remove monitoreddatamapperWladimir J. van der Laan2014-10-231-2/+2
| | | | | We haven't used the viewModified signal in ages, so we can use a normal QDataWidgetMapper.
* [Qt] include and file header cleanupPhilip Kaufmann2014-09-181-0/+2
| | | | | - alphabetical ordering - correct ordering own headers before normal headers etc.
* 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
|