aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
Commit message (Collapse)AuthorAgeFilesLines
* qt: Use quint64 for formatServicesStrWladimir J. van der Laan2014-08-181-1/+1
| | | | | `uint64_t` was causing a build error on some systems, as that type is not known after including just the Qt headers.
* [Qt] move SubstituteFonts() above ToolTipToRichTextFilterPhilip Kaufmann2014-08-081-4/+3
| | | | - doesn't belong to the ToolTipToRichTextFilter class so move it up
* qt: fix unicode character display on osx when building with 10.7 sdkCory Fields2014-08-071-0/+4
|
* [Qt] tweak new peers tab in console windowPhilip Kaufmann2014-08-041-0/+3
| | | | | | | | | | | | | | | | | | | - remove starting height as table header and replace with ping time - remove columnResizingFixer - add local address (if available) in detailed node view (on top of the right view below the remote address) - remove some .c_str() by using QString::fromStdString() - rename Address to Address/Hostname - rename secs to just s for ping time - use MODEL_UPDATE_DELAY from guiconstants.h for the peer refresh time - make PeerTableModel::columnCount() return no hard-coded value - remove and cleanup dup private: section in RPCConsole header - add new defaults for column sizes - remove behaviour which keeps disconnected peers selected and also remove code which keeps track of last selected peer stats - add sync height to detail view - add some additional NULL pointer checks for clientModel in rpcconsole.cpp
* [Qt] style police and small addition in rpcconsolePhilip Kaufmann2014-06-031-1/+0
| | | | - fix spaces, indentation and coding style glitches
* Qt: Add GUI view of peer information. #4133Ashley Holman2014-06-031-0/+6
|
* [Qt] fix style, formating, comment and indentation problemsPhilip Kaufmann2014-03-271-24/+25
| | | | - introduced by #3920
* qt: Do proper boost::path conversionWladimir J. van der Laan2014-03-251-0/+8
| | | | | | | Convert from QString unicode from/to the OS-dependent locale as used by boost::filesystem::path as needed. Solves #3916.
* [QT] Fixes feel when resizing the last column on tables (issue #2862)gubatron2014-03-211-0/+40
| | | | | | | | | Re-submitting this pull request with a single commit. This patch introduces a GUIUtil class that is used when setting up the 2 tables we have so far on the Qt-GUI. In the past you could only resize the last column, which has BTC amounts from the right border of the column header, something that was rather unnatural. If a new table were ever to be added to the interface, fixing the last columns resizing behavior is rather simple. Just look at how we initialize here a TableViewLastColumnResizingFixer object when setting up the table header's behavior, and then how we override the resize event of the component (can be the table, or the dialog) and we invoke columnResizingFixer->stretchColumnWidth(columnIndex);
* [Qt] extend validate line edit and btc address validatorPhilip Kaufmann2014-01-291-1/+2
| | | | | | | | | | | | | - 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
* [Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann2014-01-181-20/+0
| | | | | | | - 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
* Coin Control FeaturesCozz Lovan2013-11-141-0/+2
|
* [Qt] remove GUIUtil::getSaveFileName() default argumentsPhilip Kaufmann2013-11-111-3/+3
| | | | | - harmonize function with GUIUtil::getOpenFileName() - also make PNG Image singular (grammar)
* qt: add Open URI dialogWladimir J. van der Laan2013-11-111-1/+13
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+5
| | | | | | | | | 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
* qt: move bitcoin URI formatting to guiutilWladimir J. van der Laan2013-10-231-0/+1
| | | | Follow the same pattern as the parseBitcoinURI function.
* Reject dust amounts during validationGavin Andresen2013-08-221-0/+3
| | | | | | 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.
* Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann2013-07-291-0/+5
| | | | | | - 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
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-1/+2
| | | | | | | - 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
* Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-1/+1
|
* Typofanquake2012-07-231-1/+1
|
* Show command line options as dialog when opened from debug windowWladimir J. van der Laan2012-06-141-1/+5
| | | | | | 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.
* move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin ↵Philip Kaufmann2012-06-011-0/+18
| | | | 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
* 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-0/+3
|
* guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ↵Philip Kaufmann2012-05-111-2/+2
| | | | ToolTipToRichTextFilter explicit
* add code to open (display) debug.log on Windows with the associated ↵Philip Kaufmann2012-05-111-0/+3
| | | | application and add a button to the Information page in the Debug console
* Allow Qt to wrap long tooltips (fixes #1063)Wladimir J. van der Laan2012-05-051-0/+18
| | | | 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.
* Toggle main window hide on tray icon clicksje3972012-04-111-17/+18
| | | | | | | | | | | | | | | | | | | | | | - 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
* Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr2012-04-061-4/+4
|
* Code deduplication: make function in GUIUtil to get connection type to call ↵Wladimir J. van der Laan2012-04-041-0/+8
| | | | | | object slot in GUI thread with invokeMethod.
* Merge branch '201202_guiaddsuffix' of https://github.com/laanwj/bitcoinGavin Andresen2012-02-221-0/+14
|\
| * fix default suffixes in save dialog in GNOME, make it more clear that PNG is ↵Wladimir J. van der Laan2012-02-151-0/+14
| | | | | | | | used (solves #833)
* | Restructure IPC URL handling (fixes #851)Wladimir J. van der Laan2012-02-171-1/+2
|/
* Copy amount to clipboard (implements #657)Wladimir J. van der Laan2011-12-231-0/+10
| | | | - Also, unify similar code related to copying transaction fields to clipboard
* Move HtmlEscape (escape for qt rich text controls) to qt gui utilitiesWladimir J. van der Laan2011-12-231-0/+4
|
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-1/+0
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
* Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr2011-12-201-0/+1
|
* Improve documentation for UI classesWladimir J. van der Laan2011-11-131-0/+2
|
* QtUI code cleanup / comment improvementsWladimir J. van der Laan2011-08-081-2/+2
|
* allow empty/missing amounts in URLWladimir J. van der Laan2011-08-071-0/+1
|
* Accept "bitcoin:" URL drops from browsersWladimir J. van der Laan2011-08-071-1/+7
|
* show last few transactions on overview pageWladimir J. van der Laan2011-08-031-0/+2
|
* preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan2011-07-251-6/+0
|
* Implement filter row instead of tabs, allows for more expressive filtersWladimir J. van der Laan2011-06-291-1/+7
|
* move back to original directory structureWladimir J. van der Laan2011-06-111-0/+25