Add feature to duplicate tabs (#5277)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user