50 bool isMDI()
const override;
51 std::unique_ptr<WindowBeingDragged> makeWindow()
override;
52 bool isWindow()
const override;
55 void setTitle(
const QString &title);
59 bool isFloating()
const;
62 bool isStandalone()
const;
70 void setIcon(
const Icon &icon);
73 bool supportsFloatingButton()
const;
76 bool supportsMaximizeButton()
const;
79 bool supportsMinimizeButton()
const;
82 bool supportsAutoHideButton()
const;
84#ifdef DOCKS_TESTING_METHODS
86 bool isFloatButtonVisible()
const;
87 bool isCloseButtonVisible()
const;
88 bool isCloseButtonEnabled()
const;
97 bool isFocused()
const;
99 bool titleBarIsFocusable()
const;
121 void updateButtons();
122 QString floatButtonToolTip()
const;
124 bool onDoubleClicked();
125 void onCloseClicked();
126 void onFloatClicked();
127 void onMaximizeClicked();
128 void onMinimizeClicked();
129 void onAutoHideClicked();
130 void toggleMaximized();
133 bool closeButtonEnabled()
const;
134 void setCloseButtonVisible(
bool);
135 bool floatButtonVisible()
const;
136 bool maximizeButtonVisible()
const;
137 void setCloseButtonEnabled(
bool);
138 void setFloatButtonVisible(
bool);
143 void setUserHiddenButtons(TitleBarButtonTypes);
152 void setHideDisabledButtons(TitleBarButtonTypes);
156 Private *dptr()
const;
159 bool isOverlayed()
const;
162 friend class ::TestDocks;
166 void updateAutoHideButton();
167 void updateMaximizeButton();
169 void updateFloatButton();
170 void updateCloseButton();
171 bool supportsFloatUnfloat()
const;
172 void setFloatButtonToolTip(
const QString &);
183 const bool m_supportsAutoHide;
184 const bool m_isStandalone;
185 bool m_closeButtonEnabled =
true;
186 bool m_closeButtonVisible =
true;
187 bool m_floatButtonVisible =
true;
188 bool m_maximizeButtonVisible =
false;