![]() |
Miam-Player
0.8.0
A nice music player
|
The AddressBar class is the place where subfolders (instance of AddressBarButton) will be appended. More...
#include <addressbar.h>
Public Slots | |
void | init (const QDir &initDir) |
Signals | |
void | aboutToChangePath (const QDir &) |
Public Member Functions | |
AddressBar (QWidget *parent=nullptr) | |
void | findAndHighlightButton (const QPoint &p) |
QDir | currentDir () const |
bool | isDown () const |
void | setDown (bool down) |
bool | hasHiddenFolders () const |
Static Public Member Functions | |
static QString | getVolumeInfo (const QString &drive) |
This is an exception in this source code to define a function depending if Q_OS_WIN exists or not. More... | |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *) override |
virtual void | paintEvent (QPaintEvent *) override |
virtual void | resizeEvent (QResizeEvent *event) override |
The AddressBar class is the place where subfolders (instance of AddressBarButton) will be appended.
The path to a folder is splitted into folders. When there is not enough space to display the entire path, then first folders next to root are visually removed and stacked into a menu. When one triggers the root item, previously saved items are displayed in reverse order.
|
explicit |
|
signal |
|
inline |
void AddressBar::findAndHighlightButton | ( | const QPoint & | p | ) |
Called by the popup menu when one is moving the mouse cursor.
|
static |
This is an exception in this source code to define a function depending if Q_OS_WIN exists or not.
|
inline |
|
slot |
Init with an absolute path. Also used as a callback to a view.
|
inline |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
inline |