Qt 4.8
Public Functions | Public Variables | List of all members
QPlaceHolderItem Class Reference

#include <qdockarealayout_p.h>

Public Functions

 QPlaceHolderItem ()
 
 QPlaceHolderItem (QWidget *w)
 

Public Variables

bool hidden
 
QString objectName
 
QRect topLevelRect
 
bool window
 

Detailed Description

Definition at line 116 of file qdockarealayout_p.h.

Constructors and Destructors

◆ QPlaceHolderItem() [1/2]

QPlaceHolderItem::QPlaceHolderItem ( )
inline

Definition at line 119 of file qdockarealayout_p.h.

119 : hidden(false), window(false) {}

◆ QPlaceHolderItem() [2/2]

QPlaceHolderItem::QPlaceHolderItem ( QWidget w)

Definition at line 72 of file qdockarealayout.cpp.

73 {
74  objectName = w->objectName();
75  hidden = w->isHidden();
76  window = w->isWindow();
77  if (window)
78  topLevelRect = w->geometry();
79 }
bool isWindow() const
Returns true if the widget is an independent window, otherwise returns false.
Definition: qwidget.h:945
bool isHidden() const
Returns true if the widget is hidden, otherwise returns false.
Definition: qwidget.h:1008
QString objectName() const
QRect geometry
the geometry of the widget relative to its parent and excluding the window frame
Definition: qwidget.h:158

Properties

◆ hidden

bool QPlaceHolderItem::hidden

◆ objectName

QString QPlaceHolderItem::objectName

◆ topLevelRect

QRect QPlaceHolderItem::topLevelRect

◆ window

bool QPlaceHolderItem::window

The documentation for this class was generated from the following files: