Miam-Player  0.8.0
A nice music player
AddressBarButton Class Reference

The AddressBarButton class represents a part of a long path. More...

#include <addressbarbutton.h>

Inheritance diagram for AddressBarButton:

Signals

void aboutToShowMenu ()
 
void triggerLineEdit ()
 

Public Member Functions

 AddressBarButton (const QDir &newPath, AddressBar *parent, bool isAbsoluteRoot=false)
 
const QDir & path () const
 
void setHighlighted (bool b)
 
bool isHighlighted () const
 
QRect arrowRect () const
 

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *) override
 
virtual void mousePressEvent (QMouseEvent *) override
 
virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The AddressBarButton class represents a part of a long path.

Author
Matthieu Bachelier
See also
AddressBarMenu

Constructor & Destructor Documentation

AddressBarButton::AddressBarButton ( const QDir &  newPath,
AddressBar parent,
bool  isAbsoluteRoot = false 
)
explicit

XXX?

Member Function Documentation

void AddressBarButton::aboutToShowMenu ( )
signal
QRect AddressBarButton::arrowRect ( ) const
inline
bool AddressBarButton::isHighlighted ( ) const
inline
void AddressBarButton::mouseMoveEvent ( QMouseEvent *  )
overrideprotectedvirtual

Redefined.

void AddressBarButton::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Redefined.

void AddressBarButton::paintEvent ( QPaintEvent *  )
overrideprotectedvirtual

Redefined.

Right To Left

const QDir& AddressBarButton::path ( ) const
inline
void AddressBarButton::setHighlighted ( bool  b)
void AddressBarButton::triggerLineEdit ( )
signal

The documentation for this class was generated from the following files: