Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
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
14
class
EdhrecCommanderApiResponse
;
15
class
QHBoxLayout;
16
class
QScrollArea;
17
class
QVBoxLayout;
18
19
class
EdhrecCommanderApiResponseDisplayWidget
:
public
QWidget
20
{
21
Q_OBJECT
22
23
public
:
24
explicit
EdhrecCommanderApiResponseDisplayWidget
(QWidget *parent,
25
EdhrecCommanderApiResponse
response,
26
QString baseUrl);
27
void
resizeEvent
(QResizeEvent *event)
override
;
28
29
public
slots:
30
void
onSplitterChange
();
31
32
private
:
33
QHBoxLayout *
layout
;
34
QVBoxLayout *
cardDisplayLayout
;
35
QScrollArea *
scrollArea
;
36
};
37
38
#endif
// EDHREC_COMMANDER_API_RESPONSE_DISPLAY_WIDGET_H
EdhrecCommanderApiResponseDisplayWidget::cardDisplayLayout
QVBoxLayout * cardDisplayLayout
Definition
edhrec_commander_api_response_display_widget.h:34
EdhrecCommanderApiResponseDisplayWidget::EdhrecCommanderApiResponseDisplayWidget
EdhrecCommanderApiResponseDisplayWidget(QWidget *parent, EdhrecCommanderApiResponse response, QString baseUrl)
Definition
edhrec_commander_api_response_display_widget.cpp:29
EdhrecCommanderApiResponseDisplayWidget::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition
edhrec_commander_api_response_display_widget.cpp:108
EdhrecCommanderApiResponseDisplayWidget::onSplitterChange
void onSplitterChange()
Definition
edhrec_commander_api_response_display_widget.cpp:103
EdhrecCommanderApiResponseDisplayWidget::scrollArea
QScrollArea * scrollArea
Definition
edhrec_commander_api_response_display_widget.h:35
EdhrecCommanderApiResponseDisplayWidget::layout
QHBoxLayout * layout
Definition
edhrec_commander_api_response_display_widget.h:33
EdhrecCommanderApiResponse
Represents the main structure of the JSON.
Definition
edhrec_commander_api_response.h:17
cockatrice
src
interface
widgets
tabs
api
edhrec
display
commander
edhrec_commander_api_response_display_widget.h
Generated by
1.18.0