Qt 3 Support Members for QSplitterThe 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. Public Types
Public Functions
Member Type Documentationenum QSplitter::ResizeModeThis enum describes the different resizing behaviors child widgets can have:
Use setStretchFactor() instead. Member Function DocumentationQSplitter::QSplitter ( QWidget * parent, const char * name )Use one of the constructors that doesn't take the name argument and then use setObjectName() instead. QSplitter::QSplitter ( Qt::Orientation orientation, QWidget * parent, const char * name )Use one of the constructors that don't take the name argument and then use setObjectName() instead. int QSplitter::margin () constReturns the with of the the margin around the contents of the widget. Use QWidget::getContentsMargins() instead. See also setMargin() and QWidget::getContentsMargins(). void QSplitter::moveToFirst ( QWidget * widget )Use insertWidget(0, widget) instead. void QSplitter::moveToLast ( QWidget * widget )Use addWidget(widget) instead. void QSplitter::setCollapsible ( QWidget * widget, bool collapsible )This is an overloaded member function, provided for convenience. Use setCollapsible(indexOf(widget, collapsible)) instead. void QSplitter::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(). void QSplitter::setResizeMode ( QWidget * widget, ResizeMode mode )Use setStretchFactor() instead. For example, if you have code like splitter->setResizeMode(firstChild, QSplitter::KeepSize); splitter->setResizeMode(secondChild, QSplitter::Stretch); you can rewrite it as splitter->setStretchFactor(splitter->indexOf(firstChild), 0); splitter->setStretchFactor(splitter->indexOf(secondChild), 1);
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |