File: gestionnairetle.h

package info (click to toggle)
previsat 3.5.1.7%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 32,724 kB
  • sloc: cpp: 17,583; xml: 62; makefile: 22; sh: 6
file content (172 lines) | stat: -rw-r--r-- 4,410 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/*
 *     PreviSat, Satellite tracking software
 *     Copyright (C) 2005-2016  Astropedia web: http://astropedia.free.fr  -  mailto: astropedia@free.fr
 *
 *     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 3 of the License, or
 *     (at your option) any later version.
 *
 *     This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * _______________________________________________________________________________________________________
 *
 * Nom du fichier
 * >    gestionnairetle.h
 *
 * Localisation
 * >
 *
 * Heritage
 * >    QMainWindow
 *
 * Auteur
 * >    Astropedia
 *
 * Date de creation
 * >    4 mars 2012
 *
 * Date de revision
 * >    3 octobre 2015
 *
 */

#ifndef GESTIONNAIRETLE_H
#define GESTIONNAIRETLE_H

#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wfloat-equal"
#include <QMainWindow>
#include <QtNetwork>
#pragma GCC diagnostic warning "-Wconversion"
#pragma GCC diagnostic warning "-Wfloat-equal"
#include "librairies/corps/satellite/satellite.h"
#include "librairies/corps/satellite/tle.h"

namespace Ui {
    class GestionnaireTLE;
}

class GestionnaireTLE : public QMainWindow
{
    Q_OBJECT

public:

    /* Constructeurs */
    explicit GestionnaireTLE(QWidget *fenetreParent = 0);
    ~GestionnaireTLE();

    /* Constantes publiques */

    /* Variables publiques */

    /* Methodes publiques */

    /* Accesseurs */


protected:

    /* Constantes protegees */

    /* Variables protegees */

    /* Methodes protegees */


private slots:

    void closeEvent(QCloseEvent *evt);

    /**
     * @brief on_fermer_clicked Fermeture de la fenetre
     */
    void on_fermer_clicked();

    /**
     * @brief on_actionCreer_un_groupe_triggered Creation d'un groupe de TLE
     */
    void on_actionCreer_un_groupe_triggered();

    /**
     * @brief on_actionSupprimerGroupe_triggered Suppression d'un groupe de TLE
     */
    void on_actionSupprimerGroupe_triggered();

    /**
     * @brief on_listeGroupeTLE_customContextMenuRequested Affichage du menu contextuel pour les groupes de TLE
     * @param position position du curseur
     */
    void on_listeGroupeTLE_customContextMenuRequested(const QPoint &position);

    /**
     * @brief on_listeGroupeTLE_currentRowChanged Selection d'un groupe de TLE
     * @param currentRow indice du groupe
     */
    void on_listeGroupeTLE_currentRowChanged(int currentRow);

    /**
     * @brief on_valider_clicked Validation de la creation d'un groupe de TLE
     */
    void on_valider_clicked();

    /**
     * @brief on_annuler_clicked Annulation de la creation d'un groupe de TLE
     */
    void on_annuler_clicked();

    /**
     * @brief on_actionAjouter_des_fichiers_triggered Ajout de fichiers dans le groupe de TLE
     */
    void on_actionAjouter_des_fichiers_triggered();

    /**
     * @brief on_actionSupprimer_triggered Suppression d'un fichier dans le groupe de TLE
     */
    void on_actionSupprimer_triggered();

    /**
     * @brief on_listeFichiersTLE_customContextMenuRequested Menu contextuel de la liste de fichiers TLE
     * @param position position du curseur
     */
    void on_listeFichiersTLE_customContextMenuRequested(const QPoint &position);

    /**
     * @brief on_MajAutoGroupe_toggled Selection de la mise a jour automatique du groupe de TLE
     * @param checked Mise a jour si coche
     */
    void on_MajAutoGroupe_toggled(bool checked);

    /**
     * @brief on_creationGroupe_clicked Creation d'un groupe de TLE
     */
    void on_creationGroupe_clicked();

    /**
     * @brief on_ajoutFichiersTLE_clicked Ajout de fichiers TLE
     */
    void on_ajoutFichiersTLE_clicked();


private:

    /* Constantes privees */

    /* Variables privees */
    Ui::GestionnaireTLE *ui;

    /* Methodes privees */
    /**
     * @brief load Chargement des elements dans la fenetre
     */
    void load();
};

#endif // GESTIONNAIRETLE_H