Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
epasveer committed Aug 10, 2024
2 parents 3a1c436 + 71327dc commit 57990dc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ QDetachTabWidget

QDetachTabWidget is an extenstion of QTabWidget to implement detachable tabs.

Double-click on any tab in the tab widget will bring up a small menu to detach the
Doing a RMB click on any tab in the tab widget will bring up a small menu to detach the
tab into a separate window. The separated window can be resized and
moved anywhere on your screen. Note, it can not be closed using the window's menu bar.

In the QDetachTabWidget, a blank widget is put in the place of the detached widget.
QDetachTabWidget remembers the detached widget and the placeholder widget. If you
double-click the tab again, it will show the small menu again where
you can then reattach the widget.
In the QDetachTabWidget, a blank widget is put in the place of the detached widget. This
blank widget will have a 'Reattach' button in its center. QDetachTabWidget remembers the
detached widget and the placeholder widget. If you RMB click on the tab again, it will
show the small menu again where you can then reattach the widget.

This implemenation handles the cases of movable tabs and closeable tabs.

Expand All @@ -21,9 +21,10 @@ ScreenShot
==========

![](images/screenshot.png)
![](images/screenshot_reattach.png)

Building QDetachTabWidget
===========================
Building QDetachTabWidget demo test program
===========================================

Download the latest code using 'clone'.

Expand Down

0 comments on commit 57990dc

Please sign in to comment.