mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
initial delegate work
This commit is contained in:
@@ -42,7 +42,7 @@ public:
|
|||||||
virtual QRect checkRectForIndex( const QStyleOptionViewItem &option, const QModelIndex &idx, int role ) const;
|
virtual QRect checkRectForIndex( const QStyleOptionViewItem &option, const QModelIndex &idx, int role ) const;
|
||||||
virtual QRect configRectForIndex( const QStyleOptionViewItem& option, const QModelIndex& idx ) const;
|
virtual QRect configRectForIndex( const QStyleOptionViewItem& option, const QModelIndex& idx ) const;
|
||||||
|
|
||||||
// virtual QList<int> extraCheckRoles() const { return QList<int>() << (int)AccountModel::AccountTypeRole; }
|
virtual QList<int> extraCheckRoles() const { return QList<int>() << (int)AccountModel::AccountTypeRole; }
|
||||||
private slots:
|
private slots:
|
||||||
void askedForEdit( const QModelIndex& idx );
|
void askedForEdit( const QModelIndex& idx );
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
|||||||
settingsdialog.cpp
|
settingsdialog.cpp
|
||||||
diagnosticsdialog.cpp
|
diagnosticsdialog.cpp
|
||||||
configdelegatebase.cpp
|
configdelegatebase.cpp
|
||||||
# AccountDelegate.cpp
|
AccountDelegate.cpp
|
||||||
settingslistdelegate.cpp
|
settingslistdelegate.cpp
|
||||||
tomahawkwindow.cpp
|
tomahawkwindow.cpp
|
||||||
LoadXSPFDialog.cpp
|
LoadXSPFDialog.cpp
|
||||||
@@ -125,7 +125,7 @@ SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
|||||||
settingsdialog.h
|
settingsdialog.h
|
||||||
diagnosticsdialog.h
|
diagnosticsdialog.h
|
||||||
configdelegatebase.h
|
configdelegatebase.h
|
||||||
# AccountDelegate.h
|
AccountDelegate.h
|
||||||
settingslistdelegate.h
|
settingslistdelegate.h
|
||||||
delegateconfigwrapper.h
|
delegateconfigwrapper.h
|
||||||
tomahawkwindow.h
|
tomahawkwindow.h
|
||||||
|
@@ -52,7 +52,7 @@ public:
|
|||||||
HasConfig = Qt::UserRole + 26,
|
HasConfig = Qt::UserRole + 26,
|
||||||
ErrorString = Qt::UserRole + 27,
|
ErrorString = Qt::UserRole + 27,
|
||||||
|
|
||||||
// used by individual accounts, needed still?
|
// used by individual accounts
|
||||||
AccountData = Qt::UserRole + 28 // raw plugin
|
AccountData = Qt::UserRole + 28 // raw plugin
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user