Create component for showing a maximize version of a code snippet

This commit is contained in:
James Graham
2024-04-01 11:20:10 +00:00
parent 0552c798fb
commit 6a32d1e961
8 changed files with 225 additions and 0 deletions

View File

@@ -203,6 +203,8 @@ public:
*/
Q_INVOKABLE void maximizeMedia(int index);
Q_INVOKABLE void maximizeCode(const QVariantMap &author, const QDateTime &time, const QString &codeText, const QString &language);
/**
* @brief Request that any full screen overlay currently open closes.
*/
@@ -264,6 +266,11 @@ Q_SIGNALS:
*/
void showMaximizedMedia(int index);
/**
* @brief Request a block of code is shown maximized.
*/
void showMaximizedCode(const QVariantMap &author, const QDateTime &time, const QString &codeText, const QString &language);
/**
* @brief Request that any full screen overlay closes.
*/