76 LayoutSaverOptions layoutSaverOptions = {});
79 ~DockWidget()
override;
122 void setGuestView(std::shared_ptr<View> guest);
125 std::shared_ptr<View> guestView()
const;
134 bool isFloating()
const;
142 bool setFloating(
bool floats);
151 Action *toggleAction()
const;
157 Action *floatAction()
const;
177 void setTitle(
const QString &title);
189 Rect groupGeometry()
const;
195 DockWidgetOptions options()
const;
199 KDDockWidgets::LayoutSaverOptions layoutSaverOptions()
const;
208 void setOptions(DockWidgetOptions);
218 bool isTabbed()
const;
226 bool isCurrentTab()
const;
231 void setAsCurrentTab();
238 int tabIndex()
const;
243 int currentTabIndex()
const;
253 void setIcon(
const Icon &icon, IconPlaces places = IconPlace::All);
263 Icon icon(IconPlace place = IconPlace::TitleBar)
const;
277 Core::TitleBar *titleBar()
const;
303 void setAffinities(
const Vector<QString> &);
307 void setAffinityName(
const QString &name);
312 Vector<QString> affinities()
const;
346 bool isMainWindow()
const;
355 bool isInMainWindow()
const;
365 bool isFocused()
const;
376 void moveToSideBar();
379 void removeFromSideBar();
385 bool isOverlayed()
const;
395 bool isInSideBar()
const;
401 bool hasPreviousDockedLocation()
const;
405 Size lastOverlayedSize()
const;
411 Size sizeInLayout()
const;
431 void resizeInLayout(
int left,
int top,
int right,
int bottom);
439 bool skipsRestore()
const;
451 void setFloatingGeometry(Rect geo);
457 void setUserType(
int userType);
458 int userType()
const;
462 void setMDIPosition(Point pos);
464 void setMDISize(Size size);
477 bool isPersistentCentralDockWidget()
const;
479 void onResize(Size newSize);
487 void setFloatingWindowFlags(FloatingWindowFlags);
488 KDDockWidgets::FloatingWindowFlags floatingWindowFlags()
const;
493 bool startDragging(
bool singleTab =
false);
497 bool wasRestored()
const;
504 void setUniqueName(
const QString &);
507 void setParentView_impl(View *parent)
override;
513 Private *dptr()
const;
520 static DockWidget *deserialize(
const std::shared_ptr<LayoutSaver::DockWidget> &);