aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.cpp
AgeCommit message (Collapse)Author
2013-11-18Coincontrol cleanup (e.g. add missing license)Philip Kaufmann
- 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)
2013-11-14Coin Control FeaturesCozz Lovan
2013-11-10Cleanup code using forward declarations.Brandon Dahler
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.
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-26Break dependency of init on wallet.Pieter Wuille
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.
2013-09-05autotools: switch to autotools buildsystemCory Fields
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
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.
2013-07-04let user select wallet file with -wallet=foo.datNils Schneider
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
2013-04-03Port Thread* methods to boost::thread_groupGavin Andresen
2013-03-17Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann
- 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
2013-01-05Bitcoin-Qt: add a Reset button to the options dialogPhilip Kaufmann
- 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
2012-12-12OptionsModel now has MapPortUPnP=false if UPNP is not supportedAndrey Alekseenko
2012-11-04Remove -detachdb and stop's detach argument.Pieter Wuille
As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
2012-10-25Merge pull request #1899 from Diapolo/proxy_optionsmodelPieter Wuille
make optionsmodel query real proxy state for ::data()
2012-10-11Merge pull request #1900 from Diapolo/optionsmodel_gettersWladimir J. van der Laan
move most explicit getters in optionsmodel to header
2012-10-07make optionsmodel query real proxy state for ::data()Philip Kaufmann
- 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()
2012-10-04add LOCK() for proxy related data-structuresPhilip Kaufmann
- 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
2012-10-02move most explicit getters in optionsmodel to headerPhilip Kaufmann
- is more consistent and saves quite some lines of code
2012-07-12optionsmodel cleanupPhilip Kaufmann
- 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
2012-07-07fix typo in optionsmodel.cppPhilip Kaufmann
2012-06-13re-work optionsdialog to a tabbed UI based on an ui-filePhilip Kaufmann
- 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
2012-06-04fix default Proxy address in Qt options (no hostname allowed currently)Philip Kaufmann
2012-05-31Rework network config settingsPieter Wuille
2012-05-22CDBEnv: fix qt buildLuke Dashjr
2012-05-18change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann
strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
2012-05-13Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI codeWladimir J. van der Laan
2012-05-09Make it possible to set user interface language from options dialogWladimir J. van der Laan
2012-04-26Make lsn_reset ("detach databases") optional and off by default.Pieter Wuille
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.
2012-04-17Add missing breaks in optionmodel's switch casePieter Wuille
2012-04-17Move CWalletDB code to new walletdb module.Jeff Garzik
In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
2012-04-17Remove headers.hPieter Wuille
2012-02-26Store addrProxy port in settingsPieter Wuille
2012-02-26Reworked QT settingsGavin Andresen
2012-02-25Fix addrProxy settingPieter Wuille
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.
2012-01-17Remove erroneous ":" in front of port in options dialog (introduced with ↵Wladimir J. van der Laan
network refactor)
2012-01-17fix the build (port IP validation in options to network refactoring)Wladimir J. van der Laan
2012-01-06Network stack refactorPieter Wuille
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.
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-20Merge pull request #717 from TheBlueMatt/installerqtupgradeGavin Andresen
Implement "Start on window system startup" on Win32 + Linux.
2011-12-20Implement "Start on window system startup" on Win32 + Linux.Matt Corallo
2011-12-19Use std::numeric_limits<> for typesafe INT_MAX/etcGavin Andresen
2011-08-07don't include <QDebug>Wladimir J. van der Laan
2011-07-30Hide addresses in transaction overview by default, they can be re-shown as a ↵Wladimir J. van der Laan
configuration option
2011-07-29Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan
(used when displaying amounts)
2011-07-26allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan
using a combobox
2011-06-26update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan
2011-06-18remove commented code, use // for one-line comments and comments inside ↵Wladimir J. van der Laan
functions
2011-06-11move back to original directory structureWladimir J. van der Laan