https://github.com/ialhashim/topo-blend
Revision 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC, committed by ennetws on 13 March 2015, 18:17:18 UTC
1 parent c702819
Raw File
Tip revision: 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC
Create README.md
Tip revision: 39b1361
resamplewidget.cpp
#include "resamplewidget.h"
#include "ui_resamplewidget.h"
#include "resample.h"

ResampleWidget::ResampleWidget(myresample *resampler, QWidget *parent): QDialog(parent), ui(new Ui::ResampleWidget)
{
    ui->setupUi(this);

    /// Stay on top
    setWindowFlags(Qt::WindowStaysOnTopHint);

    this->r = resampler;

    connect(ui->resampleButton, SIGNAL(clicked()), (const QObject*) resampler, SLOT(doResample()));
    connect(ui->parameterizeButton, SIGNAL(clicked()), (const QObject*) resampler, SLOT(doParameterize()));
}

ResampleWidget::~ResampleWidget()
{
    delete ui;
}
back to top