aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9755: Bugfix: Qt/Options: Restore persistent "restart required" noticeJonas Schnelli2017-02-141-1/+4
|\ | | | | | | 0b4f273 Bugfix: Qt/Options: Restore persistent "restart required" notice (Luke Dashjr)
| * Bugfix: Qt/Options: Restore persistent "restart required" noticeLuke Dashjr2017-02-131-1/+4
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | | | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* | Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
| |
* | Do not shadow in src/qtPavel Janík2016-09-231-6/+6
| |
* | net: Have LookupNumeric return a CService directlyCory Fields2016-08-041-2/+1
| | | | | | | | | | | | Also fix up a few small issues: - Lookup with "badip:port" now sets the port to 0 - Don't allow assert to have side-effects
* | net: Split resolving out of CServiceCory Fields2016-07-311-1/+3
| |
* | Qt: Add option to hide the system tray iconTyler Hardin2016-05-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | My changes leave all tray icon and menu creation/initialization logic untouched. It only shows or hides the icon according to the setting. A new checkbox was added to the OptionsDialog under the Window tab. A bool option named "hideTrayIcon" was added to OptionsModel. This checkbox was mapped like other all options to the OptionsModel. A signal was added to the OptionsModel for broadcasting changes the the hideTrayIcon option. This signal was connected to a new slot added to BitcoinGUI named setTrayIconVisible(bool). The slot simply hides or shows the trayIcon in BitcoinGUI according to the parameter recieved.
* | Merge branch 'master' into single_prodnameLuke Dashjr2016-02-031-45/+32
|\ \
| * | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |/
| * [Qt] don't allow to store invalid proxy portsJonas Schnelli2015-11-181-4/+9
| |
| * [Qt] refactor and optimize proxy settings behaviorJonas Schnelli2015-11-161-44/+26
| |
* | 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
|