20#ifndef LIBREPCB_EDITOR_SCHEMATICPAGESDOCK_H
21#define LIBREPCB_EDITOR_SCHEMATICPAGESDOCK_H
39class GraphicsExportSettings;
49class SchematicPagesDock;
67 QWidget* parent =
nullptr);
84 void resizeEvent(QResizeEvent* event)
noexcept override;
94 void thumbnailReady(
int index, const QSize& pageSize, const QRectF margins,
95 std::shared_ptr<QPicture> picture);
Asynchronously exports graphics to a QPainter.
Definition graphicsexport.h:89
Settings for librepcb::GraphicsExport.
Definition graphicsexportsettings.h:51
The Project class represents a whole (opened) project with all its content.
Definition project.h:71
The SI_Symbol class.
Definition si_symbol.h:54
Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
Definition theme.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The SchematicPagesDock class.
Definition schematicpagesdock.h:59
void schematicModified(SI_Symbol &symbol) noexcept
Definition schematicpagesdock.cpp:172
void renameSchematicTriggered(int index)
QScopedPointer< GraphicsExport > mThumbnailGenerator
Definition schematicpagesdock.h:106
SchematicPagesDock(const SchematicPagesDock &other)=delete
void removeSelectedSchematic() noexcept
Definition schematicpagesdock.cpp:134
SchematicPagesDock()=delete
std::shared_ptr< GraphicsExportSettings > mThumbnailSettings
Definition schematicpagesdock.h:107
SchematicPagesDock & operator=(const SchematicPagesDock &rhs)=delete
void setBackgroundColor(const QColor &c) noexcept
Definition schematicpagesdock.h:71
void schematicAdded(int newIndex) noexcept
Definition schematicpagesdock.cpp:142
~SchematicPagesDock()
Definition schematicpagesdock.cpp:109
std::optional< Uuid > mCurrentThumbnailSchematic
Definition schematicpagesdock.h:105
QVector< QVector< QMetaObject::Connection > > mSchematicConnections
Definition schematicpagesdock.h:109
QScopedPointer< Ui::SchematicPagesDock > mUi
Definition schematicpagesdock.h:100
void renameSelectedSchematic() noexcept
Definition schematicpagesdock.cpp:138
void removeSchematicTriggered(int index)
QSet< Uuid > mScheduledThumbnailSchematics
Definition schematicpagesdock.h:104
UndoStack & mUndoStack
Definition schematicpagesdock.h:99
Project & mProject
Definition schematicpagesdock.h:98
void thumbnailReady(int index, const QSize &pageSize, const QRectF margins, std::shared_ptr< QPicture > picture)
Definition schematicpagesdock.cpp:215
void updateNextThumbnail() noexcept
Definition schematicpagesdock.cpp:186
void updateSchematicNames() noexcept
Definition schematicpagesdock.cpp:176
void selectedSchematicChanged(int index)
void resizeEvent(QResizeEvent *event) noexcept override
Definition schematicpagesdock.cpp:124
QColor mBackgroundColor
Definition schematicpagesdock.h:101
QTimer mThumbnailTimer
Definition schematicpagesdock.h:108
void setSelectedSchematic(int index) noexcept
Definition schematicpagesdock.cpp:116
void schematicRemoved(int oldIndex) noexcept
Definition schematicpagesdock.cpp:164
void addSchematicTriggered()
The UndoStack class holds UndoCommand objects and provides undo/redo commands.
Definition undostack.h:106
Definition occmodel.cpp:76