aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/serialterminal
Commit message (Collapse)AuthorAgeFilesLines
* Core/Utils: Migrate further to Utils::Idhjk2020-07-061-1/+1
| | | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 (cherry picked from commit 430a33dcd9ac80ddb848e41f8f059102857c88aa) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Output panes: Do not allocate extra standard formattersChristian Kandeler2020-03-203-11/+3
| | | | | | | | The OutputWindow base class has a functioning default formatter these days. Change-Id: I0a75d0a081cdd2cfdd913388419483df836a53e9 Reviewed-by: hjk <hjk@qt.io>
* Remove the limitation that output formatters have to be exclusiveChristian Kandeler2020-03-201-1/+1
| | | | | | | | | | | | Introduce an aggregating output formatter that forwards its input to a sub-formatter that feels responsible for it, or otherwise lets the base class handle it. Our output panes now use such an aggregating formatter. In particular, this means that in the future, we won't have to stuff all run control output formatting into the Qt output formatter anymore. Change-Id: I5498f200a61db10ccff3ec8974c6825da7f7072d Reviewed-by: hjk <hjk@qt.io>
* Provide an empty default IPlugin::extensionsInitialized()hjk2020-02-072-5/+0
| | | | | | | And remove all empy re-implementations. Change-Id: I19f0b4e55c042c96693ecb89766f97f0a97b54ae Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Add a non-toolbar variant of the "RELOAD" iconAlessandro Portale2020-02-071-1/+1
| | | | | | | | New icon is: Utils::Icons::RELOAD. And the toolbar variant is now Utils::Icons::RELOAD_TOOLBAR. Change-Id: I811d83c7340a717968430ac1ce4a5c708c8ddcf9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Deduplicate calls for obtaining model indexOrgad Shaneh2020-01-031-2/+4
| | | | | Change-Id: I799742a06ce592ab935ee0609d5930a7d26a44e1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* SerialTerminal: Some style fixesAndre Hartmann2019-09-112-7/+6
| | | | | Change-Id: I7415b613493540b250e1e5fba792a76c8e2d6b30 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* SerialTerminal: Fix sign conversion warningAndre Hartmann2019-09-111-1/+1
| | | | | Change-Id: I503f9e9d556aa58807b552d0696fcd311ec5cf79 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Remove usages of deprecated APIs of QLayoutSona Kurazyan2019-09-021-2/+2
| | | | | | | | | | Replaced: QLayout::setMargin() -> QLayout::setContentsMargins() QLayout::margin() -> QLayout::getContentsMargins() Task-number: QTBUG-76491 Change-Id: If28ef6910b3afe5d04e4746b74f9362a3e3b3c8e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qt Creator CMake portCristian Adam2019-05-171-0/+13
| | | | | | | | | | | | | | Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove a couple of "setAutoRaise(true)" for toolbar buttonsAlessandro Portale2019-04-291-4/+0
| | | | | | | | | Most of the QToolButtons in the toolbars don't set autoRaise, and they are fine. I assume that those who do set it, just do it for because that line was copy/pasted so often. Change-Id: I71341ddbd26a586d34713661ec538b37033685e5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* IOutputPane: Refactor zoom function into base classAndre Hartmann2019-04-161-1/+1
| | | | | | | | | Try to make zoom and font handling in the panes more similar and put common stuff into IOutputPane. Change-Id: I59c38c5eecbf67b7ca6c9d84a6f61b1292a787df Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Replace static_casts by QOverload where possiblehjk2019-02-261-3/+3
| | | | | | | | | Mainly to get rid of the QProcess::finished deprecation warning. Also adjust coding style in the surrounding connects when needed. Change-Id: I12f9b248c7974b892c4a069356e578e80f8c59e9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SerialTerminal: ModernizeAlessandro Portale2018-11-256-25/+27
| | | | | | | modernize-* Change-Id: If7b19d7c560ecda5f6e519d88b7eab46d4eabccf Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.8'Eike Ziller2018-11-198-2/+45
|\ | | | | | | | | | | | | Conflicts: src/plugins/winrt/winrtdevicefactory.cpp Change-Id: I33b8697e2ebf2bea051d7f1144449e0743ee16a5
| * SerialTerminal: Use monospace fontOrgad Shaneh2018-11-163-1/+13
| | | | | | | | | | | | | | Change-Id: Iea42d55c348959adf57936fe0141c5bd5673efbd Reviewed-by: Benjamin Balga <balga.benjamin@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
| * SerialTerminal: Save and restore selected port nameOrgad Shaneh2018-11-166-1/+26
| | | | | | | | | | | | | | | | + Populate serial ports on startup. Change-Id: Ie7216bb09ba1ffbb0036019cb4974a14119fc55f Reviewed-by: Benjamin Balga <balga.benjamin@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
| * SerialTerminal: Apply line ending to current paneBenjamin Balga2018-11-161-0/+5
| | | | | | | | | | | | Change-Id: Ib9365ace637d7e7c44347c7319315717a5f8b9b6 Reviewed-by: Benjamin Balga <balga.benjamin@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
| * SerialTerminal: Select text in input line after each commandOrgad Shaneh2018-11-121-0/+1
| | | | | | | | | | | | | | | | Makes it easier to type a different command. Change-Id: Ica152575f2f5130a8f2da75379403841aba89176 Reviewed-by: Benjamin Balga <balga.benjamin@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* | SerialTerminal: Show error string on connection failureOrgad Shaneh2018-11-121-2/+5
|/ | | | | | Change-Id: Ie951d9598358ef87ea50d6b748b1a88d3ba5431d Reviewed-by: Benjamin Balga <balga.benjamin@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Avoid enabling all message types by defaultChristian Stenger2018-11-062-2/+2
| | | | | | | | | | | Passing no QtMsgType parameter ends up in enabling all message types by default. Follow the common pattern of only enabling the warnings by default. Change-Id: Ic7ec0420089c95f716a86feb9791d9cb13f4dd90 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove a few redundant occurrences of 'virtual' and 'override'Alessandro Portale2018-06-181-2/+2
| | | | | | | | | | | warning: 'virtual' is redundant since the function is already declared 'override' [modernize-use-override] warning: 'override' is redundant since the function is already declared 'final' [modernize-use-override] Change-Id: I9036a0dc88ed70c4f6e37b916bb24ff65074863d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove some obsolete code inside QT_VERSION_CHECK sectionsAlessandro Portale2018-04-271-7/+0
| | | | | | | With Qt 5.9 as minimal build version, we don't need to handle 5.7 or 5.8 Change-Id: Ie1eed95ab46364452b0633f78bebc565a4a63f4a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Purge asConstOrgad Shaneh2018-04-091-3/+1
| | | | | | | | Replace by qAsConst. Change-Id: I3301366f73c066c86f08df7188d70dc3b613c55c Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Fix build with namespaced QtChristian Stenger2018-03-141-0/+2
| | | | | Change-Id: If5675920a5e4020a8a21e103eed6613475f709b5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* SerialTerminal: Add qbs project fileChristian Kandeler2018-01-311-0/+26
| | | | | Change-Id: Ic9b65d09424f0f28f58181d3da526127800c4d45 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SerialTerminal: Fix compile for Qt less than 5.8Christian Stenger2018-01-311-1/+6
| | | | | Change-Id: Icaa48d92d75bdd669bc6e4184568bfcf92cc768c Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Plugins: new serial terminal pluginBenjamin Balga2018-01-3016-0/+2100
Plugin adding serial terminals in the output pane. Change-Id: I75d0f69f8d90268ff774e4eae30e36eda022d3aa Reviewed-by: hjk <hjk@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>