allow to set the default size of musredit via the musredit_startup.xml.

This commit is contained in:
2021-10-02 09:26:13 +02:00
parent c5da80eb8a
commit 7e32600b8a
12 changed files with 72 additions and 5 deletions

View File

@@ -67,6 +67,9 @@ public:
PTextEdit( QWidget *parent = nullptr );
virtual ~PTextEdit() {}
int getEditW() { return fEditW; }
int getEditH() { return fEditH; }
public slots:
void aboutToQuit();
@@ -170,6 +173,7 @@ private:
QTimer fFileSystemWatcherTimeout; ///< timer used to re-enable file system watcher. Needed to delay the re-enabling
QString fLastDirInUse; ///< string holding the path from where the last file was loaded.
QStringList fMusrFTPrevCmd;
int fEditW, fEditH;
QMap<QString, QAction*> fActions;
QAction *fMusrT0Action;