aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [Qt] massive options/settings rework (no core changes)Philip Kaufmann2014-01-061-108/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.)
* qt: Remove unused method OptionsModel::getTransactionFeeWladimir J. van der Laan2014-01-061-5/+0
|
* Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan2013-12-131-0/+1
| | | | | Transaction fee is only used by the wallet. No need for it to be in main.cpp.
* Coincontrol cleanup (e.g. add missing license)Philip Kaufmann2013-11-181-8/+2
| | | | | | | | | - add missing license headers - make compatible with Qt5 - enforce header cleanup style - small code style cleanups - rename Coin Control dialog into Coin Control Address Selection - use default font for the windows labels (no monospace)
* Coin Control FeaturesCozz Lovan2013-11-141-0/+15
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-7/+7
| | | | | | | | | 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
* Break dependency of init on wallet.Pieter Wuille2013-10-261-0/+3
| | | | | | This required some code movement (what was CWalletTx::AcceptToMemoryPool doing in main?), and adding a few explicit includes that used to be implicit through init.h.
* autotools: switch to autotools buildsystemCory Fields2013-09-051-0/+4
|
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-0/+11
| | | | | | | | Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
* let user select wallet file with -wallet=foo.datNils Schneider2013-07-041-1/+1
| | | | | | | | | | | | | | use std::string instead of psz for WalletFile only allow wallets within $DATADIR Use strWalletFile in salvage/recover fix: remove unused variable pszWalletFile move strWalletFile to init.h/init.cpp avoid conversion of strWalletfile to c-string
* Port Thread* methods to boost::thread_groupGavin Andresen2013-04-031-3/+2
|
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-2/+3
| | | | | | | - 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/+18
| | | | | | | | - 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
* OptionsModel now has MapPortUPnP=false if UPNP is not supportedAndrey Alekseenko2012-12-121-0/+4
|
* Remove -detachdb and stop's detach argument.Pieter Wuille2012-11-041-10/+0
| | | | | | | | As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
* Merge pull request #1899 from Diapolo/proxy_optionsmodelPieter Wuille2012-10-251-5/+12
|\ | | | | make optionsmodel query real proxy state for ::data()
| * make optionsmodel query real proxy state for ::data()Philip Kaufmann2012-10-071-5/+12
| | | | | | | | | | | | - don't rely on the QSettings for cases ProxyUse and ProxySocksVersion and query the real values via the GetProxy() call - add a missing "succesful =" for case ProxyUse in ::setData()
* | Merge pull request #1900 from Diapolo/optionsmodel_gettersWladimir J. van der Laan2012-10-111-20/+0
|\ \ | |/ |/| move most explicit getters in optionsmodel to header
| * move most explicit getters in optionsmodel to headerPhilip Kaufmann2012-10-021-20/+0
| | | | | | | | - is more consistent and saves quite some lines of code
* | add LOCK() for proxy related data-structuresPhilip Kaufmann2012-10-041-30/+39
|/ | | | | | | | | - fix #1560 by properly locking proxy related data-structures - update GetProxy() and introduce GetNameProxy() to be able to use a thread-safe local copy from proxyInfo and nameproxyInfo - update usage of GetProxy() all over the source to match the new behaviour, as it now fills a full proxyType object - rename GetNameProxy() into HaveNameProxy() to be more clear
* optionsmodel cleanupPhilip Kaufmann2012-07-121-43/+21
| | | | | | | | - cleanup optionsmodel before adding new proxy options - place SOCKS version stuff below proxy port (IP, Port, SOCKS version) - simplyfy some parts of the code (e.g. don't check IP and port, as this is done in optionsdialog anyway, remove unneeded {} in switch/case) - small cosmetic changes in the header for better readability
* fix typo in optionsmodel.cppPhilip Kaufmann2012-07-071-1/+1
|
* re-work optionsdialog to a tabbed UI based on an ui-filePhilip Kaufmann2012-06-131-1/+8
| | | | | | | | | | | | - 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
* fix default Proxy address in Qt options (no hostname allowed currently)Philip Kaufmann2012-06-041-1/+1
|
* Rework network config settingsPieter Wuille2012-05-311-15/+55
|
* CDBEnv: fix qt buildLuke Dashjr2012-05-221-2/+3
|
* change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann2012-05-181-1/+1
| | | | strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
* Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI codeWladimir J. van der Laan2012-05-131-2/+3
|
* Make it possible to set user interface language from options dialogWladimir J. van der Laan2012-05-091-0/+9
|
* Make lsn_reset ("detach databases") optional and off by default.Pieter Wuille2012-04-261-0/+9
| | | | | | | | | | 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 breaks in optionmodel's switch casePieter Wuille2012-04-171-0/+2
|
* Move CWalletDB code to new walletdb module.Jeff Garzik2012-04-171-1/+1
| | | | | In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
* Remove headers.hPieter Wuille2012-04-171-1/+1
|
* Store addrProxy port in settingsPieter Wuille2012-02-261-4/+4
|
* Reworked QT settingsGavin Andresen2012-02-261-25/+99
|
* Fix addrProxy settingPieter Wuille2012-02-251-2/+2
| | | | | | | | | Before 0.6 addrProxy was a CAddress, but netbase changed it to CService. Retain compatibility by wrapping/unwrapping with a CAddress when saving or loading. This commit retains compatibility with 0.6.0rc1 (which wrote the setting as a CService) by trying to parse twice.
* Remove erroneous ":" in front of port in options dialog (introduced with ↵Wladimir J. van der Laan2012-01-171-1/+1
| | | | network refactor)
* fix the build (port IP validation in options to network refactoring)Wladimir J. van der Laan2012-01-171-1/+1
|
* Network stack refactorPieter Wuille2012-01-061-3/+3
| | | | | | | | | | | | | | | This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself.
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-2/+0
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
* Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr2011-12-201-0/+2
|
* Merge pull request #717 from TheBlueMatt/installerqtupgradeGavin Andresen2011-12-201-2/+3
|\ | | | | Implement "Start on window system startup" on Win32 + Linux.
| * Implement "Start on window system startup" on Win32 + Linux.Matt Corallo2011-12-201-2/+3
| |
* | Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen2011-12-191-1/+1
|/
* don't include <QDebug>Wladimir J. van der Laan2011-08-071-2/+0
|
* Hide addresses in transaction overview by default, they can be re-shown as a ↵Wladimir J. van der Laan2011-07-301-1/+14
| | | | configuration option
* Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan2011-07-291-1/+19
| | | | (used when displaying amounts)
* allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan2011-07-261-11/+3
| | | | using a combobox
* update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan2011-06-261-5/+6
|