TFramelessWindowBar Class
Header: | #include <TFramelessWindowBar> |
Inherits: | QFrame |
Public Types
enum | AutoHideHint { AutoHideHint_Icon, AutoHideHint_Lable, AutoHideHint_SysButton, AutoHideHint_All } |
flags | AutoHideHints |
Public Functions
TFramelessWindowBar(QWidget *parent = 0) | |
~TFramelessWindowBar() | |
TFramelessWindowBar::AutoHideHints | autoHideFlags() const |
virtual bool | eventFilter(QObject *iObjectPtr, QEvent *iEvent) |
void | initDefaultLayout() |
bool | isBarHideen() const |
bool | isFrameless() const |
virtual bool | isInEditableWidget(QPoint pt) |
bool | isWindowFrameless() const |
void | setAutoHideFlags(TFramelessWindowBar::AutoHideHints iFlags) |
void | setEditableWidgets(QList<QWidget *> iWgtList) |
void | setFrameless(bool iBol) |
void | setHostWindow(QWidget *iHostWindow = 0) |
bool | winEvent(MSG *message, long *result) |
QAbstractButton * | windowCloseButton() |
QAbstractButton * | windowIconButton() |
QAbstractButton * | windowMaxButton() |
QAbstractButton * | windowMinButton() |
QAbstractButton * | windowNormalButton() |
virtual int | windowTitleBarHeight() const |
QLabel * | windowTitleLabel() |
Public Slots
void | setWindowCloseButton(QAbstractButton *iButton) |
void | setWindowIconButton(QAbstractButton *iButton) |
void | setWindowMaxButton(QAbstractButton *iButton) |
void | setWindowMinButton(QAbstractButton *iButton) |
void | setWindowNormalButton(QAbstractButton *iButton) |
void | setWindowTitleLabel(QLabel *iLabel) |
void | updateEventHelper() |
- 19 public slots inherited from QWidget
Additional Inherited Members
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
- 3 signals inherited from QWidget
- 5 static public members inherited from QWidget
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QWidget
Detailed Description
Member Type Documentation
enum TFramelessWindowBar::AutoHideHint
flags TFramelessWindowBar::AutoHideHints
The AutoHideHints type is a typedef for QFlags<AutoHideHint>. It stores an OR combination of AutoHideHint values.
Member Function Documentation
TFramelessWindowBar::TFramelessWindowBar(QWidget *parent = 0)
Default constructs an instance of TFramelessWindowBar.
TFramelessWindowBar::~TFramelessWindowBar()
Destroys the instance of TFramelessWindowBar.
TFramelessWindowBar::AutoHideHints TFramelessWindowBar::autoHideFlags() const
See also setAutoHideFlags().
[virtual]
bool TFramelessWindowBar::eventFilter(QObject *iObjectPtr, QEvent *iEvent)
void TFramelessWindowBar::initDefaultLayout()
bool TFramelessWindowBar::isBarHideen() const
bool TFramelessWindowBar::isFrameless() const
[virtual]
bool TFramelessWindowBar::isInEditableWidget(QPoint pt)
bool TFramelessWindowBar::isWindowFrameless() const
void TFramelessWindowBar::setAutoHideFlags(TFramelessWindowBar::AutoHideHints iFlags)
See also autoHideFlags().
void TFramelessWindowBar::setEditableWidgets(QList<QWidget *> iWgtList)
void TFramelessWindowBar::setFrameless(bool iBol)
See also isFrameless().
void TFramelessWindowBar::setHostWindow(QWidget *iHostWindow = 0)
[slot]
void TFramelessWindowBar::setWindowCloseButton(QAbstractButton *iButton)
See also windowCloseButton().
[slot]
void TFramelessWindowBar::setWindowIconButton(QAbstractButton *iButton)
See also windowIconButton().
[slot]
void TFramelessWindowBar::setWindowMaxButton(QAbstractButton *iButton)
See also windowMaxButton().
[slot]
void TFramelessWindowBar::setWindowMinButton(QAbstractButton *iButton)
See also windowMinButton().
[slot]
void TFramelessWindowBar::setWindowNormalButton(QAbstractButton *iButton)
See also windowNormalButton().
[slot]
void TFramelessWindowBar::setWindowTitleLabel(QLabel *iLabel)
See also windowTitleLabel().
[slot]
void TFramelessWindowBar::updateEventHelper()
bool TFramelessWindowBar::winEvent(MSG *message, long *result)
QAbstractButton *TFramelessWindowBar::windowCloseButton()
See also setWindowCloseButton().
QAbstractButton *TFramelessWindowBar::windowIconButton()
See also setWindowIconButton().
QAbstractButton *TFramelessWindowBar::windowMaxButton()
See also setWindowMaxButton().
QAbstractButton *TFramelessWindowBar::windowMinButton()
See also setWindowMinButton().
QAbstractButton *TFramelessWindowBar::windowNormalButton()
See also setWindowNormalButton().
[virtual]
int TFramelessWindowBar::windowTitleBarHeight() const
QLabel *TFramelessWindowBar::windowTitleLabel()
See also setWindowTitleLabel().