![]() |
Miam-Player
0.8.0
A nice music player
|
The TabBar class is used to be able to rename a tab, e.g. a Playlist. More...
#include <tabbar.h>
Signals | |
void | tabRenamed (int index, const QString &text) |
Public Member Functions | |
TabBar (TabPlaylist *parent) | |
void | editTab (int indexTab) |
virtual bool | eventFilter (QObject *, QEvent *) |
Protected Member Functions | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | paintEvent (QPaintEvent *) |
virtual QSize | tabSizeHint (int index) const |
The TabBar class is used to be able to rename a tab, e.g. a Playlist.
By double clicking or using the contextual menu, one can interact with the name of every playlists in this Widget. It also forwards drag & drop events to automatically switch from one tab to another.
|
explicit |
|
protectedvirtual |
Redefined to accept D&D from another playlist or the library.
|
protectedvirtual |
Redefined to accept D&D from another playlist or the library.
|
protectedvirtual |
Redefined to accept D&D from another playlist or the library.
void TabBar::editTab | ( | int | indexTab | ) |
Trigger a double click to rename a tab.
|
virtual |
Redefined to validate new tab name if the focus is lost.
|
protectedvirtual |
Redefined to display an editable area.
|
protectedvirtual |
Redefined to validate new tab name without pressing return.
|
protectedvirtual |
|
signal |
|
protectedvirtual |
Redefined to return a square for the last tab which is the [+] button.