![]() |
Songbook-Client
0.7
This application is a manager of customguitar songbooks
|
CSongItemDelegate draws items from CLibraryView. More...
#include <song-item-delegate.hh>
Public Member Functions | |
| CSongItemDelegate (QObject *parent=0) | |
| Constructor. | |
| ~CSongItemDelegate () | |
| Destructor. | |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
CSongItemDelegate draws items from CLibraryView.
Items are rows corresponding to a song and are composed of several columns for title, artist, album, language etc.
|
virtual |
Draws the song item at position index.
|
virtual |
Returns a fixed size hint for columns 2 and 5 (lilypond and language columns).
1.8.1.1