]> Git trees. - libqmvoc.git/commitdiff
sizeHint() (dummy, but working)
authorPino Toscano <pino@kde.org>
Sat, 17 Feb 2007 18:24:31 +0000 (18:24 +0000)
committerPino Toscano <pino@kde.org>
Sat, 17 Feb 2007 18:24:31 +0000 (18:24 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=634594

kdeeduplot/kplotwidget.cpp
kdeeduplot/kplotwidget.h

index 7c7b2646b1148fb1a635433e7096812ccf36ddb3..f2d8f514ae0d9a28da32a55a815e786b152db09f 100644 (file)
@@ -122,6 +122,11 @@ QSize KPlotWidget::minimumSizeHint() const
        return QSize( 150, 150 );
 }
 
+QSize KPlotWidget::sizeHint() const
+{
+    return size();
+}
+
 void KPlotWidget::setLimits( double x1, double x2, double y1, double y2 )
 {
     d->calcDataRectLimits( x1, x2, y1, y2 );
index 82c93c8ef9314112c8e9284b0f15d68ec429e38a..a2cdf43b7fb70e0e93749dcc126962c19483c6da 100644 (file)
@@ -111,6 +111,7 @@ public:
         *@return suggested size for widget
         */
        virtual QSize minimumSizeHint() const;
+        virtual QSize sizeHint() const;
 
        /**
         * Set new data limits for the plot.