Add feature to duplicate tabs (#5277)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
KleberPF
2024-05-25 09:39:19 -03:00
committed by GitHub
parent c5802a0f49
commit d161036b18
8 changed files with 158 additions and 3 deletions
+9
View File
@@ -42,7 +42,16 @@ public:
NotebookTab *addPage(QWidget *page, QString title = QString(),
bool select = false);
/**
* @brief Adds a page to the Notebook at a given position.
*
* @param position if set to -1, adds the page to the end
**/
NotebookTab *addPageAt(QWidget *page, int position,
QString title = QString(), bool select = false);
void removePage(QWidget *page);
void duplicatePage(QWidget *page);
void removeCurrentPage();
/**