~ea4k/klog/trunk

« back to all changes in this revision

Viewing changes to branches/1.3/setuppages/setuppageclublog.h

  • Committer: jaime
  • Date: 2020-10-03 09:19:54 UTC
  • Revision ID: svn-v4:5834a56a-7829-0410-841d-b57922c102d6::782
KLogĀ 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SETUPPAGECLUBLOG_H
 
2
#define SETUPPAGECLUBLOG_H
 
3
/***************************************************************************
 
4
                          setuppclublog.h  -  description
 
5
                             -------------------
 
6
    begin                : apt 2015
 
7
    copyright            : (C) 2015 by Jaime Robles
 
8
    email                : jaime@robles.es
 
9
 ***************************************************************************/
 
10
 
 
11
/*****************************************************************************
 
12
 * This file is part of KLog.                                             *
 
13
 *                                                                           *
 
14
 *    KLog is free software: you can redistribute it and/or modify        *
 
15
 *    it under the terms of the GNU General Public License as published by   *
 
16
 *    the Free Software Foundation, either version 3 of the License, or      *
 
17
 *    (at your option) any later version.                                    *
 
18
 *                                                                           *
 
19
 *    KLog is distributed in the hope that it will be useful,             *
 
20
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of         *
 
21
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
 
22
 *    GNU General Public License for more details.                           *
 
23
 *                                                                           *
 
24
 *    You should have received a copy of the GNU General Public License      *
 
25
 *    along with KLog.  If not, see <https://www.gnu.org/licenses/>.       *
 
26
 *                                                                           *
 
27
 *****************************************************************************/
 
28
 
 
29
 
 
30
#include <QtWidgets>
 
31
 
 
32
class SetupPageClubLog : public QWidget {
 
33
    Q_OBJECT
 
34
 
 
35
public:
 
36
    SetupPageClubLog(QWidget *parent=nullptr);
 
37
    ~SetupPageClubLog();
 
38
 
 
39
 
 
40
    void setEmail(const QString &c);
 
41
    void setPassword(const QString &c);
 
42
    void setCallsign(const QString &c);
 
43
    void setClubLog(const QString &_s);
 
44
    void setClubLogRealTime(const QString &_s);
 
45
    void setUseStationCall(const QString &_s);
 
46
 
 
47
 
 
48
 
 
49
    QString getEmail();
 
50
    QString getPassword();
 
51
    QString getCallsign();
 
52
    QString getClubLog();
 
53
    QString getClubLogRealTime();
 
54
    QString getUseQSOStationCallsign();
 
55
 
 
56
 
 
57
 
 
58
private slots:
 
59
 
 
60
    void slotClubLogActive(bool _s);
 
61
    void slotUseStationCall(bool _s);
 
62
 
 
63
private:
 
64
 
 
65
    //QString defaultFileName;
 
66
 
 
67
    QCheckBox *sendInRealTimeCheckBox, *clubLogActiveCheckBox, *useQSOStationCallCheckBox;
 
68
    QLineEdit *passwordLineEdit, *emailLineEdit, *callLineEdit;
 
69
    QString call, email, pass;
 
70
    QLabel *callLabel, *passwordLabel, *emailLabel;
 
71
    bool clubLogActive;
 
72
 
 
73
    //QPushButton *fileNameButton;
 
74
 
 
75
 
 
76
};
 
77
 
 
78
#endif // SETUPPAGECOLORS_H