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
10
#include "
../../api_response/commander/edhrec_commander_api_response.h
"
11
12
#include <QScrollArea>
13
#include <QVBoxLayout>
14
#include <QWidget>
15
16
class
EdhrecCommanderApiResponseDisplayWidget
:
public
QWidget
17
{
18
Q_OBJECT
19
20
public
:
21
explicit
EdhrecCommanderApiResponseDisplayWidget
(QWidget *parent,
22
EdhrecCommanderApiResponse
response,
23
QString baseUrl);
24
void
resizeEvent
(QResizeEvent *event)
override
;
25
26
public
slots:
27
void
onSplitterChange
();
28
29
private
:
30
QHBoxLayout *
layout
;
31
QVBoxLayout *
cardDisplayLayout
;
32
QScrollArea *
scrollArea
;
33
};
34
35
#endif
// EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
EdhrecCommanderApiResponseDisplayWidget::cardDisplayLayout
QVBoxLayout * cardDisplayLayout
Definition
edhrec_commander_api_response_display_widget.h:31
EdhrecCommanderApiResponseDisplayWidget::EdhrecCommanderApiResponseDisplayWidget
EdhrecCommanderApiResponseDisplayWidget(QWidget *parent, EdhrecCommanderApiResponse response, QString baseUrl)
Definition
edhrec_commander_api_response_display_widget.cpp:14
EdhrecCommanderApiResponseDisplayWidget::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition
edhrec_commander_api_response_display_widget.cpp:93
EdhrecCommanderApiResponseDisplayWidget::onSplitterChange
void onSplitterChange()
Definition
edhrec_commander_api_response_display_widget.cpp:88
EdhrecCommanderApiResponseDisplayWidget::scrollArea
QScrollArea * scrollArea
Definition
edhrec_commander_api_response_display_widget.h:32
EdhrecCommanderApiResponseDisplayWidget::layout
QHBoxLayout * layout
Definition
edhrec_commander_api_response_display_widget.h:30
EdhrecCommanderApiResponse
Represents the main structure of the JSON.
Definition
edhrec_commander_api_response.h:17
edhrec_commander_api_response.h
cockatrice
src
interface
widgets
tabs
api
edhrec
display
commander
edhrec_commander_api_response_display_widget.h
Generated by
1.14.0