Added MainWindow::internalLayout()
Allows the application to add more widgets next to the drop area.
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
|
||||
#include "MainWindowBase.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QHBoxLayout;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace KDDockWidgets {
|
||||
|
||||
class SideBar;
|
||||
@@ -56,6 +60,11 @@ public:
|
||||
//@brief sets the margins for the contents widgets
|
||||
void setCenterWidgetMargins(const QMargins &margins);
|
||||
|
||||
///@brief returns the internal layout
|
||||
/// this is rarely needed unless you want to layout other widgets next to the
|
||||
/// main dock widget layout
|
||||
QHBoxLayout *internalLayout() const;
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *) override;
|
||||
void resizeEvent(QResizeEvent *) override;
|
||||
|
||||
Reference in New Issue
Block a user