Ananas Library 0.9.5
wdateedit.h
1/****************************************************************************
2** $Id: wdateedit.h,v 1.5 2008/06/07 15:51:01 app Exp $
3**
4** Header file of the field plugin of Ananas
5** Designer and Engine applications
6**
7** Created : 20031201
8**
9** Copyright (C) 2003-2004 Grigory Panov, Yoshkar-Ola.
10**
11** This file is part of the Ananas Plugins of the Ananas
12** automation accounting system.
13**
14** This file may be distributed and/or modified under the terms of the
15** GNU General Public License version 2 as published by the Free Software
16** Foundation and appearing in the file LICENSE.GPL included in the
17** packaging of this file.
18**
19** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21**
22** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
23** See http://www.leaderit.ru/gpl/ for GPL licensing information.
24**
25** Contact org@leaderit.ru if any conditions of this licensing are
26** not clear to you.
27**
28**********************************************************************/
29
30#ifndef WDATEEDIT_H
31#define WDATEEDIT_H
32
33#include <qlabel.h>
34#include <qdatetimeedit.h>
35#include <qwidgetplugin.h>
36#include <qwidget.h>
37#include <qdialog.h>
38#include <qpainter.h>
39
47class wUnknownField : public QLabel
48{
49 Q_OBJECT
50public:
51 wUnknownField( QWidget *parent = 0, const char *name = 0):QLabel(parent, name){};
52
53};
54
55
65class wDateEdit : public QDateEdit
66{
67 Q_OBJECT
68public:
69 wDateEdit(QWidget* parent = 0, const char* name = 0);
70 wDateEdit(const QDate &date,
71 QWidget* parent = 0,
72 const char* name = 0 );
73 ~wDateEdit();
74protected:
75 void focusOutEvent ( QFocusEvent * );
76signals:
77 void lostFocus();
78};
79
80#endif
Плагин – виджет используется в экранных формах в качестве поля ввода/редактирования атрибута типа Дат...
Definition wdateedit.h:66
~wDateEdit()
Definition wdateedit.cpp:58
wDateEdit(QWidget *parent=0, const char *name=0)
Definition wdateedit.cpp:39
void focusOutEvent(QFocusEvent *)
Definition wdateedit.cpp:69
Плагин-виджет для отображения в экранной форме поля типа Unknown. Наследует QLabel....
Definition wdateedit.h:48