remove watch and debug

This commit is contained in:
rabix 2024-09-30 17:11:54 +08:00
parent 78dee1a5c1
commit 1205beec8e
6 changed files with 134 additions and 3339 deletions

View File

@ -5209,6 +5209,7 @@ int Editor::gutterClickedLine() const
void Editor::toggleBreakpoint(int line)
{
return;
if (hasBreakpoint(line)) {
mBreakpointLines.remove(line);
if (inTab())
@ -5225,6 +5226,7 @@ void Editor::toggleBreakpoint(int line)
void Editor::clearBreakpoints()
{
return;
pMainWindow->debugger()->deleteBreakpoints(this);
mBreakpointLines.clear();
invalidate();
@ -5232,6 +5234,7 @@ void Editor::clearBreakpoints()
bool Editor::hasBreakpoint(int line)
{
return false;
return mBreakpointLines.contains(line);
}

View File

@ -1137,6 +1137,9 @@ void MainWindow::applyUISettings()
ui->tabMessages->setShrinkedFlag(true);
if (settings.shrinkExplorerTabs())
ui->tabExplorer->setShrinkedFlag(true);
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
QFileSystemWatcher *MainWindow::fileSystemWatcher()
@ -2736,6 +2739,7 @@ void MainWindow::stretchExplorerPanel(bool open)
void MainWindow::prepareDebugger()
{
return;
mDebugger->stop();
// Clear logs
@ -2749,9 +2753,9 @@ void MainWindow::prepareDebugger()
mDebugger->setLeftPageIndexBackup(ui->tabExplorer->currentIndex());
// Focus on the debugging buttons
ui->tabExplorer->setCurrentWidget(ui->tabWatch);
ui->tabMessages->setCurrentWidget(ui->tabDebug);
ui->debugViews->setCurrentWidget(ui->tabLocals);
//ui->tabExplorer->setCurrentWidget(ui->tabWatch);
//ui->tabMessages->setCurrentWidget(ui->tabDebug);
//ui->debugViews->setCurrentWidget(ui->tabLocals);
stretchMessagesPanel(true);
stretchExplorerPanel(true);
@ -5004,6 +5008,7 @@ void MainWindow::onProjectRenameUnit()
void MainWindow::onBreakpointRemove()
{
return;
int index =ui->tblBreakpoints->selectionModel()->currentIndex().row();
PBreakpoint breakpoint = debugger()->breakpointModel()->breakpoint(index, debugger()->isForProject());
@ -5640,7 +5645,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
settings.setShowToolWindowBars(ui->actionTool_Window_Bars->isChecked());
settings.setShowProject(ui->actionProject->isChecked());
settings.setShowWatch(ui->actionWatch->isChecked());
settings.setShowWatch(false);
settings.setShowStructure(ui->actionStructure->isChecked());
settings.setShowFiles(ui->actionFiles->isChecked());
settings.setShowProblemSet(ui->actionProblem_Set->isChecked());
@ -5756,6 +5761,9 @@ void MainWindow::showEvent(QShowEvent *)
ui->tabMessages->setCurrentIndex(settings.bottomPanelIndex());
ui->tabExplorer->setCurrentIndex(settings.leftPanelIndex());
ui->debugViews->setCurrentIndex(settings.debugPanelIndex());
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
void MainWindow::hideEvent(QHideEvent *)
@ -6481,6 +6489,7 @@ void MainWindow::on_actionContinue_triggered()
void MainWindow::on_actionAdd_Watch_triggered()
{
return;
QString s = "";
Editor *e = mEditorList->getEditor();
if (e!=nullptr) {
@ -6705,6 +6714,7 @@ void MainWindow::on_btnSearchAgain_clicked()
void MainWindow::on_actionRemove_Watch_triggered()
{
return;
QModelIndexList lst=ui->watchView->selectionModel()->selectedRows();
if (lst.count()<=1) {
QModelIndex index =ui->watchView->currentIndex();
@ -6737,12 +6747,14 @@ void MainWindow::on_actionRemove_Watch_triggered()
void MainWindow::on_actionRemove_All_Watches_triggered()
{
return;
mDebugger->removeWatchVars(true);
}
void MainWindow::on_actionModify_Watch_triggered()
{
return;
QModelIndexList lst=ui->watchView->selectionModel()->selectedRows();
if (lst.count()<=1) {
QModelIndex index =ui->watchView->currentIndex();
@ -6874,6 +6886,7 @@ void MainWindow::on_actionPrevious_Editor_triggered()
void MainWindow::on_actionToggle_Breakpoint_triggered()
{
return;
Editor * editor = mEditorList->getEditor();
if (editor)
editor->toggleBreakpoint(editor->caretY());
@ -6882,6 +6895,7 @@ void MainWindow::on_actionToggle_Breakpoint_triggered()
void MainWindow::on_actionClear_all_breakpoints_triggered()
{
return;
Editor *e=mEditorList->getEditor();
if (!e)
return;
@ -7388,6 +7402,7 @@ void MainWindow::showHideInfosTab(QWidget *widget, bool show)
}
ui->tabExplorer->removeTab(idx);
ui->tabWatch->setVisible(false);
}
} else {
if (show && mTabInfosData.contains(widget)) {
@ -7406,8 +7421,11 @@ void MainWindow::showHideInfosTab(QWidget *widget, bool show)
} else {
ui->tabExplorer->addTab(widget, info->icon, info->text);
}
ui->tabWatch->setVisible(false);
}
}
}
void MainWindow::showHideMessagesTab(QWidget *widget, bool show)
@ -7464,6 +7482,8 @@ void MainWindow::prepareTabInfosData()
info->icon = ui->tabExplorer->tabIcon(i);
mTabInfosData[widget]=info;
}
ui->tabWatch->setVisible(false);
}
void MainWindow::prepareTabMessagesData()
@ -8838,6 +8858,7 @@ QList<QAction *> MainWindow::listShortCutableActions()
void MainWindow::switchCurrentStackTrace(int idx)
{
return;
PTrace trace = mDebugger->backtraceModel()->backtrace(idx);
if (trace) {
Editor *e = openFile(trace->filename);
@ -8877,6 +8898,9 @@ void MainWindow::on_actionTool_Window_Bars_triggered()
ui->tabExplorer->setVisible(state);
ui->tabMessages->setVisible(state);
ui->actionTool_Window_Bars->setChecked(state);
ui->tabWatch->setVisible(false);
ui->tabDebug->setVisible(false);
ui->tabDebugConsole->setVisible(false);
}
void MainWindow::on_actionStatus_Bar_triggered()

View File

@ -1604,7 +1604,7 @@
<string>Add Probem Case</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-03Add.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-03Add.svg</iconset>
</property>
</widget>
@ -1618,7 +1618,7 @@
<string>Remove Problem Case</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-04Remove.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-04Remove.svg</iconset>
</property>
</widget>
@ -1632,7 +1632,7 @@
<string>Open Anwser Source File</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg</normaloff>:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg</iconset>
</property>
</widget>
@ -1653,7 +1653,7 @@
<string>Run All Cases</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg</normaloff>:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg</iconset>
</property>
</widget>
@ -1664,7 +1664,7 @@
<string>Problem Cases Validation Options</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</iconset>
</property>
</widget>
@ -1785,7 +1785,7 @@
<string>Choose Input File</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</iconset>
</property>
</widget>
@ -1904,7 +1904,7 @@
<string>Choose Expected Output File</string>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-07Folder.svg</iconset>
</property>
</widget>
@ -1977,7 +1977,7 @@
</widget>
<action name="actionNew">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-01New.svg</normaloff>:/resources/iconsets/newlook/actions/01File-01New.svg</iconset>
</property>
<property name="text">
@ -1992,7 +1992,7 @@
</action>
<action name="actionOpen">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-02Open.svg</normaloff>:/resources/iconsets/newlook/actions/01File-02Open.svg</iconset>
</property>
<property name="text">
@ -2004,7 +2004,7 @@
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-03Save.svg</normaloff>:/resources/iconsets/newlook/actions/01File-03Save.svg</iconset>
</property>
<property name="text">
@ -2016,7 +2016,7 @@
</action>
<action name="actionSaveAs">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-04SaveAs.svg</normaloff>:/resources/iconsets/newlook/actions/01File-04SaveAs.svg</iconset>
</property>
<property name="text">
@ -2031,7 +2031,7 @@
</action>
<action name="actionSaveAll">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/01File-05SaveAll.svg</normaloff>:/resources/iconsets/newlook/actions/01File-05SaveAll.svg</iconset>
</property>
<property name="text">
@ -2043,7 +2043,7 @@
</action>
<action name="actionOptions">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</normaloff>:/resources/iconsets/newlook/actions/00Misc-05Gear.svg</iconset>
</property>
<property name="text">
@ -2052,7 +2052,7 @@
</action>
<action name="actionCompile">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-01Compile.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-01Compile.svg</iconset>
</property>
<property name="text">
@ -2067,7 +2067,7 @@
</action>
<action name="actionRun">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-03Run.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-03Run.svg</iconset>
</property>
<property name="text">
@ -2082,7 +2082,7 @@
</action>
<action name="actionUndo">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-01Undo.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-01Undo.svg</iconset>
</property>
<property name="text">
@ -2094,7 +2094,7 @@
</action>
<action name="actionRedo">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-02Redo.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-02Redo.svg</iconset>
</property>
<property name="text">
@ -2106,7 +2106,7 @@
</action>
<action name="actionCut">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-03Cut.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-03Cut.svg</iconset>
</property>
<property name="text">
@ -2118,7 +2118,7 @@
</action>
<action name="actionCopy">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-04Copy.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-04Copy.svg</iconset>
</property>
<property name="text">
@ -2130,7 +2130,7 @@
</action>
<action name="actionPaste">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-05Paste.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-05Paste.svg</iconset>
</property>
<property name="text">
@ -2150,7 +2150,7 @@
</action>
<action name="actionIndent">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-06Indent.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-06Indent.svg</iconset>
</property>
<property name="text">
@ -2162,7 +2162,7 @@
</action>
<action name="actionUnIndent">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg</normaloff>:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg</iconset>
</property>
<property name="text">
@ -2220,7 +2220,7 @@
</action>
<action name="actionRebuild">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg</iconset>
</property>
<property name="text">
@ -2235,7 +2235,7 @@
</action>
<action name="actionStop_Execution">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-11Stop.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-11Stop.svg</iconset>
</property>
<property name="text">
@ -2246,8 +2246,11 @@
</property>
</action>
<action name="actionDebug">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-06Debug.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-06Debug.svg</iconset>
</property>
<property name="text">
@ -2261,8 +2264,11 @@
</property>
</action>
<action name="actionStep_Over">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-07StepOver.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-07StepOver.svg</iconset>
</property>
<property name="text">
@ -2273,8 +2279,11 @@
</property>
</action>
<action name="actionStep_Into">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-08StepInto.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-08StepInto.svg</iconset>
</property>
<property name="text">
@ -2285,8 +2294,11 @@
</property>
</action>
<action name="actionStep_Out">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-08StepOut.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-08StepOut.svg</iconset>
</property>
<property name="text">
@ -2297,8 +2309,11 @@
</property>
</action>
<action name="actionRun_To_Cursor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg</iconset>
</property>
<property name="text">
@ -2309,8 +2324,11 @@
</property>
</action>
<action name="actionContinue">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-10Continue.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-10Continue.svg</iconset>
</property>
<property name="text">
@ -2321,8 +2339,11 @@
</property>
</action>
<action name="actionAdd_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg</iconset>
</property>
<property name="text">
@ -2380,8 +2401,11 @@
</property>
</action>
<action name="actionRemove_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg</iconset>
</property>
<property name="text">
@ -2389,18 +2413,24 @@
</property>
</action>
<action name="actionRemove_All_Watches">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Remove All Watches</string>
</property>
</action>
<action name="actionModify_Watch">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Modify Watch...</string>
</property>
</action>
<action name="actionReformat_Code">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-05Reformat.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-05Reformat.svg</iconset>
</property>
<property name="text">
@ -2412,7 +2442,7 @@
</action>
<action name="actionBack">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-01Back.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-01Back.svg</iconset>
</property>
<property name="text">
@ -2424,7 +2454,7 @@
</action>
<action name="actionForward">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/04Code-02Forward.svg</normaloff>:/resources/iconsets/newlook/actions/04Code-02Forward.svg</iconset>
</property>
<property name="text">
@ -2640,6 +2670,9 @@
</property>
</action>
<action name="actionEGE_Manual">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>EGE Manual</string>
</property>
@ -2664,7 +2697,7 @@
</action>
<action name="actionRun_Parameters">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-05Options.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-05Options.svg</iconset>
</property>
<property name="text">
@ -2704,6 +2737,9 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Watch</string>
</property>
@ -2752,6 +2788,9 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Debug</string>
</property>
@ -2830,7 +2869,7 @@
</action>
<action name="actionInterrupt">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg</iconset>
</property>
<property name="text">
@ -2926,7 +2965,7 @@
</action>
<action name="actionCompiler_Options">
<property name="icon">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc">
<iconset resource="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc">
<normaloff>:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg</normaloff>:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg</iconset>
</property>
<property name="text">
@ -3057,6 +3096,9 @@
</property>
</action>
<action name="actionAdd_Watchpoint">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Add Watchpoint...</string>
</property>
@ -3276,7 +3318,7 @@
</customwidget>
</customwidgets>
<resources>
<include location="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Debug/RedPandaIDE/debug/qmake_iconsets_files.qrc"/>
<include location="../build/Desktop_Qt_6_7_3_MinGW_64_bit-Release/RedPandaIDE/release/qmake_iconsets_files.qrc"/>
</resources>
<connections/>
</ui>

File diff suppressed because it is too large Load Diff

View File

@ -2795,6 +2795,7 @@ bool Settings::CompilerSet::canMake() const
bool Settings::CompilerSet::canDebug() const
{
return false;
#ifdef ENABLE_SDCC
if (mCompilerType==CompilerType::SDCC)
return false;
@ -6228,12 +6229,12 @@ void Settings::UI::setShowStructure(bool newShowStructure)
bool Settings::UI::showWatch() const
{
return mShowWatch;
return false;
}
void Settings::UI::setShowWatch(bool newShowWatch)
{
mShowWatch = newShowWatch;
mShowWatch = false;
}
bool Settings::UI::showProject() const

View File

@ -58,7 +58,7 @@ p, li { white-space: pre-wrap; }
<location line="+6"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;Red Panda C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</source>
<oldsource>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;Red-Panda C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</oldsource>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt;C++&lt;/span&gt;&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location line="+15"/>
@ -1094,7 +1094,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="-8"/>
<source>Red Panda C++ will clear previously found compiler list and search for compilers in the following locations:&lt;br /&gt; &apos;%1&apos;&lt;br /&gt; &apos;%2&apos;&lt;br /&gt;Do you really want to continue?</source>
<translation>C++ :&lt;br/&gt; &apos;%1&apos;&lt;br/&gt; &apos;%2&apos;&lt;br /&gt;</translation>
<translation>C++ :&lt;br/&gt; &apos;%1&apos;&lt;br/&gt; &apos;%2&apos;&lt;br /&gt;</translation>
</message>
<message>
<source>ANSI</source>
@ -1113,7 +1113,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+238"/>
<source>Red Panda C++ will clear previously found compiler list and search for compilers in the the PATH. &lt;br /&gt;Do you really want to continue?</source>
<translation>C++ PATH路径中搜索gcc编译器.&lt;br /&gt;</translation>
<translation>C++ PATH路径中搜索gcc编译器.&lt;br /&gt;</translation>
</message>
<message>
<location line="+7"/>
@ -1268,7 +1268,7 @@ p, li { white-space: pre-wrap; }
<location line="+33"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Red Panda C++&apos;s Makefile has two important targets:&lt;/p&gt;&lt;p&gt;- all (which builds the executable)&lt;/p&gt;&lt;p&gt;- clean (which cleans up object files)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; depends on 2 targets: all-before and all-after. All-before&lt;/p&gt;&lt;p&gt;gets called before the compilation process, and all-after gets&lt;/p&gt;&lt;p&gt;called after the compilation process.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; depends on the target clean-custom, which gets called&lt;/p&gt;&lt;p&gt;before the cleaning process.&lt;br/&gt;&lt;/p&gt;&lt;p&gt;You can change the Makefile&apos;s behavior by defining the targets&lt;/p&gt;&lt;p&gt;that &amp;quot;all&amp;quot; and &amp;quot;clean&amp;quot; depend on.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<oldsource>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Red Panda Dev-C++&apos;s Makefile has two important targets:&lt;/p&gt;&lt;p&gt;- all (which builds the executable)&lt;/p&gt;&lt;p&gt;- clean (which cleans up object files)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; depends on 2 targets: all-before and all-after. All-before&lt;/p&gt;&lt;p&gt;gets called before the compilation process, and all-after gets&lt;/p&gt;&lt;p&gt;called after the compilation process.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; depends on the target clean-custom, which gets called&lt;/p&gt;&lt;p&gt;before the cleaning process.&lt;br/&gt;&lt;/p&gt;&lt;p&gt;You can change the Makefile&apos;s behavior by defining the targets&lt;/p&gt;&lt;p&gt;that &amp;quot;all&amp;quot; and &amp;quot;clean&amp;quot; depend on.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</oldsource>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;C++Makefile包括两个重要的目标target&lt;/p&gt;&lt;p&gt;- all ()&lt;/p&gt;&lt;p&gt;- clean ()&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; 2all-before all-after. &lt;/p&gt;&lt;p&gt;all-beforeall-after&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; clean-custom, &lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;C++Makefile包括两个重要的目标target&lt;/p&gt;&lt;p&gt;- all ()&lt;/p&gt;&lt;p&gt;- clean ()&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;all&amp;quot; 2all-before all-after. &lt;/p&gt;&lt;p&gt;all-beforeall-after&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;quot;clean&amp;quot; clean-custom, &lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@ -2744,12 +2744,12 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+6"/>
<source>Independent Red Panda C++ applications</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+7"/>
<source>The same Red Panda C++ application</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+10"/>
@ -2760,7 +2760,7 @@ p, li { white-space: pre-wrap; }
<location line="+16"/>
<source>Just check or uncheck for which file types Red Panda C++ wil be registered as the default application to open them ... </source>
<oldsource>Just check or uncheck for which file types RedPand C++ wil be registered as the default application to open them ... </oldsource>
<translation>使C++</translation>
<translation>使C++</translation>
</message>
</context>
<context>
@ -4570,17 +4570,17 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+1"/>
<source>Path to the Red Panda C++&apos;s executable file.</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
<source>Version of the Red Panda C++</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
<source>PATH to the Red Panda C++&apos;s installation folder.</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+1"/>
@ -4659,7 +4659,7 @@ p, li { white-space: pre-wrap; }
<location filename="../mainwindow.ui" line="+14"/>
<location filename="../mainwindow.cpp" line="+1322"/>
<source>Red Panda C++</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+933"/>
@ -7372,7 +7372,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Red panda Dev-C++ project file (*.dev)</source>
<translation type="vanished">Dev-C++ (*.dev)</translation>
<translation type="vanished">Dev-C++ (*.dev)</translation>
</message>
<message>
<location line="-2165"/>
@ -7487,7 +7487,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+1130"/>
<source>Red Panda C++ project file (*.dev)</source>
<translation>C++(*.dev)</translation>
<translation>C++(*.dev)</translation>
</message>
<message>
<location line="+1021"/>
@ -7626,7 +7626,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+0"/>
<source>Keep it open?</source>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+135"/>
@ -8247,7 +8247,7 @@ p, li { white-space: pre-wrap; }
<location line="+1"/>
<source>The compiler settings format of Red Panda C++ has changed.</source>
<oldsource>The compiler settings format of Dev-C++ has changed.</oldsource>
<translation>C++</translation>
<translation>C++</translation>
</message>
<message>
<location line="+2"/>
@ -8273,7 +8273,7 @@ p, li { white-space: pre-wrap; }
<location line="+94"/>
<source>Developed using the Red Panda C++ IDE</source>
<oldsource>Developed using the Red Panda Dev-C++ IDE</oldsource>
<translation>使C++</translation>
<translation>使C++</translation>
</message>
</context>
<context>
@ -9352,7 +9352,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../settings.cpp" line="+3388"/>
<source>Would you like Red Panda C++ to search for compilers in PATH?</source>
<translation>C++PATH路径中寻找gcc编译器吗</translation>
<translation>C++PATH路径中寻找gcc编译器吗</translation>
</message>
<message>
<location filename="../compiler/compilerinfo.cpp" line="+1"/>
@ -9580,7 +9580,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?</source>
<translation type="vanished">C++</translation>
<translation type="vanished">C++</translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.&lt;br /&gt;&lt;br /&gt;Unless you know exactly what you&apos;re doing, it is recommended that you click Yes.</source>
@ -9595,7 +9595,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="-4"/>
<source>Would you like Red Panda C++ to search for compilers in the following locations: &lt;BR /&gt;&apos;%1&apos;&lt;BR /&gt;&apos;%2&apos;? </source>
<translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation>
<translation>C++&lt;br /&gt;%1&lt;br /&gt;%2</translation>
</message>
<message>
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="-452"/>