PDA

View Full Version : Closable Tabs in QML



nikolay
26th October 2015, 15:25
QML's TabView (v.5.5) does not support close button for closing tabs. It is not as easy to add as mouse events can be passed only if it is a style.

I put my implementation, with many qt bug workarounds, into a reusable example:

http://www.qml-object-library.com/library/9-qml-templates/8-frame-of-an-application-with-closable-tabs

Or, also on the same subject: https://forum.qt.io/topic/37649/solved-how-to-add-a-close-button-in-tabview-tabs

anda_skoa
26th October 2015, 16:30
The link does not contain such an example.

Please fix or remove the thread, otherwise this adds one more to your spam counter

Cheers,
_

nikolay
9th November 2015, 15:21
The link does not contain such an example.

Please fix or remove the thread, otherwise this adds one more to your spam counter

Cheers,
_

I updated "Download" button link to: http://www.qml-object-library.com/library/repository/QML-Templates/Closable-Tabs-Application-Frame/

Thank You.