Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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
11
12#include <QScrollArea>
13#include <QVBoxLayout>
14#include <QWidget>
15
17{
18 Q_OBJECT
19
20public:
21 explicit EdhrecCommanderApiResponseDisplayWidget(QWidget *parent,
23 QString baseUrl);
24 void resizeEvent(QResizeEvent *event) override;
25
26public slots:
27 void onSplitterChange();
28
29private:
30 QHBoxLayout *layout;
31 QVBoxLayout *cardDisplayLayout;
32 QScrollArea *scrollArea;
33};
34
35#endif // EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
QVBoxLayout * cardDisplayLayout
Definition edhrec_commander_api_response_display_widget.h:31
EdhrecCommanderApiResponseDisplayWidget(QWidget *parent, EdhrecCommanderApiResponse response, QString baseUrl)
Definition edhrec_commander_api_response_display_widget.cpp:14
void resizeEvent(QResizeEvent *event) override
Definition edhrec_commander_api_response_display_widget.cpp:93
void onSplitterChange()
Definition edhrec_commander_api_response_display_widget.cpp:88
QScrollArea * scrollArea
Definition edhrec_commander_api_response_display_widget.h:32
QHBoxLayout * layout
Definition edhrec_commander_api_response_display_widget.h:30
Represents the main structure of the JSON.
Definition edhrec_commander_api_response.h:17