Browse Source

Fix typography

Neal Wilson 11 years ago
parent
commit
5503bdf297
1 changed files with 16 additions and 16 deletions
  1. 16
    16
      src/typica.w

+ 16
- 16
src/typica.w View File

15935
 @<Class declarations@>=
15935
 @<Class declarations@>=
15936
 class FlowSelector : public QComboBox
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
 		FlowSelector(QWidget *parent = NULL);
15941
 		FlowSelector(QWidget *parent = NULL);
15942
 		enum FlowType
15942
 		enum FlowType
15943
 		{
15943
 		{
15968
 @<Class declarations@>=
15968
 @<Class declarations@>=
15969
 class StopSelector : public QComboBox
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
 		StopSelector(QWidget *parent = NULL);
15974
 		StopSelector(QWidget *parent = NULL);
15975
 		enum StopBitsType
15975
 		enum StopBitsType
15976
 		{
15976
 		{
16021
 @<Class declarations@>=
16021
 @<Class declarations@>=
16022
 class ShortHexSpinBox : public QSpinBox
16022
 class ShortHexSpinBox : public QSpinBox
16023
 {
16023
 {
16024
-	Q_OBJECT
16025
-	public:
16024
+	@[Q_OBJECT@]@;
16025
+	public:@/
16026
 		ShortHexSpinBox(QWidget *parent = NULL);
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
 		virtual int valueFromText(const QString &text) const;
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
 @ For this we can set some new defaults in the constructor and must override
16033
 @ For this we can set some new defaults in the constructor and must override
16537
 is here that hasn'@q'@>t been seen elsewhere.
16537
 is here that hasn'@q'@>t been seen elsewhere.
16538
 
16538
 
16539
 @<Class declarations@>=
16539
 @<Class declarations@>=
16540
-class ModbusRtuDeviceTSvConfWidget : public BasicDeviceConfigurationWidget
16541
-{
16540
+class ModbusRtuDeviceTSvConfWidget : public BasicDeviceConfigurationWidget@/
16541
+{@/
16542
 	@[Q_OBJECT@]@;
16542
 	@[Q_OBJECT@]@;
16543
 	public:@/
16543
 	public:@/
16544
-		@[Q_INVOKABLE@]@, ModbusRtuDeviceTSvConfWidget(DeviceTreeModel *model,
16544
+		Q_INVOKABLE@, ModbusRtuDeviceTSvConfWidget(DeviceTreeModel *model,
16545
 		                                               const QModelIndex &index);
16545
 		                                               const QModelIndex &index);
16546
 	@[private slots@]:@/
16546
 	@[private slots@]:@/
16547
 		void updateReadAddress(int newAddress);
16547
 		void updateReadAddress(int newAddress);
16550
 		void updateLower(const QString &lower);
16550
 		void updateLower(const QString &lower);
16551
 		void updateUpper(const QString &upper);
16551
 		void updateUpper(const QString &upper);
16552
 		void updateLowerAddress(int newAddress);
16552
 		void updateLowerAddress(int newAddress);
16553
-		void updateUpperAddress(int newAddress);
16554
-	private:
16553
+		void updateUpperAddress(int newAddress);@/
16554
+	private:@/
16555
 		QStackedLayout *boundsLayout;
16555
 		QStackedLayout *boundsLayout;
16556
 };
16556
 };
16557
 
16557
 

Loading…
Cancel
Save