aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
AgeCommit message (Collapse)Author
2014-01-29[Qt] extend validate line edit and btc address validatorPhilip Kaufmann
- remove btc address length from address validator - add an optional btc address check in validated line edit that defaults to off and is used in GUIUtil::setupAddressWidget() - an isAcceptable() check is added to validated line edit on focus out which only kicks in, when a validator is used with that widget - remove an isAcceptable() check from sendcoinsentry.cpp - remove obsolete attributes from ui files, which are set by calling GUIUtil::setupAddressWidget() - move some more things to GUIUtil::setupAddressWidget() and remove them from normal code e.g. placeholder text
2014-01-28[Qt] fix bitcoin: URI strings (spelling fixes)Philip Kaufmann
2014-01-23qt: Fix richtext detection hang issue on very old Qt versionsWladimir J. van der Laan
Alternative implementation. Thanks to @awoland for the original. Fixes #3486.
2014-01-18[Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann
- adds a nice and well formated dialog, which displays our -? help message (all options/paramaters) - moves aboutdialog.cpp/h to the new utilitydialog - move GUI shutdown window to utilitydialog
2013-12-16some more small re-branding changes (Bitcoin Core)Philip Kaufmann
2013-12-13Rebrand to `Bitcoin Core`Wladimir J. van der Laan
Only messages for now, executable names and other file names can be changed later if necessary and safe. Do not do an all-sweeping change. Some occurences of Bitcoin-Qt need to be kept: - Applicationname: this is used to determine the registry entry names, we don't want to lose settings over a silly name change. - Where it refers to the executable name instead of the product name.
2013-12-03[Qt] small notificator and style changesPhilip Kaufmann
- remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
2013-11-16[Qt] use GUIUtil::setClipboard() where possiblePhilip Kaufmann
2013-11-14Coin Control FeaturesCozz Lovan
2013-11-12qt: make URI scheme comparison case insensitiveWladimir J. van der Laan
Fixes ancient issue #1460.
2013-11-11qt: add Open URI dialogWladimir J. van der Laan
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-26GUIUtil: make getSaveFileName() use native OS path separatorsPhilip Kaufmann
2013-10-23qt: move bitcoin URI formatting to guiutilWladimir J. van der Laan
Follow the same pattern as the parseBitcoinURI function.
2013-10-23qt: add message field to SendCoinsRecipientWladimir J. van der Laan
Also update URI parsing to fill in this field. Note that the message is not currently used in any way with the client. It should be stored with the transaction.
2013-10-21Add separate bitcoin-rpc clientWladimir J. van der Laan
This adds an executable `bitcoin-rpc` that only serves as a Bitcoin RPC client. The commit does not remove RPC functionality from the `bitcoind` yet, this functionality should be deprecated but is left for a later version to give users some time to switch.
2013-08-22Reject dust amounts during validationGavin Andresen
Replaces the validation check for "amount == 0" with an isDust check, so very small output amounts are caught before the wallet is unlocked, a transaction is created, etc.
2013-08-05Merge pull request #2827 from Diapolo/rpccon_winposGavin Andresen
Bitcoin-Qt: save and restore position of debug window
2013-07-31Remove #define loop from util.hGavin Andresen
Replace the loop macro with while (true). The #define caused problems for Qt.
2013-07-29Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann
- move the code for saving and restoring window positions from BitcoinGUI to GUIUtil, make it more generic and also use it for saving/restoring debug window positions
2013-07-23Bitcoin-Qt: fix QApplication includes to match our include defaultsPhilip Kaufmann
- move all QApplication includes to top of included Qt headers - undef our loop macro where it would cause compilation errors otherwise
2013-06-16qt: allow user to choose data directoryWladimir J. van der Laan
This adds an introduction screen that is shown when the client is first started in which the user can choose a data directory. It is also possible to force the intro screen to appear using command line argument `-choosedatadir`. The user is warned that the client will download and store 10Gb of data. The intro screen shows how much space is available on the device that contains the chosen directory and warns if this is less than the 10Gb. To make it possible to translate the introduction dialog, the initialization sequence is changed so that translations are loaded before the data directory. This has the by-effect that it is no longer possible to specify a language in bitcoin.conf inside the data directory.
2013-06-03Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch> Conflicts: bitcoin-qt.pro
2013-06-03MaxOSX: settings fixes (#2371)Jonas Schnelli
- Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-06-01Qt5 compatibilityWladimir J. van der Laan
This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <phil.kaufmann@t-online.de> - Jonas Schnelli <jonas.schnelli@include7.ch>
2013-04-02Bitcoin-Qt: only use qApp for Q(Core)Application::instance()Philip Kaufmann
2013-04-02Bitcoin-Qt: fix copy via context-menu brokenPhilip Kaufmann
- as QClipboard::Selection isn't available on Windows ensure that the correct mode is called, but sill allow selection for e.g. X11 - start conversion from QCoreApplication::instance() to qApp in guiutil.cpp (I intend to harmonize this all over the source with my Qt5 compatibility pull)
2013-03-29Merge pull request #2350 from DavidGriffith/masterWladimir J. van der Laan
Also copy the address to the X11 clipboard (the one you middle-click to paste)
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-03-09Also copy the address to the X11 clipboard (the one you middle-click to paste)David Griffith
2013-01-21Bitcoin-Qt: extend parseBitcoinURI() pre-checkPhilip Kaufmann
- add check to verify if an URI is valid
2012-10-04Send --help message to stdout i.s.o stderrWladimir J. van der Laan
This allows fun stuff such as `bitcoin --help | less`, and more easy piping to files. Looking at other tools such as bash, gcc, they all send their help text to stdout.
2012-08-07Fix Qt test cases by moving address checks to parseBitcoinURIMatt Corallo
Makes sense in case bitcoin URIs eventually allow invalid addresses as a part of some larger future payment scheme.
2012-08-02fix further spelling errors / remove a tab in the sourcePhilip Kaufmann
2012-08-01Bugfix: Fix a variety of misspellingsLuke Dashjr
2012-07-19Update a linkfanquake
2012-06-14Show command line options as dialog when opened from debug windowWladimir J. van der Laan
On Linux/Mac the command-line options were printed to stderr when the button was pressed in the debug window, resulting in confusion. This is fixed in this commit by adding a separate method.
2012-06-14URI-handling code update: added safety checks and tray-notificationsPhilip Kaufmann
2012-06-12Cross-platform "Open debug logfile"Wladimir J. van der Laan
The option to open the debug logfile from the debug window was implemented only for windows. By using `QDesktopServices::openUrl` it now works on any platform.
2012-06-09Fix Mingw64 build (missing headers according to M$ documentation)Matt Corallo
2012-06-01move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin ↵Philip Kaufmann
command-line options (in RPC Console -> Information) / resize Debug window a little to allow for a non-breaking display of the welcome message with non-english translation
2012-05-13Merge pull request #1283 from laanwj/2012_05_prevent_tooltip_infiniteloopWladimir J. van der Laan
Prevent tooltip filter from ever causing infinite loops
2012-05-13Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI codeWladimir J. van der Laan
2012-05-13Prevent tooltip filter from ever causing infinite loopsWladimir J. van der Laan
2012-05-11Add missing #include for GetDataDirWladimir J. van der Laan
2012-05-11guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ↵Philip Kaufmann
ToolTipToRichTextFilter explicit
2012-05-11add code to open (display) debug.log on Windows with the associated ↵Philip Kaufmann
application and add a button to the Information page in the Debug console
2012-05-05Allow Qt to wrap long tooltips (fixes #1063)Wladimir J. van der Laan
Implemented without having to touch any translation: by listening for QEvent::ToolTipChange events, then rewriting the tooltips to prefix `<qt/>` if it is not yet rich text.
2012-04-17Remove headers.hPieter Wuille