Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #270
Difficulty: Easy
Steve Jobs died of respiratory arrest related to a car accident at age 56 on October 5, 2011.
True or False?
Linux & Unix Commands - Search Man Pages

qsizegrip(3qt) [centos man page]

QSizeGrip(3qt)															    QSizeGrip(3qt)

NAME
QSizeGrip - Corner-grip for resizing a top-level window SYNOPSIS
#include <qsizegrip.h> Inherits QWidget. Public Members QSizeGrip ( QWidget * parent, const char * name = 0 ) ~QSizeGrip () virtual QSize sizeHint () const Protected Members virtual void paintEvent ( QPaintEvent * e ) virtual void mousePressEvent ( QMouseEvent * e ) virtual void mouseMoveEvent ( QMouseEvent * e ) DESCRIPTION
The QSizeGrip class provides a corner-grip for resizing a top-level window. This widget works like the standard Windows resize handle. In the X11 version this resize handle generally works differently from the one provided by the system; we hope to reduce this difference in the future. Put this widget anywhere in a widget tree and the user can use it to resize the top-level window. Generally, this should be in the lower right-hand corner. Note that QStatusBar already uses this widget, so if you have a status bar (e.g. you are using QMainWindow), then you don't need to use this widget explicitly. [Image Omitted] [Image Omitted] See also QStatusBar, Widget Appearance and Style, Main Window and Related Classes, and Basic Widgets. MEMBER FUNCTION DOCUMENTATION
QSizeGrip::QSizeGrip ( QWidget * parent, const char * name = 0 ) Constructs a resize corner called name, as a child widget of parent. QSizeGrip::~QSizeGrip () Destroys the size grip. void QSizeGrip::mouseMoveEvent ( QMouseEvent * e ) [virtual protected] Resizes the top-level widget containing this widget. The event is in e. Reimplemented from QWidget. void QSizeGrip::mousePressEvent ( QMouseEvent * e ) [virtual protected] Primes the resize operation. The event is in e. Reimplemented from QWidget. void QSizeGrip::paintEvent ( QPaintEvent * e ) [virtual protected] Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The event is in e. Reimplemented from QWidget. QSize QSizeGrip::sizeHint () const [virtual] Returns the size grip's size hint; this is a small size. Reimplemented from QWidget. SEE ALSO
http://doc.trolltech.com/qsizegrip.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qsizegrip.3qt) and the Qt version (3.3.8). Trolltech AS 2 February 2007 QSizeGrip(3qt)

Check Out this Related Man Page

QWidgetItem(3qt)														  QWidgetItem(3qt)

NAME
QWidgetItem - Layout item that represents a widget SYNOPSIS
#include <qlayout.h> Inherits QLayoutItem. Public Members QWidgetItem ( QWidget * w ) virtual QSize sizeHint () const virtual QSize minimumSize () const virtual QSize maximumSize () const virtual QSizePolicy::ExpandData expanding () const virtual bool isEmpty () const virtual void setGeometry ( const QRect & r ) virtual QWidget * widget () DESCRIPTION
The QWidgetItem class is a layout item that represents a widget. This is used by custom layouts. See also QLayout, QLayout::widget(), Widget Appearance and Style, and Layout Management. MEMBER FUNCTION DOCUMENTATION
QWidgetItem::QWidgetItem ( QWidget * w ) Creates an item containing widget w. QSizePolicy::ExpandData QWidgetItem::expanding () const [virtual] Returns whether this item's widget can make use of more space than sizeHint(). A value of Vertical or Horizontal means that it wants to grow in only one dimension, whereas BothDirections means that it wants to grow in both dimensions and NoDirection means that it doesn't want to grow at all. Reimplemented from QLayoutItem. bool QWidgetItem::isEmpty () const [virtual] Returns TRUE if the widget has been hidden; otherwise returns FALSE. Reimplemented from QLayoutItem. QSize QWidgetItem::maximumSize () const [virtual] Returns the maximum size of this item. Reimplemented from QLayoutItem. QSize QWidgetItem::minimumSize () const [virtual] Returns the minimum size of this item. Reimplemented from QLayoutItem. void QWidgetItem::setGeometry ( const QRect & r ) [virtual] Sets the geometry of this item's widget to be contained within rect r, taking alignment and maximum size into account. Reimplemented from QLayoutItem. QSize QWidgetItem::sizeHint () const [virtual] Returns the preferred size of this item. Reimplemented from QLayoutItem. QWidget * QWidgetItem::widget () [virtual] Returns the widget managed by this item. Reimplemented from QLayoutItem. SEE ALSO
http://doc.trolltech.com/qwidgetitem.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qwidgetitem.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QWidgetItem(3qt)

Featured Tech Videos