mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
inline widgets
This commit is contained in:
parent
3414eb12cf
commit
7644aeb3e7
2 changed files with 4 additions and 5 deletions
|
|
@ -1599,7 +1599,7 @@ void TabGame::createReplayDock()
|
||||||
replayControlLayout->addWidget(replayPlayButton);
|
replayControlLayout->addWidget(replayPlayButton);
|
||||||
replayControlLayout->addWidget(replayFastForwardButton);
|
replayControlLayout->addWidget(replayFastForwardButton);
|
||||||
|
|
||||||
replayControlWidget = new QWidget();
|
auto replayControlWidget = new QWidget();
|
||||||
replayControlWidget->setObjectName("replayControlWidget");
|
replayControlWidget->setObjectName("replayControlWidget");
|
||||||
replayControlWidget->setLayout(replayControlLayout);
|
replayControlWidget->setLayout(replayControlLayout);
|
||||||
|
|
||||||
|
|
@ -1641,7 +1641,7 @@ void TabGame::createCardInfoDock(bool bReplay)
|
||||||
cardVInfoLayout->addWidget(cardInfoFrameWidget);
|
cardVInfoLayout->addWidget(cardInfoFrameWidget);
|
||||||
cardVInfoLayout->addLayout(cardHInfoLayout);
|
cardVInfoLayout->addLayout(cardHInfoLayout);
|
||||||
|
|
||||||
cardBoxLayoutWidget = new QWidget;
|
auto cardBoxLayoutWidget = new QWidget;
|
||||||
cardBoxLayoutWidget->setLayout(cardVInfoLayout);
|
cardBoxLayoutWidget->setLayout(cardVInfoLayout);
|
||||||
|
|
||||||
cardInfoDock = new QDockWidget(this);
|
cardInfoDock = new QDockWidget(this);
|
||||||
|
|
@ -1740,7 +1740,7 @@ void TabGame::createMessageDock(bool bReplay)
|
||||||
messageLogLayout->addLayout(sayHLayout);
|
messageLogLayout->addLayout(sayHLayout);
|
||||||
}
|
}
|
||||||
|
|
||||||
messageLogLayoutWidget = new QWidget;
|
auto messageLogLayoutWidget = new QWidget;
|
||||||
messageLogLayoutWidget->setLayout(messageLogLayout);
|
messageLogLayoutWidget->setLayout(messageLogLayout);
|
||||||
|
|
||||||
messageLayoutDock = new QDockWidget(this);
|
messageLayoutDock = new QDockWidget(this);
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,7 @@ private:
|
||||||
GameView *gameView;
|
GameView *gameView;
|
||||||
QMap<int, DeckViewContainer *> deckViewContainers;
|
QMap<int, DeckViewContainer *> deckViewContainers;
|
||||||
QVBoxLayout *deckViewContainerLayout;
|
QVBoxLayout *deckViewContainerLayout;
|
||||||
QWidget *cardBoxLayoutWidget, *messageLogLayoutWidget, *gamePlayAreaWidget, *deckViewContainerWidget,
|
QWidget *gamePlayAreaWidget, *deckViewContainerWidget;
|
||||||
*replayControlWidget;
|
|
||||||
QDockWidget *cardInfoDock, *messageLayoutDock, *playerListDock, *replayDock;
|
QDockWidget *cardInfoDock, *messageLayoutDock, *playerListDock, *replayDock;
|
||||||
QAction *playersSeparator;
|
QAction *playersSeparator;
|
||||||
QMenu *gameMenu, *viewMenu, *cardInfoDockMenu, *messageLayoutDockMenu, *playerListDockMenu, *replayDockMenu;
|
QMenu *gameMenu, *viewMenu, *cardInfoDockMenu, *messageLayoutDockMenu, *playerListDockMenu, *replayDockMenu;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue