HAL
widget.cpp
Go to the documentation of this file.
1 #include "gui/widget/widget.h"
2 
3 namespace hal
4 {
5  Widget::Widget(QWidget* parent) : QWidget(parent)
6  {
7  }
8 
9  void Widget::setParent(QWidget* parent)
10  {
13  }
14 
15  void Widget::hide()
16  {
17  QWidget::hide();
18  Q_EMIT hidden();
19  }
20 
21  void Widget::show()
22  {
23  QWidget::show();
24  Q_EMIT shown();
25  }
26 }
void shown()
void show()
Definition: widget.cpp:21
void setParent(QWidget *parent)
Definition: widget.cpp:9
void hide()
Definition: widget.cpp:15
Widget(QWidget *parent=nullptr)
Definition: widget.cpp:5
void hidden()
void parentSetTo(QWidget *parent)
Q_EMITQ_EMIT
QObject * parent() const const
void hide()
void setParent(QWidget *parent)
void show()