aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-1/+1
|
* Add sortable sent/recv bytes to Peers debug tablechromatic2021-06-081-0/+4
| | | | See GH #2240.
* Fix typospracticalswift2017-01-291-1/+1
|
* [qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64)practicalswift2017-01-131-1/+1
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* [Qt] Show ModalOverlay by pressing the progress bar, disabled show() in sync ↵Jonas Schnelli2016-12-051-15/+28
| | | | mode
* qt: Replace NetworkToggleStatusBarControl with generic ClickableLabelWladimir J. van der Laan2016-11-241-0/+14
| | | | | | Generalize the clickable label functionality. We will use this to add similar functionality to the sync icon.
* qt: Plug many memory leaksWladimir J. van der Laan2016-11-231-1/+1
| | | | | | | | | None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead.
* Multiple Selection for peer and ban tablesAndrew Chow2016-11-081-2/+1
| | | | Allows multiple selection and action for the nodes in the peer and ban tables in the Debug Window.
* Merge #8371: [Qt] Add out-of-sync modal info layerJonas Schnelli2016-09-231-0/+2
|\ | | | | | | | | | | | | | | | | | | 08827df [Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul (Jonas Schnelli) d8b062e [Qt] only update "amount of blocks left" when the header chain is in-sync (Jonas Schnelli) e3245b4 [Qt] add out-of-sync modal info layer (Jonas Schnelli) e47052f [Qt] ClientModel add method to get the height of the header chain (Jonas Schnelli) a001f18 [Qt] Always pass the numBlocksChanged signal for headers tip changed (Jonas Schnelli) bd44a04 [Qt] make Out-Of-Sync warning icon clickable (Jonas Schnelli) 0904c3c [Refactor] refactor function that forms human readable text out of a timeoffset (Jonas Schnelli)
| * [Refactor] refactor function that forms human readable text out of a timeoffsetJonas Schnelli2016-08-261-0/+2
| |
* | gui: add NodeID to the peer tableCory Fields2016-09-081-1/+1
|/
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* [qt] Use fixed pitch font for the rpc consoleMarcoFalke2015-10-291-2/+2
| | | | | | Also: * Preserve white space * Make fixed font as large as default font
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-1/+1
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* [Qt] disconnect peers from peers tab via context menuPhilip Kaufmann2015-06-021-1/+9
| | | | | - It is now allowed to disconnect peers from peers tab via right-click context menu. Peers are not permanently banned!
* qt: fonts: allow SubstituteFonts to filter based on user's languageCory Fields2015-01-161-1/+1
| | | | | SubstituteFonts() has been moved to after app identification so that QSettings are accessible.
* Merge pull request #5476Wladimir J. van der Laan2015-01-021-1/+4
|\ | | | | | | | | 73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
| * Display time offset in the debug window's Peers tabPavel Janík2014-12-151-1/+4
| |
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* | Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|/
* [Qt, OSX] fix Qt4.8 compatibility with QProgressBar issueJonas Schnelli2014-11-241-1/+1
| | | | | Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8 Github-Issue: #5344
* [Qt, OSX] move QProgressBarMac to guiutil.hJonas Schnelli2014-11-191-0/+17
|
* Fix all header definesPavel Janík2014-11-031-3/+3
|
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-1/+3
|
* 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