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::AddressBarButton ( const QDir &  newPath,
AddressBar parent,
bool  isAbsoluteRoot = false 
)
explicit

XXX?

Member Function Documentation

◆ aboutToShowMenu

void AddressBarButton::aboutToShowMenu ( )
signal

◆ arrowRect()

QRect AddressBarButton::arrowRect ( ) const
inline

◆ isHighlighted()

bool AddressBarButton::isHighlighted ( ) const
inline

◆ mouseMoveEvent()

void AddressBarButton::mouseMoveEvent ( QMouseEvent *  )
overrideprotectedvirtual

Redefined.

◆ mousePressEvent()

void AddressBarButton::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Redefined.

◆ paintEvent()

void AddressBarButton::paintEvent ( QPaintEvent *  )
overrideprotectedvirtual

Redefined.

Right To Left

◆ path()

const QDir& AddressBarButton::path ( ) const
inline

◆ setHighlighted()

void AddressBarButton::setHighlighted ( bool  b)

◆ triggerLineEdit

void AddressBarButton::triggerLineEdit ( )
signal

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