Miam-Player  0.8.0
A nice music player
TagButton Class Reference

The TagButton class is a small closable button which can be inserted in a QLineEdit. More...

#include <tagbutton.h>

Inheritance diagram for TagButton:

Signals

void shown ()
 

Public Member Functions

 TagButton (const QString &tag, TagLineEdit *parent)
 
QToolButton * closeButton () const
 
const QString text () const
 
int position () const
 
void setPosition (int position)
 
int spaceCount () const
 
void setSpaceCount (int spaceCount)
 
int column () const
 
void setColumn (int column)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *)
 
virtual void showEvent (QShowEvent *event)
 

Detailed Description

The TagButton class is a small closable button which can be inserted in a QLineEdit.

This class is a convenient way to use tags inside a line edit in order to execute conversion. It's simpler to use this kind of buttons instead of custom scripts like artist%.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

TagButton::TagButton ( const QString &  tag,
TagLineEdit parent 
)
explicit

Member Function Documentation

QToolButton* TagButton::closeButton ( ) const
inline
int TagButton::column ( ) const
inline
void TagButton::paintEvent ( QPaintEvent *  )
protectedvirtual
int TagButton::position ( ) const
inline
void TagButton::setColumn ( int  column)
inline
void TagButton::setPosition ( int  position)
inline
void TagButton::setSpaceCount ( int  spaceCount)
inline
void TagButton::showEvent ( QShowEvent *  event)
protectedvirtual
void TagButton::shown ( )
signal
int TagButton::spaceCount ( ) const
inline
const QString TagButton::text ( ) const
inline

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