switched from qsettings to json added editng of actors
This commit is contained in:
parent
b04fbfb5bc
commit
df27b622a0
141 changed files with 4402 additions and 5068 deletions
29
src/ui/actorwidgets/alarmwidget.h
Normal file
29
src/ui/actorwidgets/alarmwidget.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef ALARMWIDGET_H
|
||||
#define ALARMWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "../../actors/alarmtime.h"
|
||||
|
||||
namespace Ui {
|
||||
class AlarmWidget;
|
||||
}
|
||||
|
||||
class AlarmWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
AlarmTime* alarm_;
|
||||
|
||||
public:
|
||||
explicit AlarmWidget(AlarmTime* alarm, QWidget *parent = nullptr);
|
||||
~AlarmWidget();
|
||||
|
||||
private slots:
|
||||
void toggleRepeating(int state);
|
||||
void setRepeatingType();
|
||||
|
||||
private:
|
||||
Ui::AlarmWidget *ui;
|
||||
};
|
||||
|
||||
#endif // ALARMWIDGET_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue