43 MusicSmoothMovingTableWidget::selectRow(index);
49 for(
int i = 0; i < rowCount(); ++i)
51 height += rowHeight(i);
73 Q_EMIT cellDoubleClicked(currentRow(), 0);
84 if(rowCount() == 0 && state)
97 const QString &path = !
m_songs->isEmpty() ?
m_songs->at(currentRow()).path() : QString();
212 menu->addAction(QIcon(
":/contextMenu/btn_share"), tr(
"Share"),
this, SLOT(
showSongSharedWidget()));
222 return !
m_songs->isEmpty() ?
m_songs->at(index).path().trimmed() : QString();
232 if(rowCount() == 0 || index < 0)
237 return !
m_songs->isEmpty() ?
m_songs->at(index).name().trimmed() : QString();
static MusicApplication * instance()
void playIndexBy(int row)
static void popup(const QString &text)
TTK_MODULE_EXPORT bool openUrl(const QString &path, bool local=true)
static const QString MenuStyle02