initial commit
This commit is contained in:
23
params/ActionWidget.cpp
Normal file
23
params/ActionWidget.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "ActionWidget.h"
|
||||
|
||||
#include <QPushButton>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
ActionWidget::ActionWidget(QWidget *parent) : QGroupBox(parent) {
|
||||
|
||||
setTitle("actions");
|
||||
|
||||
QHBoxLayout* lay = new QHBoxLayout(this);
|
||||
|
||||
QPushButton* btnLoad = new QPushButton("load");
|
||||
lay->addWidget(btnLoad);
|
||||
|
||||
QPushButton* btnSave = new QPushButton("save");
|
||||
lay->addWidget(btnSave);
|
||||
|
||||
connect(btnLoad, SIGNAL(clicked(bool)), this, SIGNAL(onLoad()));
|
||||
|
||||
connect(btnSave, SIGNAL(clicked(bool)), this, SIGNAL(onSave()));
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user