TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the server plugin manager table widget. More...
#include <musicpluginwidget.h>
Public Slots | |
virtual void | itemCellClicked (int row, int column) override |
void | checkedItemsStatus (bool checked) |
![]() | |
virtual void | itemCellClicked (int row, int column) override |
void | checkedItemsState (bool checked) |
void | checkedItemsStatus (bool checked) |
![]() | |
virtual void | itemCellEntered (int row, int column) |
virtual void | itemCellClicked (int row, int column) |
virtual void | removeItems () |
Public Member Functions | |
MusicServerPluginTableWidget (QWidget *parent=nullptr) | |
void | save () const |
![]() | |
MusicFillItemTableWidget (QWidget *parent=nullptr) | |
~MusicFillItemTableWidget () | |
TTKIntList | checkedIndexList () const |
TTKIntList | uncheckedIndexList () const |
![]() | |
MusicAbstractTableWidget (QWidget *parent=nullptr) | |
![]() | |
TTKAbstractTableWidget (QWidget *parent=nullptr) | |
~TTKAbstractTableWidget () | |
TTKIntList | selectedIndexList () const |
Private Member Functions | |
void | addCellItems () |
Additional Inherited Members | |
![]() | |
virtual void | leaveEvent (QEvent *event) override |
void | setRowColor (int row, const QColor &color) const |
bool | isValid () const noexcept |
![]() | |
TTKCheckBoxItemDelegate * | m_checkBoxDelegate |
![]() | |
int | m_previousColorRow |
int | m_previousClickRow |
QColor | m_backgroundColor |
The class of the server plugin manager table widget.
Definition at line 68 of file musicpluginwidget.h.
|
explicit |
Object constructor.
Definition at line 339 of file musicpluginwidget.cpp.
References addCellItems(), and TTK::UI::ScrollBarStyle01.
|
private |
Create cell items by input data.
Definition at line 434 of file musicpluginwidget.cpp.
References APPCACHE_DIR_FULL, QJsonParseError::error, QJsonDocument::fromJson(), G_SETTING_PTR, name, QJsonParseError::NoError, qAsConst, QtItemSetTextAlignment, QUERY_PLUGINS_URL, QJsonDocument::toVariant(), TTK_CHECKED_ROLE, TTK_ERROR_STREAM, TTK_INFO_STREAM, TTK_SPACE, and MusicSettingManager::UserPermission.
Referenced by MusicServerPluginTableWidget().
|
slot |
Checked items status.
Definition at line 424 of file musicpluginwidget.cpp.
References MusicFillItemTableWidget::checkedItemsStatus().
Table widget item cell click.
Definition at line 411 of file musicpluginwidget.cpp.
References TTK_CHECKED_ROLE, and TTKStaticCast.
void MusicServerPluginTableWidget::save | ( | ) | const |
Save data items.
Definition at line 358 of file musicpluginwidget.cpp.
References APPCACHE_DIR_FULL, QJsonParseError::error, QJsonDocument::fromJson(), QJsonDocument::fromVariant(), QJsonDocument::Indented, QJsonParseError::NoError, QUERY_PLUGINS_URL, QJsonDocument::toJson(), QJsonDocument::toVariant(), TTK_CHECKED_ROLE, TTK_ERROR_STREAM, and TTK_INFO_STREAM.