diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index eee23fae..c82f6ea3 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -498,6 +498,10 @@ MainWindow::MainWindow(QWidget *parent) updateShortcuts(); updateEditorSettings(); //updateEditorBookmarks(); + + ui->tabWatch->setVisible(false); + ui->tabDebug->setVisible(false); + ui->tabDebugConsole->setVisible(false); } MainWindow::~MainWindow() @@ -1101,8 +1105,8 @@ void MainWindow::applyUISettings() ui->actionProject->setChecked(settings.showProject()); showHideInfosTab(ui->tabProject,settings.showProject()); - ui->actionWatch->setChecked(settings.showWatch()); - showHideInfosTab(ui->tabWatch,settings.showWatch()); + // ui->actionWatch->setChecked(settings.showWatch()); + // showHideInfosTab(ui->tabWatch,settings.showWatch()); ui->actionStructure->setChecked(settings.showStructure()); showHideInfosTab(ui->tabStructure,settings.showStructure()); ui->actionFiles->setChecked(settings.showFiles()); @@ -1965,7 +1969,6 @@ void MainWindow::updateActionIcons() ui->toolbarMain->setIconSize(iconSize); ui->toolbarCode->setIconSize(iconSize); ui->toolbarCompile->setIconSize(iconSize); - ui->toolbarDebug->setIconSize(iconSize); ui->toolbarCompilerSet->setIconSize(iconSize); for (QToolButton* btn: mClassBrowserToolbar->findChildren()) { btn->setIconSize(iconSize); @@ -2112,10 +2115,10 @@ void MainWindow::updateActionIcons() mProblem_Properties->setIcon(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_PROPERTIES)); - int idx = ui->tabExplorer->indexOf(ui->tabWatch); - if (idx>=0) - ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_RUN_ADD_WATCH)); - idx = ui->tabExplorer->indexOf(ui->tabProject); + //int idx = ui->tabExplorer->indexOf(ui->tabWatch); + //if (idx>=0) + // ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_RUN_ADD_WATCH)); + int idx = ui->tabExplorer->indexOf(ui->tabProject); if (idx>=0) ui->tabExplorer->setTabIcon(idx,pIconsManager->getIcon(IconsManager::ACTION_PROJECT_NEW)); idx = ui->tabExplorer->indexOf(ui->tabFiles); @@ -8894,9 +8897,9 @@ void MainWindow::on_actionProject_triggered() void MainWindow::on_actionWatch_triggered() { - bool state = ui->actionWatch->isChecked(); - ui->actionWatch->setChecked(state); - showHideInfosTab(ui->tabWatch,state); + // bool state = ui->actionWatch->isChecked(); + // ui->actionWatch->setChecked(state); + // showHideInfosTab(ui->tabWatch,state); } diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 47302326..254f495c 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 936 + 1536 619 @@ -119,8 +119,8 @@ 0 0 - 2002 - 25 + 1536 + 22 @@ -160,18 +160,8 @@ - - - - - - - - - - @@ -289,13 +279,6 @@ - - - - - - - @@ -428,33 +411,6 @@ - - - Debug - - - - 24 - 24 - - - - TopToolBarArea - - - false - - - - - - - - - - - - Compiler Set @@ -497,7 +453,7 @@ QTabWidget::TabPosition::West - 4 + 2 true @@ -637,6 +593,9 @@ + + true + true @@ -1645,7 +1604,7 @@ Add Probem Case - + :/resources/iconsets/newlook/actions/00Misc-03Add.svg:/resources/iconsets/newlook/actions/00Misc-03Add.svg @@ -1659,7 +1618,7 @@ Remove Problem Case - + :/resources/iconsets/newlook/actions/00Misc-04Remove.svg:/resources/iconsets/newlook/actions/00Misc-04Remove.svg @@ -1673,7 +1632,7 @@ Open Anwser Source File - + :/resources/iconsets/newlook/actions/08Problem-04EditSource.svg:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg @@ -1694,7 +1653,7 @@ Run All Cases - + :/resources/iconsets/newlook/actions/08Problem-05RunCases.svg:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg @@ -1705,7 +1664,7 @@ Problem Cases Validation Options - + :/resources/iconsets/newlook/actions/00Misc-05Gear.svg:/resources/iconsets/newlook/actions/00Misc-05Gear.svg @@ -1826,7 +1785,7 @@ Choose Input File - + :/resources/iconsets/newlook/actions/00Misc-07Folder.svg:/resources/iconsets/newlook/actions/00Misc-07Folder.svg @@ -1945,7 +1904,7 @@ Choose Expected Output File - + :/resources/iconsets/newlook/actions/00Misc-07Folder.svg:/resources/iconsets/newlook/actions/00Misc-07Folder.svg @@ -2018,7 +1977,7 @@ - + :/resources/iconsets/newlook/actions/01File-01New.svg:/resources/iconsets/newlook/actions/01File-01New.svg @@ -2033,7 +1992,7 @@ - + :/resources/iconsets/newlook/actions/01File-02Open.svg:/resources/iconsets/newlook/actions/01File-02Open.svg @@ -2045,7 +2004,7 @@ - + :/resources/iconsets/newlook/actions/01File-03Save.svg:/resources/iconsets/newlook/actions/01File-03Save.svg @@ -2057,7 +2016,7 @@ - + :/resources/iconsets/newlook/actions/01File-04SaveAs.svg:/resources/iconsets/newlook/actions/01File-04SaveAs.svg @@ -2072,7 +2031,7 @@ - + :/resources/iconsets/newlook/actions/01File-05SaveAll.svg:/resources/iconsets/newlook/actions/01File-05SaveAll.svg @@ -2084,7 +2043,7 @@ - + :/resources/iconsets/newlook/actions/00Misc-05Gear.svg:/resources/iconsets/newlook/actions/00Misc-05Gear.svg @@ -2093,7 +2052,7 @@ - + :/resources/iconsets/newlook/actions/05Run-01Compile.svg:/resources/iconsets/newlook/actions/05Run-01Compile.svg @@ -2108,7 +2067,7 @@ - + :/resources/iconsets/newlook/actions/05Run-03Run.svg:/resources/iconsets/newlook/actions/05Run-03Run.svg @@ -2123,7 +2082,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-01Undo.svg:/resources/iconsets/newlook/actions/03Edit-01Undo.svg @@ -2135,7 +2094,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-02Redo.svg:/resources/iconsets/newlook/actions/03Edit-02Redo.svg @@ -2147,7 +2106,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-03Cut.svg:/resources/iconsets/newlook/actions/03Edit-03Cut.svg @@ -2159,7 +2118,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-04Copy.svg:/resources/iconsets/newlook/actions/03Edit-04Copy.svg @@ -2171,7 +2130,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-05Paste.svg:/resources/iconsets/newlook/actions/03Edit-05Paste.svg @@ -2191,7 +2150,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-06Indent.svg:/resources/iconsets/newlook/actions/03Edit-06Indent.svg @@ -2203,7 +2162,7 @@ - + :/resources/iconsets/newlook/actions/03Edit-07Unindent.svg:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg @@ -2261,7 +2220,7 @@ - + :/resources/iconsets/newlook/actions/05Run-04Rebuild.svg:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg @@ -2276,7 +2235,7 @@ - + :/resources/iconsets/newlook/actions/05Run-11Stop.svg:/resources/iconsets/newlook/actions/05Run-11Stop.svg @@ -2288,7 +2247,7 @@ - + :/resources/iconsets/newlook/actions/05Run-06Debug.svg:/resources/iconsets/newlook/actions/05Run-06Debug.svg @@ -2303,7 +2262,7 @@ - + :/resources/iconsets/newlook/actions/05Run-07StepOver.svg:/resources/iconsets/newlook/actions/05Run-07StepOver.svg @@ -2315,7 +2274,7 @@ - + :/resources/iconsets/newlook/actions/05Run-08StepInto.svg:/resources/iconsets/newlook/actions/05Run-08StepInto.svg @@ -2327,7 +2286,7 @@ - + :/resources/iconsets/newlook/actions/05Run-08StepOut.svg:/resources/iconsets/newlook/actions/05Run-08StepOut.svg @@ -2339,7 +2298,7 @@ - + :/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg @@ -2351,7 +2310,7 @@ - + :/resources/iconsets/newlook/actions/05Run-10Continue.svg:/resources/iconsets/newlook/actions/05Run-10Continue.svg @@ -2363,7 +2322,7 @@ - + :/resources/iconsets/newlook/actions/05Run-12AddWatch.svg:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg @@ -2422,7 +2381,7 @@ - + :/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg @@ -2441,7 +2400,7 @@ - + :/resources/iconsets/newlook/actions/04Code-05Reformat.svg:/resources/iconsets/newlook/actions/04Code-05Reformat.svg @@ -2453,7 +2412,7 @@ - + :/resources/iconsets/newlook/actions/04Code-01Back.svg:/resources/iconsets/newlook/actions/04Code-01Back.svg @@ -2465,7 +2424,7 @@ - + :/resources/iconsets/newlook/actions/04Code-02Forward.svg:/resources/iconsets/newlook/actions/04Code-02Forward.svg @@ -2705,7 +2664,7 @@ - + :/resources/iconsets/newlook/actions/05Run-05Options.svg:/resources/iconsets/newlook/actions/05Run-05Options.svg @@ -2871,7 +2830,7 @@ - + :/resources/iconsets/newlook/actions/05Run-16Interrupt.svg:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg @@ -2967,7 +2926,7 @@ - + :/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg @@ -3047,6 +3006,9 @@ Ctrl+F12 + + false + @@ -3281,6 +3243,7 @@ QAction::MenuRole::NoRole + dockMessages @@ -3313,7 +3276,7 @@ - + diff --git a/RedPandaIDE/mainwindow.ui.autosave b/RedPandaIDE/mainwindow.ui.autosave new file mode 100644 index 00000000..4bb30715 --- /dev/null +++ b/RedPandaIDE/mainwindow.ui.autosave @@ -0,0 +1,3275 @@ + + + MainWindow + + + + 0 + 0 + 1536 + 619 + + + + Red Panda C++ + + + + :/icons/images/devcpp.ico + + + + QMainWindow::DockOption::AnimatedDocks + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 1 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + Qt::Orientation::Horizontal + + + 1 + + + + + 0 + 0 + + + + -1 + + + true + + + true + + + true + + + + + true + + + true + + + true + + + true + + + + + + + + + + + + + 0 + 0 + 1536 + 22 + + + + + File + + + + + + + + + + + + + + + + + + + Tools + + + + + + Execute + + + + + + + + + + + + + + + Edit + + + + Move Caret + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search + + + + + + + + + + + Code + + + + + + + + + + + + + + + + + + + + + Window + + + + + + + + + + + + Project + + + + + + + + + + + + + + + + + + + Help + + + + + + + + + + + + + + View + + + + Tool Panels + + + + + + + + + + + + + + + + + + + + + + + + + Selection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Main + + + + 24 + 24 + + + + TopToolBarArea + + + false + + + + + + + + + + Code + + + TopToolBarArea + + + false + + + + + + + + + Compile + + + + 24 + 24 + + + + TopToolBarArea + + + false + + + + + + + + + + Compiler Set + + + + 24 + 24 + + + + TopToolBarArea + + + false + + + + + + QDockWidget::DockWidgetFeature::DockWidgetMovable + + + Qt::DockWidgetArea::BottomDockWidgetArea|Qt::DockWidgetArea::LeftDockWidgetArea|Qt::DockWidgetArea::RightDockWidgetArea + + + Explorer + + + 1 + + + + + 0 + 0 + + + + QTabWidget::TabPosition::West + + + 2 + + + true + + + false + + + + true + + + Files + + + + 2 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 2 + + + 0 + + + 0 + + + 2 + + + 0 + + + + + true + + + QComboBox::InsertPolicy::InsertAtTop + + + + + + + + + + QAbstractItemView::EditTrigger::EditKeyPressed|QAbstractItemView::EditTrigger::SelectedClicked + + + true + + + QAbstractItemView::DragDropMode::DragDrop + + + Qt::DropAction::MoveAction + + + QAbstractItemView::SelectionMode::ExtendedSelection + + + false + + + false + + + + + + + + true + + + Project + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QAbstractItemView::EditTrigger::EditKeyPressed|QAbstractItemView::EditTrigger::SelectedClicked + + + true + + + QAbstractItemView::DragDropMode::InternalMove + + + Qt::DropAction::MoveAction + + + QAbstractItemView::SelectionMode::ExtendedSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + 500 + + + false + + + + + + + + true + + + true + + + Watch + + + + 2 + + + 2 + + + 2 + + + 2 + + + + + QAbstractItemView::EditTrigger::DoubleClicked + + + QAbstractItemView::SelectionMode::ExtendedSelection + + + Qt::TextElideMode::ElideNone + + + false + + + 100 + + + + + + + + true + + + Structure + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Qt::ScrollBarPolicy::ScrollBarAlwaysOn + + + true + + + false + + + + + + + + true + + + Problem Set + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QFrame::Shape::Panel + + + QFrame::Shadow::Plain + + + Problem Set + + + 5 + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + New Problem Set + + + New Problem Set + + + + :/resources/iconsets/newlook/actions/08Problem-01Problem.svg + + + + + + + + Add Problem + + + Add Problem + + + + :/resources/iconsets/newlook/actions/00Misc-03Add.svg + + + + + + + + Remove Problem + + + Remove Problem + + + + :/resources/iconsets/newlook/actions/00Misc-04Remove.svg + + + + + + + + Save Problem Set + + + Save Problem Set + + + + :/resources/iconsets/newlook/actions/01File-04SaveAs.svg + + + + + + + + Load Problem Set + + + Load Problem Set + + + + :/resources/iconsets/newlook/actions/06View-03Files.svg + + + + + + + + Import FPS Problem Set + + + + :/resources/iconsets/newlook/actions/00Misc-01Back.svg + + + + + + + + Export FPS Problem Set + + + + :/resources/iconsets/newlook/actions/00Misc-02Forward.svg + + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + + + true + + + QAbstractItemView::DragDropMode::InternalMove + + + Qt::DropAction::MoveAction + + + true + + + QAbstractItemView::SelectionMode::ExtendedSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + + + + + + + + QDockWidget::DockWidgetFeature::DockWidgetMovable|QDockWidget::DockWidgetFeature::DockWidgetVerticalTitleBar + + + Qt::DockWidgetArea::BottomDockWidgetArea|Qt::DockWidgetArea::LeftDockWidgetArea|Qt::DockWidgetArea::RightDockWidgetArea + + + Messages + + + 8 + + + + + 0 + 0 + + + + QTabWidget::TabPosition::South + + + 2 + + + + 16 + 16 + + + + + Issues + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + + false + + + + QAbstractItemView::EditTrigger::NoEditTriggers + + + false + + + false + + + true + + + QAbstractItemView::SelectionMode::SingleSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + true + + + + + + + + Tools Output + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + false + + + QPlainTextEdit::LineWrapMode::WidgetWidth + + + true + + + false + + + + + + + + Debug + + + + 7 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Qt::Orientation::Horizontal + + + 3 + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + 7 + + + 7 + + + 7 + + + 7 + + + + + Evaluate: + + + + + + + + 0 + 0 + + + + true + + + QComboBox::InsertPolicy::InsertAtTop + + + + + + + false + + + true + + + + + + + + QTabWidget::TabPosition::North + + + 3 + + + + Debug Console + + + + 2 + + + 2 + + + 2 + + + 2 + + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + + + Call Stack + + + + 2 + + + 2 + + + 2 + + + 0 + + + + + true + + + QAbstractItemView::SelectionMode::SingleSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + Qt::TextElideMode::ElideNone + + + true + + + + + + + + Breakpoints + + + + 2 + + + 2 + + + 2 + + + 0 + + + + + true + + + QAbstractItemView::SelectionMode::SingleSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + Qt::TextElideMode::ElideNone + + + true + + + + + + + + Locals + + + + 2 + + + 2 + + + 2 + + + 0 + + + + + false + + + true + + + + + + + + Memory + + + + + + Address Expression: + + + + + + + false + + + 20 + + + + + + + + 0 + 0 + + + + true + + + QComboBox::InsertPolicy::InsertAtTop + + + + + + + + + + + + + Search + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + History: + + + + + + + + 0 + 0 + + + + + 150 + 0 + + + + QComboBox::SizeAdjustPolicy::AdjustToContents + + + + + + + false + + + + 0 + 0 + + + + Search Again + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Replace with: + + + + + + + + 150 + 0 + + + + true + + + QComboBox::InsertPolicy::InsertAtTop + + + QComboBox::SizeAdjustPolicy::AdjustToContents + + + + + + + Open file in editors + + + + + + + Replace + + + + + + + Cancel + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + + + false + + + + + + + + TODO + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + true + + + + + + + + Bookmark + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + true + + + QAbstractItemView::SelectionMode::SingleSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + true + + + true + + + + + + + + Problem + + + + 5 + + + 5 + + + 5 + + + 5 + + + + + Qt::Orientation::Horizontal + + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QFrame::Shape::Box + + + Problem + + + 5 + + + true + + + + + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Add Probem Case + + + Add Probem Case + + + + :/resources/iconsets/newlook/actions/00Misc-03Add.svg:/resources/iconsets/newlook/actions/00Misc-03Add.svg + + + + + + + Remove Problem Case + + + Remove Problem Case + + + + :/resources/iconsets/newlook/actions/00Misc-04Remove.svg:/resources/iconsets/newlook/actions/00Misc-04Remove.svg + + + + + + + Open Anwser Source File + + + Open Anwser Source File + + + + :/resources/iconsets/newlook/actions/08Problem-04EditSource.svg:/resources/iconsets/newlook/actions/08Problem-04EditSource.svg + + + + + + + Qt::Orientation::Vertical + + + + + + + Run All Cases + + + Run All Cases + + + + :/resources/iconsets/newlook/actions/08Problem-05RunCases.svg:/resources/iconsets/newlook/actions/08Problem-05RunCases.svg + + + + + + + Problem Cases Validation Options + + + + :/resources/iconsets/newlook/actions/00Misc-05Gear.svg:/resources/iconsets/newlook/actions/00Misc-05Gear.svg + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + 0 + + + 0 + + + %v/%m + + + + + + + + + + true + + + false + + + QAbstractItemView::DragDropMode::InternalMove + + + Qt::DropAction::MoveAction + + + true + + + QAbstractItemView::SelectionMode::SingleSelection + + + QAbstractItemView::SelectionBehavior::SelectRows + + + 200 + + + true + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + false + + + true + + + + + + + Choose Input File + + + Choose Input File + + + + :/resources/iconsets/newlook/actions/00Misc-07Folder.svg:/resources/iconsets/newlook/actions/00Misc-07Folder.svg + + + + + + + Clear + + + + + + + Input + + + + + + + + + + + + + + + + + + 0 + 0 + + + + QPlainTextEdit::LineWrapMode::NoWrap + + + + + + + + 0 + 0 + + + + QPlainTextEdit::LineWrapMode::NoWrap + + + + + + + + 0 + 0 + + + + QPlainTextEdit::LineWrapMode::NoWrap + + + true + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Expected + + + + + + + false + + + true + + + + + + + Clear + + + Clear + + + + + + + Choose Expected Output File + + + + :/resources/iconsets/newlook/actions/00Misc-07Folder.svg:/resources/iconsets/newlook/actions/00Misc-07Folder.svg + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Output + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + :/resources/iconsets/newlook/actions/01File-01New.svg:/resources/iconsets/newlook/actions/01File-01New.svg + + + New C/C++ File + + + New Source File + + + Ctrl+N + + + + + + :/resources/iconsets/newlook/actions/01File-02Open.svg:/resources/iconsets/newlook/actions/01File-02Open.svg + + + Open... + + + Ctrl+O + + + + + + :/resources/iconsets/newlook/actions/01File-03Save.svg:/resources/iconsets/newlook/actions/01File-03Save.svg + + + Save + + + Ctrl+S + + + + + + :/resources/iconsets/newlook/actions/01File-04SaveAs.svg:/resources/iconsets/newlook/actions/01File-04SaveAs.svg + + + Save As... + + + Save As + + + Ctrl+Shift+S + + + + + + :/resources/iconsets/newlook/actions/01File-05SaveAll.svg:/resources/iconsets/newlook/actions/01File-05SaveAll.svg + + + Save All + + + Ctrl+K, Ctrl+S + + + + + + :/resources/iconsets/newlook/actions/00Misc-05Gear.svg:/resources/iconsets/newlook/actions/00Misc-05Gear.svg + + + Options + + + + + + :/resources/iconsets/newlook/actions/05Run-01Compile.svg:/resources/iconsets/newlook/actions/05Run-01Compile.svg + + + Compile + + + Compile + + + F9 + + + + + + :/resources/iconsets/newlook/actions/05Run-03Run.svg:/resources/iconsets/newlook/actions/05Run-03Run.svg + + + Run + + + Run + + + F11 + + + + + + :/resources/iconsets/newlook/actions/03Edit-01Undo.svg:/resources/iconsets/newlook/actions/03Edit-01Undo.svg + + + Undo + + + Ctrl+Z + + + + + + :/resources/iconsets/newlook/actions/03Edit-02Redo.svg:/resources/iconsets/newlook/actions/03Edit-02Redo.svg + + + Redo + + + Ctrl+Y + + + + + + :/resources/iconsets/newlook/actions/03Edit-03Cut.svg:/resources/iconsets/newlook/actions/03Edit-03Cut.svg + + + Cut + + + Ctrl+X + + + + + + :/resources/iconsets/newlook/actions/03Edit-04Copy.svg:/resources/iconsets/newlook/actions/03Edit-04Copy.svg + + + Copy + + + Ctrl+C + + + + + + :/resources/iconsets/newlook/actions/03Edit-05Paste.svg:/resources/iconsets/newlook/actions/03Edit-05Paste.svg + + + Paste + + + Ctrl+V + + + + + Select All + + + Ctrl+A + + + + + + :/resources/iconsets/newlook/actions/03Edit-06Indent.svg:/resources/iconsets/newlook/actions/03Edit-06Indent.svg + + + Indent + + + Tab + + + + + + :/resources/iconsets/newlook/actions/03Edit-07Unindent.svg:/resources/iconsets/newlook/actions/03Edit-07Unindent.svg + + + UnIndent + + + Shift+Tab + + + + + Toggle Comment + + + Ctrl+/ + + + + + true + + + Collapse All + + + + + Uncollapse All + + + + + Encode in ANSI + + + + + Encode in UTF-8 + + + + + Auto Detect + + + + + Convert to ANSI + + + + + Convert to UTF-8 + + + + + + :/resources/iconsets/newlook/actions/05Run-04Rebuild.svg:/resources/iconsets/newlook/actions/05Run-04Rebuild.svg + + + Rebuild All + + + Rebuild All + + + F12 + + + + + + :/resources/iconsets/newlook/actions/05Run-11Stop.svg:/resources/iconsets/newlook/actions/05Run-11Stop.svg + + + Stop Execution + + + F6 + + + + + + :/resources/iconsets/newlook/actions/05Run-06Debug.svg:/resources/iconsets/newlook/actions/05Run-06Debug.svg + + + Debug + + + Debug + + + F5 + + + + + + :/resources/iconsets/newlook/actions/05Run-07StepOver.svg:/resources/iconsets/newlook/actions/05Run-07StepOver.svg + + + Step Over + + + F8 + + + + + + :/resources/iconsets/newlook/actions/05Run-08StepInto.svg:/resources/iconsets/newlook/actions/05Run-08StepInto.svg + + + Step Into + + + F7 + + + + + + :/resources/iconsets/newlook/actions/05Run-08StepOut.svg:/resources/iconsets/newlook/actions/05Run-08StepOut.svg + + + Step Out + + + Ctrl+F8 + + + + + + :/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg:/resources/iconsets/newlook/actions/05Run-09RunToCursor.svg + + + Run To Cursor + + + Ctrl+F5 + + + + + + :/resources/iconsets/newlook/actions/05Run-10Continue.svg:/resources/iconsets/newlook/actions/05Run-10Continue.svg + + + Continue + + + F4 + + + + + + :/resources/iconsets/newlook/actions/05Run-12AddWatch.svg:/resources/iconsets/newlook/actions/05Run-12AddWatch.svg + + + Add Watch... + + + + + View CPU Window... + + + + + Exit + + + + + Find... + + + Ctrl+F + + + + + Find in Files... + + + Ctrl+Shift+F + + + + + Replace... + + + Ctrl+R + + + + + Find Next + + + F3 + + + + + Find Previous + + + Shift+F3 + + + + + + :/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg:/resources/iconsets/newlook/actions/05Run-13RemoveWatch.svg + + + Remove Watch + + + + + Remove All Watches + + + + + Modify Watch... + + + + + + :/resources/iconsets/newlook/actions/04Code-05Reformat.svg:/resources/iconsets/newlook/actions/04Code-05Reformat.svg + + + Reformat Code + + + Ctrl+Shift+A + + + + + + :/resources/iconsets/newlook/actions/04Code-01Back.svg:/resources/iconsets/newlook/actions/04Code-01Back.svg + + + Go back + + + Ctrl+Alt+Left + + + + + + :/resources/iconsets/newlook/actions/04Code-02Forward.svg:/resources/iconsets/newlook/actions/04Code-02Forward.svg + + + Forward + + + Ctrl+Alt+Right + + + + + Close + + + Ctrl+W + + + + + Close All + + + Ctrl+Shift+W + + + + + Maximize Editor + + + Ctrl+F11 + + + + + Next + + + Ctrl+Tab + + + + + Previous + + + Ctrl+Shift+Tab + + + + + + :/icons/images/editor/breakpoint.png + + + + Toggle breakpoint + + + Ctrl+F4 + + + + + Clear all breakpoints + + + + + Breakpoint property... + + + + + Goto Declaration + + + Ctrl+J + + + + + Goto Definition + + + Ctrl+Shift+J + + + + + Find references + + + + + Open containing folder + + + Qt::ShortcutContext::ApplicationShortcut + + + + + Open a terminal here + + + + + File Properties... + + + + + Close Project + + + + + Project options + + + + + New Project... + + + + + New Project File + + + New Project File + + + + + Add to project... + + + + + Remove from project + + + + + View Makefile + + + + + Clean + + + + + Open Folder in Explorer + + + + + Open In Terminal + + + + + About + + + + + Rename Symbol + + + Shift+F6 + + + + + Print... + + + Ctrl+P + + + + + Export As RTF + + + + + Export As HTML + + + + + Move To Other View + + + Ctrl+M + + + Qt::ShortcutContext::ApplicationShortcut + + + + + C++ Reference + + + C++ Reference + + + + + EGE Manual + + + + + Modify Bookmark Description + + + + + Locate in Files View + + + + + Choose Working Folder + + + Choose Working Folder + + + + + + :/resources/iconsets/newlook/actions/05Run-05Options.svg:/resources/iconsets/newlook/actions/05Run-05Options.svg + + + Running Parameters... + + + + + C Reference + + + + + true + + + Show Tool Panels + + + + + true + + + Status Bar + + + + + true + + + Project + + + + + true + + + Watch + + + + + true + + + Structure + + + + + true + + + Files + + + + + true + + + Problem Set + + + + + true + + + Issues + + + + + true + + + Tools Output + + + + + true + + + Debug + + + + + true + + + Search + + + + + true + + + TODO + + + + + true + + + Bookmark + + + + + true + + + Problem + + + + + Delete Line + + + Ctrl+E + + + + + Duplicate Line + + + Ctrl+D + + + + + Delete Word + + + Ctrl+Shift+D + + + + + Delete to EOL + + + Ctrl+Del + + + + + Delete to BOL + + + Ctrl+Backspace + + + + + + :/resources/iconsets/newlook/actions/05Run-16Interrupt.svg:/resources/iconsets/newlook/actions/05Run-16Interrupt.svg + + + Interrupt + + + + + Delete To Word Begin + + + Delete To Word Begin + + + Ctrl+Shift+B + + + + + Delete to Word End + + + Ctrl+Shift+E + + + + + New Class... + + + + + New Header... + + + New Header... + + + + + Website + + + + + true + + + Hide Non Support Files + + + + + Toggle Block Comment + + + Alt+Shift+A + + + + + Match Bracket + + + Ctrl+] + + + + + Move Selection Up + + + Ctrl+Shift+Up + + + + + Move Selection Down + + + Ctrl+Shift+Down + + + + + Convert to UTF-8 BOM + + + + + Encode in UTF-8 BOM + + + + + + :/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg:/resources/iconsets/newlook/actions/05Run-17CompilerOptions.svg + + + Compiler Options... + + + + + Toggle Explorer Panel + + + Ctrl+F9 + + + + + Toggle Messages Panel + + + Ctrl+F10 + + + + + Raylib Manual + + + + + Select Word + + + + + Go to Line... + + + Ctrl+G + + + + + New Template... + + + New Template from Project + + + + + Goto block start + + + Ctrl+Alt+Up + + + + + Goto block end + + + Ctrl+Alt+Down + + + + + Switch header/source + + + Switch Header/Source + + + + + Generate Assembly + + + Ctrl+F12 + + + false + + + + + Trim trailing spaces + + + + + Toggle Readonly + + + Ctrl+Shift+R + + + + + Submit Issues + + + + + Document + + + F1 + + + + + New GAS File + + + + + GNU Assembler Manual + + + + + x86 Assembly Language Reference Manual + + + + + IA-32 Assembly Language Reference Manual + + + + + Add Watchpoint... + + + Add a watchpoint that's triggered when it's modified. + + + + + New Text File + + + + + Page Up + + + QAction::MenuRole::TextHeuristicRole + + + + + Page Down + + + QAction::MenuRole::NoRole + + + + + Goto Line Start + + + QAction::MenuRole::NoRole + + + + + Goto Line End + + + QAction::MenuRole::NoRole + + + + + Goto File Start + + + QAction::MenuRole::NoRole + + + + + Goto File End + + + QAction::MenuRole::NoRole + + + + + Page Up and Select + + + QAction::MenuRole::NoRole + + + + + Page Down and Select + + + QAction::MenuRole::NoRole + + + + + Goto Page Start + + + QAction::MenuRole::NoRole + + + + + Goto Page End + + + QAction::MenuRole::NoRole + + + + + Goto Page Start and Select + + + QAction::MenuRole::NoRole + + + + + Goto Page End and Select + + + QAction::MenuRole::NoRole + + + + + Goto Line Start and Select + + + QAction::MenuRole::NoRole + + + + + Goto Line End and Select + + + QAction::MenuRole::NoRole + + + + + Goto File Start and Select + + + QAction::MenuRole::NoRole + + + + + Goto File End and Select + + + QAction::MenuRole::NoRole + + + + + Close Others + + + QAction::MenuRole::NoRole + + + + + OI Wiki + + + QAction::MenuRole::NoRole + + + + + Turtle Graphics Tutorial + + + QAction::MenuRole::NoRole + + + + + Toggle Bookmark + + + Ctrl+B + + + QAction::MenuRole::NoRole + + + + + Code Completion + + + Ctrl+Shift+/ + + + QAction::MenuRole::NoRole + + + dockMessages + + + + IssuesTable + QTableView +
widgets/issuestable.h
+
+ + QConsole + QFrame +
widgets/qconsole.h
+ 1 +
+ + EditorsTabWidget + QTabWidget +
widgets/editorstabwidget.h
+ 1 +
+ + LineNumberTextEditor + QPlainTextEdit +
widgets/linenumbertexteditor.h
+
+ + ShrinkableTabWidget + QTabWidget +
widgets/shrinkabletabwidget.h
+ 1 +
+
+ + + + +
diff --git a/RedPandaIDE/resources/autolink-xdg.json b/RedPandaIDE/resources/autolink-xdg.json index 4362fa07..e5e8deed 100644 --- a/RedPandaIDE/resources/autolink-xdg.json +++ b/RedPandaIDE/resources/autolink-xdg.json @@ -8,19 +8,6 @@ "header": "math.h", "links": "-lm" }, - { - "execUseUTF8": true, - "header": "raylib.h", - "links": "-lraylib -lGL -lm -lpthread -ldl -lrt -lX11" - }, - { - "header": "rdrawing.h", - "links": "-lrdrawing" - }, - { - "header": "rturtle.h", - "links": "-lrturtle" - }, { "header": "thread", "links": "-lpthread" diff --git a/RedPandaIDE/resources/autolink.json b/RedPandaIDE/resources/autolink.json index cc77f5f8..4bb15663 100644 --- a/RedPandaIDE/resources/autolink.json +++ b/RedPandaIDE/resources/autolink.json @@ -24,42 +24,21 @@ "links": "-lglfw3 -lgdi32" }, { - "header": "ege.h", - "links": "-lgraphics -luuid -lmsimg32 -lgdi32 -limm32 -lole32 -loleaut32 -lwinmm -lgdiplus" - }, - { - "header": "easyx.h", - "links": "-leasyx" - }, - { - "execUseUTF8": true, + "execUseUTF8": true, "header": "fmt/core.h", "links": "-lfmt" }, - { - "execUseUTF8": true, - "header": "raylib.h", - "links": "-lraylib -lopengl32 -lgdi32 -lwinmm" - }, { "execUseUTF8": false, "header": "tinyfiledialogs.h", "links": "-ltinyfiledialogs -lcomdlg32 -lole32" }, - { - "header": "rdrawing.h", - "links": "-lrdrawing" - }, - { - "header": "rturtle.h", - "links": "-lrturtle" - }, - { - "header": "turtle.h", - "links": "-lturtle" - }, { "header": "winsock2.h", "links": "-lws2_32" + }, + { + "header": "windows.h", + "links": "-lgdi32 -luser32 -lkernel32 -ladvapi32" } ] diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index 092d109c..a69fc0e3 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -10,7 +10,7 @@ <h1>Red-Panda Dev-Cpp 7</h1> - <h1>小熊猫Dev-Cpp 7</h1> + <h1>能锚Cpp</h1> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> @@ -91,7 +91,7 @@ p, li { white-space: pre-wrap; } Red Panda Dev-C++ (<=6.7.5): Red Panda Dev-C++: - 小熊猫Dev-C++ (<=6.7.5): + 能锚Cpp (<=6.7.5): diff --git a/Red_Panda_CPP.pro b/Red_Panda_CPP.pro index f1400d3d..973a17c1 100644 --- a/Red_Panda_CPP.pro +++ b/Red_Panda_CPP.pro @@ -93,3 +93,5 @@ win32: { } } } + +QT += core5compat