mirror of https://github.com/CGAL/cgal
sizeHint
This commit is contained in:
parent
a1d4767aeb
commit
e99fc0a30a
|
|
@ -87,7 +87,7 @@ public:
|
|||
void unlock() { if (Locked>0) --Locked; do_paint(); };
|
||||
void do_paint() { if (Locked==0) repaint( FALSE ); };
|
||||
|
||||
virtual QSize sizeHint() const;
|
||||
virtual QSize sizeHint(){return QSize(geometry().width(), geometry().height());}
|
||||
|
||||
// properties
|
||||
// ~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -537,10 +537,6 @@ void Qt_widget::clear() {
|
|||
qt_layers.erase(std::find(qt_layers.begin(),qt_layers.end(),s));
|
||||
}
|
||||
|
||||
QSize Qt_widget::sizeHint(){
|
||||
return QSize(geometry().width(), geometry().height();}
|
||||
}
|
||||
|
||||
} // namespace CGAL
|
||||
|
||||
// moc_source_file: ../../include/CGAL/IO/Qt_widget.h
|
||||
|
|
|
|||
Loading…
Reference in New Issue