forked from qt-creator/qt-creator
SerialTerminal: Some style fixes
Change-Id: I7415b613493540b250e1e5fba792a76c8e2d6b30 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
8deb1f3b4f
commit
295fb99cc6
@@ -305,7 +305,7 @@ void SerialOutputPane::createNewOutputWindow(SerialControl *rc)
|
|||||||
static int counter = 0;
|
static int counter = 0;
|
||||||
Core::Id contextId = Core::Id(Constants::C_SERIAL_OUTPUT).withSuffix(counter++);
|
Core::Id contextId = Core::Id(Constants::C_SERIAL_OUTPUT).withSuffix(counter++);
|
||||||
Core::Context context(contextId);
|
Core::Context context(contextId);
|
||||||
Core::OutputWindow *ow = new Core::OutputWindow(context, QString(), m_tabWidget);
|
auto ow = new Core::OutputWindow(context, QString(), m_tabWidget);
|
||||||
using TextEditor::TextEditorSettings;
|
using TextEditor::TextEditorSettings;
|
||||||
auto fontSettingsChanged = [ow] {
|
auto fontSettingsChanged = [ow] {
|
||||||
ow->setBaseFont(TextEditorSettings::fontSettings().font());
|
ow->setBaseFont(TextEditorSettings::fontSettings().font());
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QToolButton;
|
|
||||||
class QButtonGroup;
|
|
||||||
class QAbstractButton;
|
class QAbstractButton;
|
||||||
|
class QButtonGroup;
|
||||||
class QComboBox;
|
class QComboBox;
|
||||||
|
class QToolButton;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace Core { class OutputWindow; }
|
namespace Core { class OutputWindow; }
|
||||||
@@ -47,10 +47,10 @@ namespace Core { class OutputWindow; }
|
|||||||
namespace SerialTerminal {
|
namespace SerialTerminal {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class SerialControl;
|
|
||||||
class TabWidget;
|
|
||||||
class ComboBox;
|
class ComboBox;
|
||||||
class ConsoleLineEdit;
|
class ConsoleLineEdit;
|
||||||
|
class SerialControl;
|
||||||
|
class TabWidget;
|
||||||
|
|
||||||
class SerialOutputPane : public Core::IOutputPane
|
class SerialOutputPane : public Core::IOutputPane
|
||||||
{
|
{
|
||||||
@@ -146,7 +146,6 @@ private:
|
|||||||
|
|
||||||
void updateCloseActions();
|
void updateCloseActions();
|
||||||
|
|
||||||
|
|
||||||
std::unique_ptr<QWidget> m_mainWidget;
|
std::unique_ptr<QWidget> m_mainWidget;
|
||||||
ConsoleLineEdit *m_inputLine = nullptr;
|
ConsoleLineEdit *m_inputLine = nullptr;
|
||||||
QComboBox *m_lineEndingsSelection = nullptr;
|
QComboBox *m_lineEndingsSelection = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user