2015-05-04 18:20:43 +00:00
|
|
|
#ifndef SETUPPAGECLUBLOG_H
|
|
|
|
#define SETUPPAGECLUBLOG_H
|
|
|
|
/***************************************************************************
|
|
|
|
setuppclublog.h - description
|
|
|
|
-------------------
|
|
|
|
begin : apt 2015
|
|
|
|
copyright : (C) 2015 by Jaime Robles
|
|
|
|
email : jaime@robles.es
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* This file is part of KLog. *
|
|
|
|
* *
|
|
|
|
* KLog 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 3 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* KLog is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with KLog. If not, see <http://www.gnu.org/licenses/>. *
|
|
|
|
* *
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
2015-11-06 19:47:52 +00:00
|
|
|
#include <QtWidgets>
|
2015-05-04 18:20:43 +00:00
|
|
|
|
|
|
|
class SetupPageClubLog : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SetupPageClubLog(QWidget *parent=0);
|
|
|
|
~SetupPageClubLog();
|
|
|
|
|
|
|
|
|
|
|
|
void setEmail(const QString c);
|
|
|
|
void setPassword(const QString c);
|
|
|
|
void setCallsign(const QString c);
|
|
|
|
void setClubLog(const QString _s);
|
|
|
|
void setClubLogRealTime(const QString _s);
|
2015-06-07 11:50:34 +00:00
|
|
|
void setUseStationCall(const QString _s);
|
2015-05-04 18:20:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QString getEmail();
|
|
|
|
QString getPassword();
|
|
|
|
QString getCallsign();
|
|
|
|
QString getClubLog();
|
|
|
|
QString getClubLogRealTime();
|
2015-06-07 11:50:34 +00:00
|
|
|
QString getUseQSOStationCallsign();
|
|
|
|
|
2015-05-04 18:20:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void slotClubLogActive(bool _s);
|
2015-06-07 11:50:34 +00:00
|
|
|
void slotUseStationCall(bool _s);
|
2015-05-04 18:20:43 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
//QString defaultFileName;
|
|
|
|
|
2015-06-07 11:50:34 +00:00
|
|
|
QCheckBox *sendInRealTimeCheckBox, *clubLogActiveCheckBox, *useQSOStationCallCheckBox;
|
2015-05-04 18:20:43 +00:00
|
|
|
QLineEdit *passwordLineEdit, *emailLineEdit, *callLineEdit;
|
|
|
|
QString call, email, pass;
|
|
|
|
QLabel *callLabel, *passwordLabel, *emailLabel;
|
|
|
|
bool clubLogActive;
|
|
|
|
|
|
|
|
//QPushButton *fileNameButton;
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETUPPAGECOLORS_H
|