diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h b/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h index 08e8c09c..015ba7fe 100644 --- a/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h +++ b/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h @@ -42,6 +42,11 @@ public: SysMonitorPlugin(QWidget* parent, QString ID); ~SysMonitorPlugin(); + virtual QSize defaultPluginSize(){ + // The returned QSize is in grid points (typically 100 or 200 pixels square) + return QSize(2,3); + } + private: MonitorWidget *monitor; |