Qt:Документация 4.3.2/qlcdnumber-qt3
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
[править] Qt 3 Support Members for QLCDNumber
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
[править] Открытые функции
- QLCDNumber ( QWidget * parent, const char * name )
- QLCDNumber ( uint numDigits, QWidget * parent, const char * name )
- int margin () const
- void setMargin ( int margin )
- 60 открытых функций унаследованных от QWidget
- 8 открытых функций унаследованных от QObject
- 8 открытых функций унаследованных от QPaintDevice
[править] Описание функций-членов
[править] QLCDNumber::QLCDNumber ( QWidget * parent, const char * name )
Constructs an LCD number, sets the number of digits to 5, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The segmentStyle() is set to Outline.
The parent and name arguments are passed to the QFrame constructor.
See also setNumDigits() and setSmallDecimalPoint().
[править] QLCDNumber::QLCDNumber ( uint numDigits, QWidget * parent, const char * name )
Constructs an LCD number, sets the number of digits to numDigits, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The segmentStyle() is set to Outline.
The parent and name arguments are passed to the QFrame constructor.
See also setNumDigits() and setSmallDecimalPoint().
[править] int QLCDNumber::margin () const
Returns the with of the the margin around the contents of the widget.
Use QWidget::getContentsMargins() instead.
See also setMargin() and QWidget::getContentsMargins().
[править] void QLCDNumber::setMargin ( int margin )
Sets the width of the margin around the contents of the widget to margin.
Use QWidget::setContentsMargins() instead.
See also margin() and QWidget::setContentsMargins().
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|