| 1 | /* |
| 2 | * File: GenericDeviceProperties.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This is the base class for all devices properties dialogs |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #ifndef GENERICDEVICEPROPERTIES_H_ |
| 28 | #define GENERICDEVICEPROPERTIES_H_cxx . . $ `HercConfiguration/GenericDeviceProperties.h:28:9`! |
| 29 | |
| 30 | #include "DeviceConfigLine.h"cxx . . $ `<file>/HercConfiguration/DeviceConfigLine.h`/ |
| 31 | #include "DeviceTypes.h"cxx . . $ `<file>/HercConfiguration/DeviceTypes.h`/ |
| 32 | #include "IpValidator.h"cxx . . $ `<file>/HercStudio/IpValidator.h`/ |
| 33 | |
| 34 | #include <QLineEdit> |
| 35 | #include <QtWidgets/QDialog> |
| 36 | |
| 37 | class GenericDevicePropertiescxx . . $ GenericDeviceProperties# : public IpValidatorcxx . . $ IpValidator# |
| 38 | { |
| 39 | Q_OBJECTcxx . . $ GenericDeviceProperties#tr(75d9f1c324b4579d). |
| 40 | public: |
| 41 | GenericDevicePropertiescxx . . $ GenericDeviceProperties#GenericDeviceProperties(b7c8c82eacf24532).(ConfigLinecxx . . $ ConfigLine#& line, QWidgetcxx . . $ QWidget# *parent); |
| 42 | virtual ~cxx . . $ GenericDeviceProperties#`~GenericDeviceProperties`(49f6e7a06ebc5aa8).GenericDevicePropertiescxx . . $ GenericDeviceProperties#(); |
| 43 | |
| 44 | static GenericDevicePropertiescxx . . $ GenericDeviceProperties# * classFactorycxx . . $ GenericDeviceProperties#classFactory(a94d470fa14a4f70).(DeviceConfigLinecxx . . $ DeviceConfigLine#& line, QWidgetcxx . . $ QWidget# *parent, DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type# type=DeviceTypescxx . . $ DeviceTypes#::Othercxx . . $ DeviceTypes#Other.); |
| 45 | |
| 46 | protected: |
| 47 | ConfigLinecxx . . $ ConfigLine# & mLinecxx . . $ GenericDeviceProperties#mLine.; |
| 48 | QWidgetcxx . . $ QWidget# * mParentcxx . . $ GenericDeviceProperties#mParent.; |
| 49 | |
| 50 | bool deviceNumberValidatorcxx . . $ GenericDeviceProperties#deviceNumberValidator(5bc323e34e13a656).(QLineEditcxx . . $ QLineEdit# * deviceLine); |
| 51 | int mOriginalDeviceNumbercxx . . $ GenericDeviceProperties#mOriginalDeviceNumber.; |
| 52 | |
| 53 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 54 | virtual void okcxx . . $ GenericDeviceProperties#ok(49f6e7a06ebc5aa8).()=0; |
| 55 | virtual void cancelcxx . . $ GenericDeviceProperties#cancel(49f6e7a06ebc5aa8).()=0; |
| 56 | |
| 57 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 58 | void updateLinecxx . . $ GenericDeviceProperties#updateLine(b45ddcbc8423892c).(bool keep); |
| 59 | |
| 60 | }; |
| 61 | |
| 62 | #endif /* GENERICDEVICEPROPERTIES_H_ */ |