TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TTKModule
TTKWidget
musicToolsSetsKits
musictimerwidget.h
Go to the documentation of this file.
1
#ifndef MUSICTIMERWIDGET_H
2
#define MUSICTIMERWIDGET_H
3
4
/***************************************************************************
5
* This file is part of the TTK Music Player project
6
* Copyright (C) 2015 - 2026 Greedysky Studio
7
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 3 of the License, or
11
* (at your option) any later version.
12
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
18
* You should have received a copy of the GNU General Public License along
19
* with this program; If not, see <http://www.gnu.org/licenses/>.
20
***************************************************************************/
21
22
#include "
musicabstractmovedialog.h
"
23
24
namespace
Ui
{
25
class
MusicTimerWidget
;
26
}
27
31
class
TTK_MODULE_EXPORT
MusicTimerWidget
:
public
MusicAbstractMoveDialog
32
{
33
Q_OBJECT
34
public
:
38
explicit
MusicTimerWidget
(QWidget *parent =
nullptr
);
42
~
MusicTimerWidget
();
43
47
void
setSongStringList(
const
QStringList &list);
48
49
public
Q_SLOTS:
53
void
changeWidgetIndex(
int
index);
57
void
saveParameterSettings();
61
void
buttonClicked(
int
index);
62
63
private
:
67
void
initFirstWidget();
71
void
initSecondWidget();
75
void
initThreeWidget();
79
void
setEnabledFirstControl(
bool
enabled);
83
void
setEnabledSecondControl(
bool
enabled);
87
void
setEnabledThreeControl(
bool
enabled);
91
void
initComboParameter();
95
void
initParemeter();
99
void
writeParemeter()
const
;
100
101
Ui::MusicTimerWidget *
m_ui
;
102
QStringList
m_hour
;
103
QStringList
m_second
;
104
QStringList
m_repeat
;
105
106
};
107
108
#endif // MUSICTIMERWIDGET_H
musicabstractmovedialog.h
TTK_MODULE_EXPORT
#define TTK_MODULE_EXPORT
Definition:
ttkmoduleexport.h:27
MusicTimerWidget::m_hour
QStringList m_hour
Definition:
musictimerwidget.h:102
Ui
Definition:
musicapplication.h:36
MusicTimerWidget::m_repeat
QStringList m_repeat
Definition:
musictimerwidget.h:104
MusicTimerWidget::m_ui
Ui::MusicTimerWidget * m_ui
Definition:
musictimerwidget.h:101
MusicAbstractMoveDialog
The class of the moving dialog base.
Definition:
musicabstractmovedialog.h:28
MusicTimerWidget::m_second
QStringList m_second
Definition:
musictimerwidget.h:103
MusicTimerWidget
The class of the timer widget.
Definition:
musictimerwidget.h:31
Generated on Mon Feb 23 2026 13:09:55 for TTKMusicPlayer by
1.8.8