|
@@ -874,7 +874,7 @@ http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf}%
|
874
|
874
|
which requires
|
875
|
875
|
significantly less expertise to modify than \pn{} itself. Such a scripting
|
876
|
876
|
environment will be familiar to anybody with experience using JavaScript on web
|
877
|
|
-pages or ActionScript in Flash. \pn{}'s configuration system was later updated
|
|
877
|
+pages or ActionScript in Flash. \pn{}'@q'@>s configuration system was later updated
|
878
|
878
|
to support running several script fragments found in an XML configuration
|
879
|
879
|
document.
|
880
|
880
|
|
|
@@ -1000,7 +1000,7 @@ properties from |QObject|.
|
1000
|
1000
|
|
1001
|
1001
|
Neither all methods nor all Qt classes are available from the host environment.
|
1002
|
1002
|
When adding functionality to the host environment, there is a priority on
|
1003
|
|
-classes and methods that are useful for \pn{}'s intended purpose.
|
|
1003
|
+classes and methods that are useful for \pn{}'@q'@>s intended purpose.
|
1004
|
1004
|
|
1005
|
1005
|
@* Base Classes.
|
1006
|
1006
|
|
|
@@ -10144,7 +10144,7 @@ void TimerDisplay::copyTimer()
|
10144
|
10144
|
QApplication::clipboard()->setText(value());
|
10145
|
10145
|
}
|
10146
|
10146
|
|
10147
|
|
-@ Resetting the timer is simple. We don't reset the timer if it is still running
|
|
10147
|
+@ Resetting the timer is simple. We don'@q'@>t reset the timer if it is still running
|
10148
|
10148
|
mainly to prevent accidents.
|
10149
|
10149
|
|
10150
|
10150
|
@<TimerDisplay Implementation@>=
|
|
@@ -10382,7 +10382,7 @@ PackLayout::~PackLayout()
|
10382
|
10382
|
}
|
10383
|
10383
|
|
10384
|
10384
|
@ Deleting the items uses the |takeAt()| method to remove each widget from the
|
10385
|
|
-layout prior to deleting it. The item requested should exist, but if it doesn't,
|
|
10385
|
+layout prior to deleting it. The item requested should exist, but if it doesn'@q'@>t,
|
10386
|
10386
|
|NULL| is returned.
|
10387
|
10387
|
|
10388
|
10388
|
@<PackLayout Implementation@>=
|
|
@@ -10487,7 +10487,7 @@ void PackLayout::setOrientation(Qt::Orientations direction)
|
10487
|
10487
|
\noindent Ordinarily, mouse down events that are passed from a |QGraphicsView|
|
10488
|
10488
|
to an interactive |QGraphicsScene| will continue to pass that click down to an
|
10489
|
10489
|
item in the scene. This class is used when we are interested in a click anywhere
|
10490
|
|
-in the view and it doesn't really matter where in the scene that click occurred
|
|
10490
|
+in the view and it doesn'@q'@>t really matter where in the scene that click occurred
|
10491
|
10491
|
or even if there is a graphics item at that point. Any click passed to the
|
10492
|
10492
|
|SceneButton| will cause the scene to emit a signal containing the screen
|
10493
|
10493
|
coordinates of the click.
|
|
@@ -10576,8 +10576,8 @@ WidgetDecorator::WidgetDecorator(QWidget *widget, const QString &labeltext,
|
10576
|
10576
|
}
|
10577
|
10577
|
|
10578
|
10578
|
@ The decoration is a |QGraphicsView|. To get this to look right, we need to
|
10579
|
|
-make sure there aren't any scroll bars and there shouldn't be a frame
|
10580
|
|
-surrounding it. While we're at it, we allow it to accept clicks, though this
|
|
10579
|
+make sure there aren'@q'@>t any scroll bars and there shouldn'@q'@>t be a frame
|
|
10580
|
+surrounding it. While we'@q'@>re at it, we allow it to accept clicks, though this
|
10581
|
10581
|
functionality is not yet used.
|
10582
|
10582
|
|
10583
|
10583
|
@<Prepare the graphics view@>=
|
|
@@ -10855,7 +10855,7 @@ log->setColumnWidth(0, 100);
|
10855
|
10855
|
log->setColumnWidth(1, 100);
|
10856
|
10856
|
log->setColumnWidth(2, 100);
|
10857
|
10857
|
|
10858
|
|
-@ Most users will want to save a profile after they've edited it. We also
|
|
10858
|
+@ Most users will want to save a profile after they'@q'@>ve edited it. We also
|
10859
|
10859
|
provide CSV export here. Note that this class only supports logs with a single
|
10860
|
10860
|
temperature and a single annotation column. As the class is considered
|
10861
|
10861
|
depreciated, it will not be extended to support arbitrarily many columns.
|
|
@@ -10984,7 +10984,7 @@ appropriate technique.
|
10984
|
10984
|
@* XML Output.
|
10985
|
10985
|
|
10986
|
10986
|
\noindent An XML format has been chosen as the native format for \pn{} because
|
10987
|
|
-of Qt's excellent support for reading and writing such documents. Using this
|
|
10987
|
+of Qt'@q'@>s excellent support for reading and writing such documents. Using this
|
10988
|
10988
|
capability is less error prone than developing a new, more compact format.
|
10989
|
10989
|
Another reason to choose XML is that it becomes quite easy to modify saved data
|
10990
|
10990
|
in a text editor and still end up with something \pn{} will understand.
|
|
@@ -18293,7 +18293,7 @@ TranslationConfWidget::TranslationConfWidget(DeviceTreeModel *model, const QMode
|
18293
|
18293
|
}
|
18294
|
18294
|
|
18295
|
18295
|
@ To update the temperature at which to match we save both the values of the
|
18296
|
|
-two widgets which control this and the value in Fahrenheit so we don'@q@'@>t need to
|
|
18296
|
+two widgets which control this and the value in Fahrenheit so we don'@q'@>t need to
|
18297
|
18297
|
run unit conversions during view initialization.
|
18298
|
18298
|
|
18299
|
18299
|
@<TranslationConfWidget implementation@>=
|