fix(.ui): Rename MainWindow class to EchidnaEditor and fix the sidebar tab that isn't a proper tab.

The code in my local machine (to be commited later) refers to the main window UI class as EchidnaEditor, although the ui file still uses MainWindow, Qt Designer's default class name.
I was confused so much by the error message, until I realized the issue was this.

Anyways, this includes the "fix the sidebar tab that isn't a proper tab". Should have commited this in a separate commit, but Git won't let me.
Should have commited this earlier. Same thing with e0ba34d.
pull/1/head
Nefo Fortressia 2021-09-12 15:09:19 +07:00
parent e0ba34d360
commit d6462907f1
1 changed files with 238 additions and 0 deletions

238
ui/echidna.ui Normal file
View File

@ -0,0 +1,238 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>770</width>
<height>559</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="statusBar" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>490</y>
<width>801</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: #191A21</string>
</property>
</widget>
<widget class="QTabWidget" name="langFeaturesTab">
<property name="geometry">
<rect>
<x>270</x>
<y>290</y>
<width>531</width>
<height>201</height>
</rect>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="problemsTab">
<attribute name="title">
<string>Problems</string>
</attribute>
</widget>
<widget class="QWidget" name="outputTab">
<attribute name="title">
<string>Output</string>
</attribute>
</widget>
<widget class="QWidget" name="terminalTab">
<attribute name="title">
<string>Terminal</string>
</attribute>
</widget>
<widget class="QWidget" name="debugConsoleTab">
<attribute name="title">
<string>Debug Console</string>
</attribute>
</widget>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>271</width>
<height>491</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QTabBar::tab {
width: 48px;
height: 48px;
}
</string>
</property>
<property name="tabPosition">
<enum>QTabWidget::West</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Tab 1</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>770</width>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuEdiut">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
</widget>
<widget class="QMenu" name="menuSelection">
<property name="title">
<string>Selection</string>
</property>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
<widget class="QMenu" name="menuTabs">
<property name="title">
<string>Tabs</string>
</property>
<addaction name="actionProblem"/>
<addaction name="actionOutput"/>
<addaction name="actionTerminal"/>
<addaction name="actionTerminal_2"/>
</widget>
<addaction name="menuTabs"/>
</widget>
<widget class="QMenu" name="menuGo">
<property name="title">
<string>Go</string>
</property>
</widget>
<widget class="QMenu" name="menuRun">
<property name="title">
<string>Run</string>
</property>
</widget>
<widget class="QMenu" name="menuTerminal">
<property name="title">
<string>Terminal</string>
</property>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
</widget>
<widget class="QMenu" name="menuEchidna">
<property name="title">
<string>File</string>
</property>
<widget class="QMenu" name="menuNew">
<property name="title">
<string>New</string>
</property>
<addaction name="actionFile"/>
<addaction name="actionWindow"/>
</widget>
<addaction name="menuNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
</widget>
<addaction name="menuEchidna"/>
<addaction name="menuEdiut"/>
<addaction name="menuSelection"/>
<addaction name="menuView"/>
<addaction name="menuGo"/>
<addaction name="menuRun"/>
<addaction name="menuTerminal"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionNew_File">
<property name="text">
<string>New File</string>
</property>
</action>
<action name="actionUndo">
<property name="text">
<string>Undo</string>
</property>
</action>
<action name="actionRedo">
<property name="text">
<string>Redo</string>
</property>
</action>
<action name="actionProblem">
<property name="text">
<string>Problems</string>
</property>
</action>
<action name="actionOutput">
<property name="text">
<string>Output</string>
</property>
</action>
<action name="actionTerminal">
<property name="text">
<string>Debug Console</string>
</property>
</action>
<action name="actionTerminal_2">
<property name="text">
<string>Terminal</string>
</property>
</action>
<action name="actionFile">
<property name="text">
<string>File</string>
</property>
</action>
<action name="actionOpen">
<property name="text">
<string>Open</string>
</property>
</action>
<action name="actionWindow">
<property name="text">
<string>Window</string>
</property>
</action>
<action name="actionSave">
<property name="text">
<string>Save</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>