forked from qt-creator/qt-creator
Add RightPaneWidget::widget()
Not used here, but can be interesting for 3rdparties, makes the API symmetric and doesn't hurt. Change-Id: Ia497dd485ad6a325fe27955ad440d466b7d2c803 Fixes: QTCREATORBUG-22174 Reviewed-by: Shujaat Ali Khan <shujaat.eager@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -153,6 +153,11 @@ void RightPaneWidget::setWidget(QWidget *widget)
|
||||
}
|
||||
}
|
||||
|
||||
QWidget *RightPaneWidget::widget() const
|
||||
{
|
||||
return m_widget;
|
||||
}
|
||||
|
||||
int RightPaneWidget::storedWidth()
|
||||
{
|
||||
return m_width;
|
||||
|
@@ -72,6 +72,7 @@ public:
|
||||
static RightPaneWidget *instance();
|
||||
|
||||
void setWidget(QWidget *widget);
|
||||
QWidget *widget() const;
|
||||
|
||||
int storedWidth();
|
||||
|
||||
|
Reference in New Issue
Block a user