diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 7bf1a546..fe4f69af 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -208,7 +208,6 @@ SOURCES += \ utils/parsearg.cpp \ widgets/coloredit.cpp \ widgets/compileargumentswidget.cpp \ - widgets/consolewidget.cpp \ widgets/customdisablediconengine.cpp \ widgets/customfilesystemmodel.cpp \ widgets/custommakefileinfodialog.cpp \ @@ -342,7 +341,6 @@ HEADERS += \ common.h \ widgets/coloredit.h \ widgets/compileargumentswidget.h \ - widgets/consolewidget.h \ widgets/customdisablediconengine.h \ widgets/customfilesystemmodel.h \ widgets/custommakefileinfodialog.h \ diff --git a/RedPandaIDE/debugger/debugger.cpp b/RedPandaIDE/debugger/debugger.cpp index fa4a26e9..ec5bc59f 100644 --- a/RedPandaIDE/debugger/debugger.cpp +++ b/RedPandaIDE/debugger/debugger.cpp @@ -997,7 +997,7 @@ void Debugger::syncFinishedParsing() for (const QString& line:mClient->fullOutput()) { pMainWindow->addDebugOutput(line); } - pMainWindow->addDebugOutput("(gdb)"); + //pMainWindow->addDebugOutput("(gdb)"); } else { // if (mClient->currentCmd() && mClient->currentCmd()->command == "disas") { diff --git a/RedPandaIDE/widgets/consolewidget.cpp b/RedPandaIDE/widgets/consolewidget.cpp deleted file mode 100644 index e2c3f0fe..00000000 --- a/RedPandaIDE/widgets/consolewidget.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include "consolewidget.h" - -ConsoleWidget::ConsoleWidget(QWidget *parent):QTextEdit(parent) -{ - -} diff --git a/RedPandaIDE/widgets/consolewidget.h b/RedPandaIDE/widgets/consolewidget.h deleted file mode 100644 index 0983e4d6..00000000 --- a/RedPandaIDE/widgets/consolewidget.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef CONSOLEWIDGET_H -#define CONSOLEWIDGET_H - -#include - -class ConsoleWidget : public QTextEdit -{ - Q_OBJECT -public: - explicit ConsoleWidget(QWidget* parent = nullptr); -private: - QString mCurrentCommand; - QStringList mCommandHistory; - int mHistoryIndex; - int mHistorySize; - QString mPrompt; -}; - -#endif // CONSOLEWIDGET_H