Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
background_plate_widget.h
Go to the documentation of this file.
1#ifndef COCKATRICE_BACKGROUND_PLATE_WIDGET_H
2#define COCKATRICE_BACKGROUND_PLATE_WIDGET_H
3
4#include <QWidget>
5#include <qtmetamacros.h>
6
7class BackgroundPlateWidget : public QWidget
8{
9 Q_OBJECT
10
11public:
12 explicit BackgroundPlateWidget(QWidget *parent);
13
14 void setFocused(bool focused);
15
16private:
17 bool focused = false;
18
19protected:
20 void paintEvent(QPaintEvent *event) override;
21};
22
23#endif // COCKATRICE_BACKGROUND_PLATE_WIDGET_H
BackgroundPlateWidget(QWidget *parent)
Definition background_plate_widget.cpp:8
bool focused
Definition background_plate_widget.h:17
void setFocused(bool focused)
Definition background_plate_widget.cpp:30
void paintEvent(QPaintEvent *event) override
Definition background_plate_widget.cpp:13