mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
29 lines
629 B
C
29 lines
629 B
C
|
#ifndef WIDGET_H
|
||
|
#define WIDGET_H
|
||
|
|
||
|
#include <QPushButton>
|
||
|
#include <QToolBar>
|
||
|
#include <QWidget>
|
||
|
|
||
|
class Widget : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit Widget(QWidget *parent = 0);
|
||
|
|
||
|
// If you want to have Max/Min/Close buttons, look at how QWinWidget uses these
|
||
|
QPushButton *maximizeButton = nullptr;
|
||
|
QPushButton *minimizeButton = nullptr;
|
||
|
QPushButton *closeButton = nullptr;
|
||
|
|
||
|
// If you want to enable dragging the window when the mouse is over top of, say, a QToolBar,
|
||
|
// then look at how QWinWidget uses this
|
||
|
QToolBar *toolBar = nullptr;
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
};
|
||
|
|
||
|
#endif // WIDGET_H
|