Neal Wilson 11 gadus atpakaļ
vecāks
revīzija
5503bdf297
1 mainītis faili ar 16 papildinājumiem un 16 dzēšanām
  1. 16
    16
      src/typica.w

+ 16
- 16
src/typica.w Parādīt failu

@@ -15935,9 +15935,9 @@ ParitySelector::ParitySelector(QWidget *parent) : QComboBox(parent)
15935 15935
 @<Class declarations@>=
15936 15936
 class FlowSelector : public QComboBox
15937 15937
 {
15938
-	Q_OBJECT
15939
-	Q_ENUMS(FlowType)
15940
-	public:
15938
+	@[Q_OBJECT@]@;
15939
+	@[Q_ENUMS(FlowType)@]@;
15940
+	public:@/
15941 15941
 		FlowSelector(QWidget *parent = NULL);
15942 15942
 		enum FlowType
15943 15943
 		{
@@ -15968,9 +15968,9 @@ specifying the number of stop bits.
15968 15968
 @<Class declarations@>=
15969 15969
 class StopSelector : public QComboBox
15970 15970
 {
15971
-	Q_OBJECT
15972
-	Q_ENUMS(StopBitsType)
15973
-	public:
15971
+	@[Q_OBJECT@]@;
15972
+	@[Q_ENUMS(StopBitsType)@]@;
15973
+	public:@/
15974 15974
 		StopSelector(QWidget *parent = NULL);
15975 15975
 		enum StopBitsType
15976 15976
 		{
@@ -16021,13 +16021,13 @@ four digit hexadecimal value.
16021 16021
 @<Class declarations@>=
16022 16022
 class ShortHexSpinBox : public QSpinBox
16023 16023
 {
16024
-	Q_OBJECT
16025
-	public:
16024
+	@[Q_OBJECT@]@;
16025
+	public:@/
16026 16026
 		ShortHexSpinBox(QWidget *parent = NULL);
16027
-		virtual QValidator::State validate(QString &input, int &pos) const;
16028
-	protected:
16027
+		virtual QValidator::State validate(QString &input, int &pos) const;@/
16028
+	protected:@/
16029 16029
 		virtual int valueFromText(const QString &text) const;
16030
-		virtual QString textFromValue(int value) const;
16030
+		virtual QString textFromValue(int value) const;@/
16031 16031
 };
16032 16032
 
16033 16033
 @ For this we can set some new defaults in the constructor and must override
@@ -16537,11 +16537,11 @@ or the ability to query the device for its current allowed range, but nothing
16537 16537
 is here that hasn'@q'@>t been seen elsewhere.
16538 16538
 
16539 16539
 @<Class declarations@>=
16540
-class ModbusRtuDeviceTSvConfWidget : public BasicDeviceConfigurationWidget
16541
-{
16540
+class ModbusRtuDeviceTSvConfWidget : public BasicDeviceConfigurationWidget@/
16541
+{@/
16542 16542
 	@[Q_OBJECT@]@;
16543 16543
 	public:@/
16544
-		@[Q_INVOKABLE@]@, ModbusRtuDeviceTSvConfWidget(DeviceTreeModel *model,
16544
+		Q_INVOKABLE@, ModbusRtuDeviceTSvConfWidget(DeviceTreeModel *model,
16545 16545
 		                                               const QModelIndex &index);
16546 16546
 	@[private slots@]:@/
16547 16547
 		void updateReadAddress(int newAddress);
@@ -16550,8 +16550,8 @@ class ModbusRtuDeviceTSvConfWidget : public BasicDeviceConfigurationWidget
16550 16550
 		void updateLower(const QString &lower);
16551 16551
 		void updateUpper(const QString &upper);
16552 16552
 		void updateLowerAddress(int newAddress);
16553
-		void updateUpperAddress(int newAddress);
16554
-	private:
16553
+		void updateUpperAddress(int newAddress);@/
16554
+	private:@/
16555 16555
 		QStackedLayout *boundsLayout;
16556 16556
 };
16557 16557
 

Notiek ielāde…
Atcelt
Saglabāt