#ifndef ALARMEDIALOG_H
#define ALARMEDIALOG_H

#include <QtGui>
#include <QDialog>
#include <QtSql>
#include <QtCore>
#include <QStringList>


#include "ui_alarmedialog.h"

/*class maclasse : public QTableView, public Ui::AlarmeDialog
{
class QAbstractItemView;
public:
maclasse(QWidget *parent = 0);
QModelIndexList liste;
void recup();
//virtual QModelIndexList selectedIndexes() const{return liste;}

};*/

class Alarmedialog : public QDialog, public Ui::AlarmeDialog
{

Q_OBJECT

public:

Alarmedialog(QWidget *parent = 0);
QSqlTableModel *model;
QSortFilterProxyModel *proxymodel;
//QSqlTableModel *modele;

//QTableView *tableView;

QString texte;
QStringList textes;
QModelIndex index;
QString id;

QDate date2;

QDate date3;



//QLineEdit *lineEdit;idem

//QCalendarWidget *calendar;idem

signals:

void clicked();
//void textChanged(const QString&);

public slots:
void textechange(const QString&);
void textenonchange();
void ma_fonction_globale();

};


#endif





