44 MusicSmoothMovingTableWidget::selectRow(index);
50 for(
int i = 0; i < rowCount(); ++i)
52 height += rowHeight(i);
74 Q_EMIT cellDoubleClicked(currentRow(), 0);
85 if(rowCount() == 0 && state)
98 const QString &path = !
m_songs->isEmpty() ?
m_songs->at(currentRow()).path() : QString();
213 menu->addAction(QIcon(
":/contextMenu/btn_share"), tr(
"Share"),
this, SLOT(
showSongSharedWidget()));
223 return !
m_songs->isEmpty() ?
m_songs->at(index).path().trimmed() : QString();
233 if(rowCount() == 0 || index < 0)
238 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