Added actual layout switch

This commit is contained in:
Robbi Blechdose
2023-03-10 20:09:50 +01:00
parent 84249daf5b
commit 57ce214e14
6 changed files with 28 additions and 13 deletions

View File

@ -43,6 +43,8 @@ class LayoutManager : public QObject {
//produces a list of the names of all the available layout.
QStringList getLayoutNames() const;
public slots:
//This is necessary to prevent issues with the overloaded load() function
void loadLayoutFromButton(QString name);
//load a layout with a given name
bool load(const QString& name);
//look for the last loaded layout and try to load that.