43 lines
1002 B
C
43 lines
1002 B
C
|
/***************************************************************************
|
||
|
|
||
|
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 SWBASECONTROL_H
|
||
|
#define SWBASECONTROL_H
|
||
|
|
||
|
|
||
|
#include <swcontrol.h>
|
||
|
#include <ui_swbasecontrol.h>
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @brief Basisklasse für alle Controls, die einen Headertext anzeigen.
|
||
|
*/
|
||
|
|
||
|
class SWBaseControl : public SWControl, protected Ui_SWBaseControl
|
||
|
{
|
||
|
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
explicit SWBaseControl( QWidget* parent, QSettings* settings );
|
||
|
virtual ~SWBaseControl() = default;
|
||
|
|
||
|
QString headerText();
|
||
|
void setHeaderText( const QString& headerText );
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // SWBASECONTROL_H
|