17#include "kddockwidgets/docks_export.h"
103 virtual void move(
int x,
int y) = 0;
104 virtual void setSize(
int width,
int height) = 0;
114 return geometry().size();
128 return m_thisObj->
parent();
133 return geometry().x();
138 return geometry().y();
143 return obj == m_thisObj;
149 static QSize hardcodedMinimumSize();
154 const int minW = w->minimumWidth() > 0 ? w->minimumWidth()
155 : w->minimumSizeHint().
width();
157 const int minH = w->minimumHeight() > 0 ? w->minimumHeight()
158 : w->minimumSizeHint().height();
169 const QSize min = widgetMinSize(w);
170 QSize max = w->maximumSize();
171 max = boundedMaxSize(min, max);
180 max = boundedMaxSize(min, max);
198 return w && w->operator==(&obj);
bool operator==(const Widget *w, const QObject &obj)
QObject * parent() const const
T qobject_cast(QObject *object)
QSize expandedTo(const QSize &otherSize) const const
void setHeight(int height)
QSizePolicy::Policy horizontalPolicy() const const
QSizePolicy::Policy verticalPolicy() const const