mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:38:16 +00:00
UI: ZonesWindow: Add "Menu" button
This commit is contained in:
parent
bafbd9926b
commit
fbc2d818da
@ -381,9 +381,13 @@ QLayout *ZonesWindow::setupHeader()
|
||||
}
|
||||
});
|
||||
|
||||
// Menu button
|
||||
m_btMenu = windowManager()->createMenuButton();
|
||||
|
||||
layout->addWidget(m_btEdit);
|
||||
layout->addWidget(m_btSaveAsText);
|
||||
layout->addStretch();
|
||||
layout->addWidget(m_btMenu);
|
||||
|
||||
return layout;
|
||||
}
|
||||
|
@ -94,6 +94,7 @@ private:
|
||||
QAction *m_actEditZone = nullptr;
|
||||
QAction *m_actRemoveZone = nullptr;
|
||||
QPushButton *m_btSaveAsText = nullptr;
|
||||
QPushButton *m_btMenu = nullptr;
|
||||
QLabel *m_labelZoneName = nullptr;
|
||||
QLineEdit *m_editZoneName = nullptr;
|
||||
QLabel *m_labelSource = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user