Make context title and summary changeable (#329)
* Make context title and summary changeable Closes #30 * Fix checkboxes on context settings page So...I am new to Qt, and I forgot that checkboxes can have a label. Duh. Fixed. * Put context settings in a different place * Put ReplaceMessage and ReplaceVariable in Utilities
This commit is contained in:
committed by
Jonas Kvinge
parent
a19ea8fdba
commit
079a559247
@@ -71,9 +71,9 @@ class ContextView : public QWidget {
|
||||
void Stopped();
|
||||
void Error();
|
||||
void SongChanged(const Song &song);
|
||||
void ReloadSettings();
|
||||
|
||||
private:
|
||||
static const char *kSettingsGroup;
|
||||
|
||||
Ui_ContextViewContainer *ui_;
|
||||
Application *app_;
|
||||
@@ -103,6 +103,8 @@ class ContextView : public QWidget {
|
||||
std::unique_ptr<QMovie> spinner_animation_;
|
||||
qint64 lyrics_id_;
|
||||
QString lyrics_;
|
||||
QString title_fmt_;
|
||||
QString summary_fmt_;
|
||||
|
||||
void AddActions();
|
||||
void SetLabelEnabled(QLabel *label);
|
||||
|
||||
Reference in New Issue
Block a user