kplato
kptcalendareditbase.h
00001 /* This file is part of the KDE project 00002 Copyright (C) 2004 Dag Andersen <danders@get2net.dk> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; 00007 version 2 of the License. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 * Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef KPTCALENDAREDITBASE_H 00021 #define KPTCALENDAREDITBASE_H 00022 00023 #include <qvariant.h> 00024 #include <qwidget.h> 00025 00026 class QVBoxLayout; 00027 class QHBoxLayout; 00028 class QGridLayout; 00029 class QGroupBox; 00030 class QLabel; 00031 class QComboBox; 00032 class QButtonGroup; 00033 class QPushButton; 00034 class QListView; 00035 class QListViewItem; 00036 class QTimeEdit; 00037 00038 namespace KPlato 00039 { 00040 00041 class CalendarPanel; 00042 00043 class CalendarEditBase : public QWidget 00044 { 00045 Q_OBJECT 00046 00047 public: 00048 CalendarEditBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00049 ~CalendarEditBase(); 00050 00051 QGroupBox* groupBox2; 00052 CalendarPanel* calendarPanel; 00053 QButtonGroup* day; 00054 QComboBox* state; 00055 QPushButton* bApply; 00056 QGroupBox* groupBox4; 00057 QListView* intervalList; 00058 QTimeEdit* startTime; 00059 QTimeEdit* endTime; 00060 QPushButton* bClear; 00061 QPushButton* bAddInterval; 00062 00063 protected: 00064 QHBoxLayout* CalendarEditBaseLayout; 00065 QGridLayout* groupBox2Layout; 00066 QHBoxLayout* layout10; 00067 QVBoxLayout* dayLayout; 00068 QHBoxLayout* layout8; 00069 QVBoxLayout* groupBox4Layout; 00070 QHBoxLayout* layout6; 00071 QHBoxLayout* layout5; 00072 00073 protected slots: 00074 virtual void languageChange(); 00075 00076 }; 00077 00078 } //KPlato namespace 00079 00080 #endif // CALENDAREDITBASE_H