Qt:Документация 4.3.2/qdateedit

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

QDateEdit Class Reference
[модуль QtGui ]

The QDateEdit class provides a widget for editing dates based on the QDateTimeEdit widget. More...

 #include <QDateEdit>

Inherits QDateTimeEdit.

Свойства

  • 13 свойства унаследованных от QDateTimeEdit
  • 11 свойства унаследованных от QAbstractSpinBox
  • 56 свойства унаследованных от QWidget
  • 1 свойство унаследованное от QObject

Открытые функции

  • 30 открытых функций унаследованных от QDateTimeEdit
  • 24 открытых функций унаследованных от QAbstractSpinBox
  • 201 открытых функций унаследованных от QWidget
  • 29 открытых функций унаследованных от QObject
  • 12 открытых функций унаследованных от QPaintDevice

Дополнительные унаследованные члены

  • 3 открытых слотов унаследованных от QDateTimeEdit
  • 4 открытых слотов унаследованных от QAbstractSpinBox
  • 19 открытых слотов унаследованных от QWidget
  • 1 открытый слот унаследованный от QObject
  • 3 сигнала унаследованных от QDateTimeEdit
  • 1 сигнал унаследованный от QAbstractSpinBox
  • 1 сигнал унаследованный от QWidget
  • 1 сигнал унаследованный от QObject
  • 4 статических открытых члена унаследованных от QWidget
  • 5 статических открытых члена унаследованных от QObject
  • 3 защищенных функций унаследованных от QDateTimeEdit
  • 4 защищенных функций унаследованных от QAbstractSpinBox
  • 38 защищенных функций унаследованных от QWidget
  • 7 защищенных функций унаследованных от QObject
  • 1 защищенная функция унаследованна от QPaintDevice
  • 1 защищенный слот унаследованный от QWidget

Подробное описание

The QDateEdit class provides a widget for editing dates based on the QDateTimeEdit widget.

Many of the properties and functions provided by QDateEdit are implemented in QDateTimeEdit. The following properties are most relevant to users of this class:

  • date holds the date displayed by the widget.
  • minimumDate defines the minimum (earliest) date that can be set by the user.
  • maximumDate defines the maximum (latest) date that can be set by the user.
  • displayFormat contains a string that is used to format the date displayed in the widget.


center A date editing widget shown in the Windows XP widget style.
center A date editing widget shown in the Macintosh widget style.
Файл:Plastique-dateedit.png A date editing widget shown in the Plastique widget style.

See also QTimeEdit and QDateTimeEdit.


Описание свойств

date : QDate

This property holds the QDate that is edited in the QDateEdit.

Функции доступа:


Описание функций-членов

QDateEdit::QDateEdit ( QWidget * parent = 0 )

Constructs an empty date editor with a parent.

QDateEdit::QDateEdit ( const QDate & date, QWidget * parent = 0 )

Constructs an empty date editor with a parent. The date is set to date.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2