class QGoodCentralWidget : public QWidget
QGoodCentralWidget class contains the public API's to control the behavior of QGoodWindow.
Constructor of QGoodCentralWidget, is mandatory pass a valid instance of the parent QGoodWindow.
Destructor of QGoodCentralWidget.
Set the left title bar widget and returns the previous widget or nullptr if none, delete this widget as needed. If the widget is transparent for mouse, but not it's children's set transparent_for_mouse to true.
Set the right title bar widget and returns the previous widget or nullptr if none, delete this widget as needed. If the widget is transparent for mouse, but not it's children's set transparent_for_mouse to true.
Set the central widget of QGoodCentralWidget.
Set the color of QGoodCentralWidget title bar.
Set the color of QGoodCentralWidget border.
Change the visibility of QGoodCentralWidget title bar.
Change the visibility of QGoodCentralWidget title bar title.
Change the visibility of QGoodCentralWidget title bar icon.
Change the title bar height to height multiplied to current pixel ratio.
Change the caption button width to width multiplied to current pixel ratio.
Returns the left QGoodCentralWidget title bar widget or nullptr if none is set.
Returns the right QGoodCentralWidget title bar widget or nullptr if none is set.
Returns the QGoodCentralWidget central widget or nullptr if none is set.
Returns the QGoodCentralWidget title bar color.
Returns the QGoodCentralWidget border color.
Returns if the QGoodCentralWidget title bar is visible or not.
Returns if the QGoodCentralWidget title bar title is visible or not.
Returns if the QGoodCentralWidget title bar icon is visible or not.
Returns the QGoodCentralWidget title bar height.
Returns the QGoodCentralWidget title bar caption button width.
Update the QGoodCentralWidget state, it's called internally and must be called if changing QGoodCentralWidget metrics like hide or show a title bar widget.
public static int execDialogWithWindow(QDialog * dialog, QGoodWindow * parent_gw, QGoodCentralWidget * base_gcw, QWidget * left_title_bar_widget, QWidget * right_title_bar_widget, bool title_visible, bool icon_visible)
Utility for showing a modal QDialog with customized title bar and borders. Pass the QDialog and the parent QGoodWindow and optionally a QGoodCentralWidget for mimic it's colors on the new window. Optionally pass a left title bar widget, a right title bar widget and set the visibility of title and icon on the new window.
Generated by Moxygen