terminal strip Layout editor add help preview button

This commit is contained in:
joshua
2023-09-19 23:23:52 +02:00
committed by Laurent Trinques
parent b422d9c6c5
commit 258bfd7957
5 changed files with 272 additions and 235 deletions

View File

@@ -77,6 +77,8 @@ namespace TerminalStripDrawer
void setLayout(QSharedPointer<TerminalStripLayoutPattern> layout);
bool haveLayout() const;
void setPreviewDraw(bool draw = true);
private:
int height() const;
int width() const;
@@ -84,7 +86,7 @@ namespace TerminalStripDrawer
private:
QSharedPointer <AbstractTerminalStripInterface> m_strip;
QSharedPointer<TerminalStripLayoutPattern> m_pattern;
bool m_debug_draw { false };
bool m_preview_draw { false };
};
}