Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
edhrec_commander_api_response_display_widget.h
Go to the documentation of this file.
1
6
7#ifndef EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
8#define EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
9
10#include <QString>
11#include <QWidget>
12#include <qtmetamacros.h>
13
15class QHBoxLayout;
16class QScrollArea;
17class QVBoxLayout;
18
20{
21 Q_OBJECT
22
23public:
24 explicit EdhrecCommanderApiResponseDisplayWidget(QWidget *parent,
26 QString baseUrl);
27 void resizeEvent(QResizeEvent *event) override;
28
29public slots:
30 void onSplitterChange();
31
32private:
33 QHBoxLayout *layout;
34 QVBoxLayout *cardDisplayLayout;
35 QScrollArea *scrollArea;
36};
37
38#endif // EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
QVBoxLayout * cardDisplayLayout
Definition edhrec_commander_api_response_display_widget.h:34
EdhrecCommanderApiResponseDisplayWidget(QWidget *parent, EdhrecCommanderApiResponse response, QString baseUrl)
Definition edhrec_commander_api_response_display_widget.cpp:29
void resizeEvent(QResizeEvent *event) override
Definition edhrec_commander_api_response_display_widget.cpp:108
void onSplitterChange()
Definition edhrec_commander_api_response_display_widget.cpp:103
QScrollArea * scrollArea
Definition edhrec_commander_api_response_display_widget.h:35
QHBoxLayout * layout
Definition edhrec_commander_api_response_display_widget.h:33
Represents the main structure of the JSON.
Definition edhrec_commander_api_response.h:17