mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
28 lines
629 B
C++
28 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
|