first re-commit.

This commit is contained in:
2025-08-05 22:36:00 +02:00
commit 316dc60b69
143 changed files with 11155 additions and 0 deletions

60
swclockcontrol.h Normal file
View File

@@ -0,0 +1,60 @@
/***************************************************************************
source::worx raDIYo
Copyright © 2020-2022 c.holzheuer
chris@sourceworx.org
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
***************************************************************************/
#ifndef SWCLOCKCONTROL_H
#define SWCLOCKCONTROL_H
#include <QBasicTimer>
#include <swcontrol.h>
#include <swflipdigit.h>
#include <ui_swclockcontrol.h>
/**
* @brief Das Clock-Control ist die 'Hauptseite' der RaDIYo-Gui und zeigt die
* Uhrzeit als FlipClock an.
* @see SWControl
* @see SWFlipDigit
*/
class SWClockControl : public SWControl, private Ui_SWClock
{
Q_OBJECT
public:
explicit SWClockControl( QWidget* parent, QSettings* settings );
virtual ~SWClockControl();
void timerEvent( QTimerEvent* event ) override;
void updateTime();
void switchTransition( int delta );
protected slots:
void chooseSlide();
void chooseFlip();
void chooseRotate();
protected:
QBasicTimer _ticker;
};
#endif // SWCLOCKCONTROL_H