introbulmages/src/comun/calendario.h

Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                           calendario.h  -  description
00003                              -------------------
00004     begin                : sáb may 31 2003
00005     copyright            : (C) 2003 by Tomeu Borrás Riera
00006     email                : tborras@conetxia.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef CALENDARIO_H
00019 #define CALENDARIO_H
00020 
00021 
00022 /***@author Tomeu Borrás Riera */
00023 #include "qmcdatenav.h"
00024 
00025 #include <qdialog.h>
00026 #include <qdatetime.h>
00027 #include <qptrlist.h>
00028 
00029 class QmcDateNav;
00030 class QHBoxLayout;
00031 class QTabDialog;
00032 class QPushButton;
00033 class QCheckBox;
00034 class QVBox;
00035 
00036 
00037 class calendario: public QDialog
00038 {
00039     Q_OBJECT
00040 
00041 public:
00042     calendario( class QDialog * parent = 0, const char * name = 0 );
00043     ~calendario();
00044     QmcDateNav *dn;
00045     QPtrList<QDate> *eDays;
00046 
00047 public slots:
00048     void updateEventDays( int );
00049     void updateNWDs( int );
00050 
00051 private slots:
00052     void showOptions();
00053 
00054 private:
00055     void init();
00056 
00057     QHBoxLayout *mainLayout;
00058 
00059 
00060     QPtrList<QDate> *nwDays;
00061 
00062     QTabDialog *optionsDialog;
00063     QWidget *optionsWidget;
00064     QPushButton *optionsButton;
00065 
00066     // Pages...
00067     QVBox *generalOptions;
00068     QVBox *nwdOptions;
00069 
00070     QCheckBox *qcbOutlook;
00071     QCheckBox *qcbFrame;
00072 
00073     QCheckBox *qcbWorkMon;
00074     QCheckBox *qcbWorkTue;
00075     QCheckBox *qcbWorkWed;
00076     QCheckBox *qcbWorkThu;
00077     QCheckBox *qcbWorkFri;
00078     QCheckBox *qcbWorkSat;
00079     QCheckBox *qcbWorkSun;
00080 
00081     bool nonWorkDays[8];
00082          
00083          
00084          // TBR 12/06/03
00085         // bool calendario::eventFilter( QObject *, QEvent * );
00086 };
00087 
00088 
00089 
00090 #endif

Generado el Sat May 21 00:04:44 2005 para BulmaGes por  doxygen 1.4.2