aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
AgeCommit message (Collapse)Author
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
2012-04-11Toggle main window hide on tray icon clicksje397
- converted openBictoinAction to toggleHideAction - put GUIUtil functions into a namespace instead of a class - put window-related functions together in optionsdialog Reasoning: - toggle is more typical behaviour - it's more functional - better UX The typical issue with toggling visibility is that when a window is obscured by other windows but in the 'shown' state, hiding it isn't what you want. I've added an 'isObscured' function to GUIUtil that checks several pixels in the window to see if they are visible on the desktop so that an obscured but shown window can be raised. Conflicts: src/qt/guiutil.cpp src/qt/guiutil.h
2012-04-06Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr
2012-04-04Code deduplication: make function in GUIUtil to get connection type to call ↵Wladimir J. van der Laan
object slot in GUI thread with invokeMethod.
2012-02-22Merge branch '201202_guiaddsuffix' of https://github.com/laanwj/bitcoinGavin Andresen
2012-02-17Restructure IPC URL handling (fixes #851)Wladimir J. van der Laan
2012-02-15fix default suffixes in save dialog in GNOME, make it more clear that PNG is ↵Wladimir J. van der Laan
used (solves #833)
2012-02-10Add -req prefixes to comply with BIP21.Matt Corallo
2011-12-23Copy amount to clipboard (implements #657)Wladimir J. van der Laan
- Also, unify similar code related to copying transaction fields to clipboard
2011-12-23Move HtmlEscape (escape for qt rich text controls) to qt gui utilitiesWladimir J. van der Laan
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-08-08QtUI code cleanup / comment improvementsWladimir J. van der Laan
2011-08-07add TODOs in parseBitcoinURLWladimir J. van der Laan
2011-08-07allow empty/missing amounts in URLWladimir J. van der Laan
2011-08-07Accept "bitcoin:" URL drops from browsersWladimir J. van der Laan
2011-08-03show last few transactions on overview pageWladimir J. van der Laan
2011-07-25preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan
2011-07-03windows build fixesWladimir J. van der Laan
2011-06-29Implement filter row instead of tabs, allows for more expressive filtersWladimir J. van der Laan
2011-06-25compile fixes by UnthinkingbitWladimir J. van der Laan
2011-06-11move back to original directory structureWladimir J. van der Laan