newproject
::newproject(QWidget *parent
){
ui.setupUi(this);
connect(ui.okButton,SIGNAL(clicked()),this,SLOT(on_okButton_clicked()));
connect(ui.cancelButton,SIGNAL(clicked()),this,SLOT(close()));
//createNewMenu();
connect(ui.pushButton,SIGNAL(clicked()),this, SLOT(setLastDir()));
// eclogic=new ECLogic();
}
newproject::~newproject()
{
//delete ui;
}
void newproject::setLastDir()
{
//! set last directory to ImportExport class
ui.
lineEdit_2->setText
(QFileDialog::getExistingDirectory(this, msg_head_lastDirDialog,
}
void newproject::on_okButton_clicked()
{
HOW TO WRITE THIS CODE ,...................
}
newproject::newproject(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
connect(ui.okButton,SIGNAL(clicked()),this,SLOT(on_okButton_clicked()));
connect(ui.cancelButton,SIGNAL(clicked()),this,SLOT(close()));
//createNewMenu();
connect(ui.pushButton,SIGNAL(clicked()),this, SLOT(setLastDir()));
// eclogic=new ECLogic();
}
newproject::~newproject()
{
//delete ui;
}
void newproject::setLastDir()
{
//! set last directory to ImportExport class
ui.lineEdit_2->setText(QFileDialog::getExistingDirectory(this, msg_head_lastDirDialog,
"/home", QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks) + "/");
}
void newproject::on_okButton_clicked()
{
HOW TO WRITE THIS CODE ,...................
}
To copy to clipboard, switch view to plain text mode
Bookmarks