⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qspaceritem.3qt

📁 Trolltech公司发布的基于C++图形开发环境
💻 3QT
字号:
'\" t.TH QSpacerItem 3qt "24 January 2005" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQSpacerItem \- The.br.PP\fC#include <qabstractlayout.h>\fR.PPInherits QLayoutItem..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQSpacerItem\fR ( int " "w" ", int " "h" ", QSizePolicy::SizeType hData=QSizePolicy::Minimum, QSizePolicy::SizeType vData= QSizePolicy::Minimum ) ".br.ti -1c.BI "void \fBchangeSize\fR ( int " "w" ", int " "h" ", QSizePolicy::SizeType hData=QSizePolicy::Minimum, QSizePolicy::SizeType vData=QSizePolicy::Minimum ) ".br.ti -1c.BI "virtual QSize \fBsizeHint\fR () const".br.ti -1c.BI "virtual QSize \fBminimumSize\fR () const".br.ti -1c.BI "virtual QSize \fBmaximumSize\fR () const".br.ti -1c.BI "virtual QSizePolicy::ExpandData \fBexpanding\fR () const".br.ti -1c.BI "virtual bool \fBisEmpty\fR () const".br.ti -1c.BI "virtual void \fBsetGeometry\fR ( const QRect & ) ".br.in -1c.SH DESCRIPTIONThe QLayoutItem class that represents blank space..PPFor custom layouts..PPSee also QLayout..SH MEMBER FUNCTION DOCUMENTATION.SH "QSpacerItem::QSpacerItem ( int w, int h, QSizePolicy::SizeType hData=QSizePolicy::Minimum=QSizePolicy::Minimum, QSizePolicy::SizeType vData= QSizePolicy::Minimum= QSizePolicy::Minimum )"Constructs a spacer item with preferred width \fIw,\fR preferred height \fIh,\fR horizontal size policy \fIhData\fR and vertical size policy \fIvData.\fR.PPThe default values gives a gap that is able to stretch, if nothing else wants the space..SH "void QSpacerItem::changeSize ( int w, int h, QSizePolicy::SizeType hData=QSizePolicy::Minimum, QSizePolicy::SizeType vData=QSizePolicy::Minimum )"Changes this spacer item to have preferred width \fIw,\fR preferred height \fIh,\fR horizontal size policy \fIhData\fR and vertical size policy \fIvData.\fR.PPThe default values gives a gap that is able to stretch, if nothing else wants the space..SH "QSizePolicy::ExpandData QSpacerItem::expanding() const \fC[virtual]\fR"Returns whether this space item is expanding..PPReimplemented from QLayoutItem..SH "QRect QSpacerItem::geometry () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QLayoutItem..SH "bool QSpacerItem::isEmpty () const \fC[virtual]\fR"Returns TRUE, since a space item never contains widgets..PPReimplemented from QLayoutItem..SH "QSize QSpacerItem::maximumSize () const \fC[virtual]\fR"Returns the maximum size of this space item..PPReimplemented from QLayoutItem..SH "QSize QSpacerItem::minimumSize () const \fC[virtual]\fR"Returns the minimum size of this space item..PPReimplemented from QLayoutItem..SH "void QSpacerItem::setGeometry ( const QRect & r ) \fC[virtual]\fR"This function stores \fIr,\fR so it can be returned by geometry()..PPReimplemented from QLayoutItem..SH "QSize QSpacerItem::sizeHint () const \fC[virtual]\fR"Returns the preferred size of this space item..PPReimplemented from QLayoutItem..SH "QSpacerItem * QSpacerItem::spacerItem () \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QLayoutItem..SH "SEE ALSO".BR http://doc.trolltech.com/qspaceritem.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qspaceritem.3qt) and the Qtversion (2.3.10).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -