20#ifndef LIBREPCB_EDITOR_MAINWINDOW_H
21#define LIBREPCB_EDITOR_MAINWINDOW_H
40class MainWindowTestAdapter;
41class ProjectReadmeRenderer;
60 slint::ComponentHandle<ui::AppWindow> win,
int id,
61 QObject* parent =
nullptr) noexcept;
80 bool trigger(ui::Action a) noexcept;
90 slint::ComponentHandle<ui::AppWindow>
mWindow;
The GuiApplication class.
Definition guiapplication.h:60
The MainWindow class.
Definition mainwindow.h:52
bool trigger(ui::Action a) noexcept
Definition mainwindow.cpp:216
slint::CloseRequestResponse closeRequested() noexcept
Definition mainwindow.cpp:195
std::unique_ptr< MainWindowTestAdapter > mTestAdapter
Definition mainwindow.h:94
void addTab(std::shared_ptr< WindowTab > tab) noexcept
Definition mainwindow.cpp:363
void popUpNotifications() noexcept
Definition mainwindow.cpp:185
void showPanelPage(ui::PanelPage page) noexcept
Definition mainwindow.cpp:181
std::unique_ptr< ProjectReadmeRenderer > mProjectPreviewRenderer
Definition mainwindow.h:93
void splitSection(int index) noexcept
Definition mainwindow.cpp:319
bool isCurrentWindow() const noexcept
Definition mainwindow.cpp:171
void updateHomeTabSection() noexcept
Definition mainwindow.cpp:357
int getId() const noexcept
Definition mainwindow.h:65
void triggerAsync(ui::Action a) noexcept
Definition mainwindow.cpp:210
const QString mSettingsPrefix
Definition mainwindow.h:88
slint::ComponentHandle< ui::AppWindow > mWindow
Definition mainwindow.h:90
std::shared_ptr< UiObjectList< WindowSection, ui::WindowSectionData > > mSections
Definition mainwindow.h:92
MainWindow(const MainWindow &other)=delete
const int mId
Definition mainwindow.h:87
void makeCurrentWindow() noexcept
Definition mainwindow.cpp:175
QWidget * mWidget
Definition mainwindow.h:91
bool switchToTab() noexcept
Definition mainwindow.cpp:373
GuiApplication & mApp
Definition mainwindow.h:89
Adapter class for automated GUI tests.
Definition mainwindowtestadapter.h:46
Renders a README.md or other file types as a QPixmap.
Definition projectreadmerenderer.h:44
The UiObjectList class.
Definition uiobjectlist.h:47
The WindowSection class.
Definition windowsection.h:51
The WindowTab class.
Definition windowtab.h:47
Definition occmodel.cpp:77