Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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
6class BackgroundPlateWidget : public QWidget
7{
8 Q_OBJECT
9
10public:
11 explicit BackgroundPlateWidget(QWidget *parent = nullptr);
12
13 void setFocused(bool focused);
14
15private:
16 bool focused = false;
17
18protected:
19 void paintEvent(QPaintEvent *event) override;
20};
21
22#endif // COCKATRICE_BACKGROUND_PLATE_WIDGET_H
bool focused
Definition background_plate_widget.h:16
BackgroundPlateWidget(QWidget *parent=nullptr)
Definition background_plate_widget.cpp:8
void setFocused(bool focused)
Definition background_plate_widget.cpp:30
void paintEvent(QPaintEvent *event) override
Definition background_plate_widget.cpp:13