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(replayFastForwardButton);
|
||||
|
||||
replayControlWidget = new QWidget();
|
||||
auto replayControlWidget = new QWidget();
|
||||
replayControlWidget->setObjectName("replayControlWidget");
|
||||
replayControlWidget->setLayout(replayControlLayout);
|
||||
|
||||
|
|
@ -1641,7 +1641,7 @@ void TabGame::createCardInfoDock(bool bReplay)
|
|||
cardVInfoLayout->addWidget(cardInfoFrameWidget);
|
||||
cardVInfoLayout->addLayout(cardHInfoLayout);
|
||||
|
||||
cardBoxLayoutWidget = new QWidget;
|
||||
auto cardBoxLayoutWidget = new QWidget;
|
||||
cardBoxLayoutWidget->setLayout(cardVInfoLayout);
|
||||
|
||||
cardInfoDock = new QDockWidget(this);
|
||||
|
|
@ -1740,7 +1740,7 @@ void TabGame::createMessageDock(bool bReplay)
|
|||
messageLogLayout->addLayout(sayHLayout);
|
||||
}
|
||||
|
||||
messageLogLayoutWidget = new QWidget;
|
||||
auto messageLogLayoutWidget = new QWidget;
|
||||
messageLogLayoutWidget->setLayout(messageLogLayout);
|
||||
|
||||
messageLayoutDock = new QDockWidget(this);
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ private:
|
|||
GameView *gameView;
|
||||
QMap<int, DeckViewContainer *> deckViewContainers;
|
||||
QVBoxLayout *deckViewContainerLayout;
|
||||
QWidget *cardBoxLayoutWidget, *messageLogLayoutWidget, *gamePlayAreaWidget, *deckViewContainerWidget,
|
||||
*replayControlWidget;
|
||||
QWidget *gamePlayAreaWidget, *deckViewContainerWidget;
|
||||
QDockWidget *cardInfoDock, *messageLayoutDock, *playerListDock, *replayDock;
|
||||
QAction *playersSeparator;
|
||||
QMenu *gameMenu, *viewMenu, *cardInfoDockMenu, *messageLayoutDockMenu, *playerListDockMenu, *replayDockMenu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue