Add more actions and improve error message when dragged into empty actions container
This commit is contained in:
1 parent
6136280507
commit
4046a5c044
23 files changed
+535
-41
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#include "speedverticaldialog.h"
|
||||
#include "ui_speedverticaldialog.h"
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
SpeedVerticalDialog::SpeedVerticalDialog(SpeedVerticalAction &action, QWidget *parent) :
|
||||
QDialog{parent},
|
||||
m_ui{std::make_unique<Ui::SpeedVerticalDialog>()},
|
||||
m_action{action}
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
if (auto button = m_ui->buttonBox->button(QDialogButtonBox::Ok))
|
||||
button->setIcon(QIcon{":/qtgameengine/icons/ok.png"});
|
||||
if (auto button = m_ui->buttonBox->button(QDialogButtonBox::Cancel))
|
||||
button->setIcon(QIcon{":/qtgameengine/icons/delete.png"});
|
||||
}
|
||||
|
||||
SpeedVerticalDialog::~SpeedVerticalDialog() = default;
|
||||
Reference in new issue
Block a user