| 1 | /* |
| 2 | * File: IplConfig.cpp |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: June 22, 2010 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This program is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | */ |
| 24 | #include "IplConfig.h"cxx . . $ `<file>/HercStudio/IplConfig.h`/ |
| 25 | #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/ |
| 26 | |
| 27 | #include <sstream> |
| 28 | #include <cstdio> |
| 29 | |
| 30 | |
| 31 | IplConfigcxx . . $ IplConfig#::IplConfigcxx . . $ IplConfig#IplConfig(cd7bf9525a1e2343).(QStringcxx . . $ QString# &devno, QStringcxx . . $ QString#& loadParm, QWidgetcxx . . $ QWidget# *parent) |
| 32 | : QDialogcxx . . $ QDialog#QDialog(872e7b0c281abd8d).(parent), mDevnocxx . . $ IplConfig#mDevno.(devno), mLoadParmcxx . . $ IplConfig#mLoadParm.(loadParm) |
| 33 | { |
| 34 | uicxx . . $ IplConfig#ui..setupUicxx . . $ Ui_IplConfigClass#setupUi(108f35f7aa7f3cf9).(this); |
| 35 | uicxx . . $ IplConfig#ui..devNocxx . . $ Ui_IplConfigClass#devNo.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(mDevnocxx . . $ IplConfig#mDevno.); |
| 36 | uicxx . . $ IplConfig#ui..loadParmcxx . . $ Ui_IplConfigClass#loadParm.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(mLoadParmcxx . . $ IplConfig#mLoadParm.); |
| 37 | |
| 38 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ IplConfig#ui..okButtoncxx . . $ Ui_IplConfigClass#okButton., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(okPressed())); |
| 39 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ IplConfig#ui..cancelButtoncxx . . $ Ui_IplConfigClass#cancelButton., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(cancelPressed())); |
| 40 | } |
| 41 | |
| 42 | IplConfigcxx . . $ IplConfig#::~cxx . . $ IplConfig#`~IplConfig`(49f6e7a06ebc5aa8).IplConfigcxx . . $ IplConfig#() |
| 43 | { |
| 44 | |
| 45 | } |
| 46 | |
| 47 | void IplConfigcxx . . $ IplConfig#::okPressedcxx . . $ IplConfig#okPressed(49f6e7a06ebc5aa8).() |
| 48 | { |
| 49 | mDevnocxx . . $ IplConfig#mDevno. =cxx . . $ QString#`operator=`(7b76e6691bca1027). uicxx . . $ IplConfig#ui..devNocxx . . $ Ui_IplConfigClass#devNo.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(); |
| 50 | mLoadParmcxx . . $ IplConfig#mLoadParm. =cxx . . $ QString#`operator=`(7b76e6691bca1027). uicxx . . $ IplConfig#ui..loadParmcxx . . $ Ui_IplConfigClass#loadParm.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(); |
| 51 | acceptcxx . . $ QDialog#accept(49f6e7a06ebc5aa8).(); |
| 52 | } |
| 53 | |
| 54 | void IplConfigcxx . . $ IplConfig#::cancelPressedcxx . . $ IplConfig#cancelPressed(49f6e7a06ebc5aa8).() |
| 55 | { |
| 56 | deleteLatercxx . . $ QObject#deleteLater(49f6e7a06ebc5aa8).(); |
| 57 | } |
| 58 |