forked from caqtdm/caqtdm.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentation.html
3728 lines (3590 loc) · 182 KB
/
documentation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<title>caQtDM 4.4.1 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="_static/styles/theme.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="_static/styles/bootstrap.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="_static/vendor/fontawesome/6.1.2/css/all.min.css?digest=e353d410970836974a52" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=e353d410970836974a52" />
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'documentation';</script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<a class="skip-link" href="#main-content">Skip to main content</a>
<input type="checkbox"
class="sidebar-toggle"
name="__primary"
id="__primary"/>
<label class="overlay overlay-primary" for="__primary"></label>
<input type="checkbox"
class="sidebar-toggle"
name="__secondary"
id="__secondary"/>
<label class="overlay overlay-secondary" for="__secondary"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
</div>
<nav class="bd-header navbar navbar-expand-lg bd-navbar">
<div class="bd-header__inner bd-page-width">
<label class="sidebar-toggle primary-toggle" for="__primary">
<span class="fa-solid fa-bars"></span>
</label>
<div class="navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="#">
<p class="title logo__title">None</p>
</a></div>
</div>
<div class="col-lg-9 navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item"><nav class="navbar-nav">
<p class="sidebar-header-items__title"
role="heading"
aria-level="1"
aria-label="Site Navigation">
Site Navigation
</p>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="#">
caQtDM Manual
</a>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<script>
document.write(`
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
`);
</script>
</div>
<div class="navbar-item">
<script>
document.write(`
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
`);
</script></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<script>
document.write(`
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
`);
</script>
</div>
<label class="sidebar-toggle secondary-toggle" for="__secondary">
<span class="fa-solid fa-outdent"></span>
</label>
</div>
</nav>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar hide-on-wide">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item"><nav class="navbar-nav">
<p class="sidebar-header-items__title"
role="heading"
aria-level="1"
aria-label="Site Navigation">
Site Navigation
</p>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="#">
caQtDM Manual
</a>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item">
<script>
document.write(`
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
`);
</script></div>
</div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article"></div>
<div id="searchbox"></div>
<article class="bd-article" role="main">
<section id="welcome-to-caqtdm-s-documentation">
<h1>Welcome to caQtDM’s documentation!<a class="headerlink" href="#welcome-to-caqtdm-s-documentation" title="Permalink to this heading">#</a></h1>
<div class="toctree-wrapper compound">
<span id="document-caQtDM_Manual"></span><section id="caqtdm-manual">
<h2>caQtDM Manual<a class="headerlink" href="#caqtdm-manual" title="Permalink to this heading">#</a></h2>
<div class="line-block">
<div class="line"><strong>Anton Mezger/Helge Brands</strong></div>
<div class="line"><strong>November 2023</strong></div>
<div class="line">Paul Scherrer Institute</div>
<div class="line">CH-5232 Villigen</div>
<div class="line">Switzerland</div>
</div>
<section id="about-this-manual">
<h3>About this manual<a class="headerlink" href="#about-this-manual" title="Permalink to this heading">#</a></h3>
<p>This manual has been written in Sphinx Ret. It has to
be noted that caQtDM is though as a replacement of the very known EPICS <a class="footnote-reference brackets" href="#id3" id="id1" role="doc-noteref"><span class="fn-bracket">[</span>1<span class="fn-bracket">]</span></a>
Display Manager MEDM <a class="footnote-reference brackets" href="#id4" id="id2" role="doc-noteref"><span class="fn-bracket">[</span>2<span class="fn-bracket">]</span></a>, therefore this manual is of course also inspired
of the existing MEDM manual.</p>
<p>The HTML was converted to restructured text using spinx.</p>
<aside class="footnote brackets" id="id3" role="note">
<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#id1">1</a><span class="fn-bracket">]</span></span>
<p>EPICS: <a class="reference external" href="https://epics.anl.gov">https://epics.anl.gov</a></p>
</aside>
<aside class="footnote brackets" id="id4" role="note">
<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#id2">2</a><span class="fn-bracket">]</span></span>
<p>MEDM: <a class="reference external" href="https://epics.anl.gov/extensions/medm">https://epics.anl.gov/extensions/medm</a></p>
</aside>
</section>
<section id="introduction">
<h3>Introduction<a class="headerlink" href="#introduction" title="Permalink to this heading">#</a></h3>
<p>caQtDM is a package based on Qt developed at PSI as a successor of
MEDM, a well known package used in the EPICS community for building
synoptic displays. The caQtDM package uses the standard Qt GUI (Qt
designer) for designing synoptic displays, containing all the controls
graphical elements necessary to visualize and control a facility. Qt
designer uses the custom widgets designed for this purpose and writes
a description file (<code class="docutils literal notranslate"><span class="pre">.ui</span></code> file) that will be used by the synoptic viewer
caQtDM. A reload function in caQtDM allows to rapidly see the changes
made by the editor in order to accelerate the process of editing and
viewing.</p>
<p>The heart of the package are the graphical objects (Widgets) plugged
into the Qt designer. These widgets will be described in detail with
their properties below. Many objects have been built and more are
introduced as soon as they are needed. The Qt system allows in a very
easy way to add continuously new objects or to modify these.</p>
<p>Technically the package consists of three class libraries with the
graphical objects, a class library used by the viewer or other
applications and the viewer (caQtDM) itself as well as three libraries
with the plugin definitions for the Qt designer. The editor (Qt
designer) is part of Qt. It has to be noted that the graphical objects
are not control system aware. The graphical objects have properties
and methods used by the editor. The control system knowledge is then
integrated and handled by the viewer. This architecture allowed us to
handle three control systems easily: epics3 <a class="footnote-reference brackets" href="#id7" id="id5" role="doc-noteref"><span class="fn-bracket">[</span>3<span class="fn-bracket">]</span></a>, epics4 <a class="footnote-reference brackets" href="#id8" id="id6" role="doc-noteref"><span class="fn-bracket">[</span>4<span class="fn-bracket">]</span></a>, and an older
in-house control system. These are all handled by the viewer. This
distribution supports epics3 by default. Epics4 can be integrated
when building it, but only a few tests could be done while not many
process variables could be tested so far.</p>
<aside class="footnote brackets" id="id7" role="note">
<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#id5">3</a><span class="fn-bracket">]</span></span>
<p><em>epics3</em> refers to Channel Access protocol</p>
</aside>
<aside class="footnote brackets" id="id8" role="note">
<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#id6">4</a><span class="fn-bracket">]</span></span>
<p><em>epics4</em> refers to PV Access protocol, introduced in EPIS release 7</p>
</aside>
<p>Part of the package is also a converter (<code class="docutils literal notranslate"><span class="pre">adl2ui</span></code>) that can convert MEDM
<code class="docutils literal notranslate"><span class="pre">.adl</span></code> files into <code class="docutils literal notranslate"><span class="pre">.ui</span></code> files used by the caQtDM package. In most cases
this converter gives good results. Besides the already mentioned <code class="docutils literal notranslate"><span class="pre">.ui</span></code>
files, the viewer can also use in-house developed <code class="docutils literal notranslate"><span class="pre">.prc</span></code> files. These
last files represent ASCII files to be edited with any text editor
using are in house syntax.</p>
<p>The Qt system is widely used today on many platforms and is therefore
an ideal system to develop new applications. The advantage of Qt is
therefore that an application using this architecture will run on many
platforms, so that caQtDM will run on linux as well as on windows
systems.</p>
</section>
<section id="qt-designer-editor">
<h3>Qt Designer: editor<a class="headerlink" href="#qt-designer-editor" title="Permalink to this heading">#</a></h3>
<p>The designer coming with Qt is the editor used for developing the
synoptic screens. In this manual we will not describe this editor
exhaustively, while the editor has it own manual that can be called by
pressing the F1 key. The editor allows by dragging and dropping the
graphical objects to be used into the synoptic display. The properties
of the graphical objects can then be customized in the property editor.
The most important property is normally the device that is monitored or
controlled and is represented by the property channel. An exhaustive
description of the graphical objects and their properties will be given
below.</p>
</section>
<section id="install">
<h3>Install<a class="headerlink" href="#install" title="Permalink to this heading">#</a></h3>
<p>Since version 3.1.4 of caQtDM a new build and installation procedure
working for several linux platforms are available.</p>
<p>First you will have to unpack the tar archive, which will create the
necessary directories and files. In the upper directory you will find
the necessary procedures to build the package, run it locally without
installing, and also an installation procedure.</p>
<ol class="arabic simple">
<li><p>you will have to install Qt and qwt when they are not already
installed. On modern systems Qt should already be installed, but the
qt-designer not necessarily and you should install it (eventually
with sudo apt-get install qt*-designer). qwt is normally not
installed and you should install this too.</p></li>
<li><p>you will have to install EPICS (base)</p></li>
<li><p>all the environment variables used for the installation will be
defined in the script <code class="docutils literal notranslate"><span class="pre">caQtDM_Env</span></code>. When some of the variables are
already defined in your environment, the script will use them,
otherwise they will be defined. It is up to you to edit this file and
adapt the variables to your environment.</p></li>
<li><p>the script <code class="docutils literal notranslate"><span class="pre">caQtDM_BuildAll</span></code> will build you the package now into the
directory <code class="docutils literal notranslate"><span class="pre">./caQtDM_Binaries</span></code>. You should obtain there <code class="docutils literal notranslate"><span class="pre">adl2ui</span></code>, <code class="docutils literal notranslate"><span class="pre">caQtDM</span></code>,
<code class="docutils literal notranslate"><span class="pre">libqtcontrols.so</span></code> and <code class="docutils literal notranslate"><span class="pre">libcaQtDM_Lib.so</span></code> as well as a <code class="docutils literal notranslate"><span class="pre">designer</span></code> directory
containing 3 files <code class="docutils literal notranslate"><span class="pre">libqtcontrols*_plugin.so</span></code>. if you encounter a
problem when building due to some environment variable problem or
while not everything was installed before, you may correct your
problem and run the script again. In case you want to cleanup you use
the script <code class="docutils literal notranslate"><span class="pre">caQtDM_CleanAll</span></code>, which will also delete the resulting
binaries.</p></li>
<li><p>you may try to install the package: the package should normally be
installed in the EPICS extensions and the environment variables are
pointing to them.</p></li>
<li><p>running <code class="docutils literal notranslate"><span class="pre">caQtDM</span></code>: when the package has been successfully build into the
directory <code class="docutils literal notranslate"><span class="pre">./caQtDM_Binaries</span></code>, you can start <code class="docutils literal notranslate"><span class="pre">caQtDM</span></code> by using the script
<code class="docutils literal notranslate"><span class="pre">startDM_Local</span></code> and the qt-designer by the script <code class="docutils literal notranslate"><span class="pre">qtdesigner</span></code> (all
located in the main directory where you expanded the tar file). These
scripts will set some important environment variables in order to set
the path, the plugin_path and to point to the test directory provided
with the package (<code class="docutils literal notranslate"><span class="pre">./caQtDM_Tests</span></code>). In this directory also the
stylesheets are located to be used for a nice rendering. You may call
the <code class="docutils literal notranslate"><span class="pre">test.ui</span></code> file with the above mentioned scripts. In order to test
the display some EPICS channels have to be defined. This can be done
by running a softIoc shell called with run-epics also provided in
the test directory.</p></li>
<li><p>in case you have qwt 6.1 or greater you will have to use in
caQtDM_QtControls/src the files qwt_thermo_marker_61.
(<em>instead of qwt_thermo_marker</em>)</p></li>
<li><p>in case you already use Qt5 or Qt6 with qwt6.2 the building should also be
straight forward.</p></li>
<li><p>Instructions for compiling caQtDM on Windows/Linux/Mac Requirements:</p></li>
</ol>
<dl>
<dt>Min:</dt><dd><ul class="simple">
<li><p>Qt 4.8.5</p></li>
<li><p>Qwt 6.0.1</p></li>
<li><p>EPICS 3.14.12</p></li>
<li><p>MS Visual Studio 2010</p></li>
<li><p>Wix 3.0</p></li>
</ul>
</dd>
<dt>Max:</dt><dd><ul class="simple">
<li><p>Qt 6.5.2</p></li>
<li><p>Qwt 6.2.0</p></li>
<li><p>EPICS 7.0.7</p></li>
<li><p>MS Visual Studio 2019</p></li>
<li><p>Wix 3.11</p></li>
</ul>
<p>With <code class="docutils literal notranslate"><span class="pre">caQtDM_Env.bat</span></code> you can configure your system. All settings which
are needed will be taken from here.</p>
<p>The building can be started with the batchfile : <code class="docutils literal notranslate"><span class="pre">caQtDM_BuildAll.bat</span></code></p>
<p>The packaging is made with the batch file : <code class="docutils literal notranslate"><span class="pre">caQtDM_Build_Package.bat</span></code>
This will generate a MSI installation file in the folder of
<code class="docutils literal notranslate"><span class="pre">caQtDM_Binaries</span></code>.</p>
<p>To clean the Folder you should use <code class="docutils literal notranslate"><span class="pre">caQtDM_CleanAll.bat</span></code>.</p>
</dd>
</dl>
</section>
<section id="example-build-settings-for-debian-12">
<h3>Example build settings for Debian 12<a class="headerlink" href="#example-build-settings-for-debian-12" title="Permalink to this heading">#</a></h3>
<div class="literal-block-wrapper docutils container" id="id45">
<div class="code-block-caption"><span class="caption-text">installation</span><a class="headerlink" href="#id45" title="Permalink to this code">#</a></div>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> apt install git
apt install qtcreator
apt install gcc
apt install g++
apt install qwt
apt install qwt-qt6
apt install qwt-qt5
apt install libqwt
apt install libqwt-qt5-dev
apt install qmake
apt install qt5-dev
apt install qt6
apt install qt5-qmake
apt install qt5-default
apt install qtbase5-dev
apt install qt5designer
apt install qt5-designer
apt install qttools5-dev-tools
apt install qtsvg5-examples
apt install qttools5-dev
apt install qtsystems5-dev
apt install libqt5svg5-dev
apt install libzip-dev
apt install python3-dev
apt install libqt5x11extras5-dev
</pre></div>
</div>
</div>
<div class="literal-block-wrapper docutils container" id="id46">
<div class="code-block-caption"><span class="caption-text">configuration</span><a class="headerlink" href="#id46" title="Permalink to this code">#</a></div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> #!/bin/bash
if [ -z "$QTHOME" ]; then export QTHOME=/usr;
fi
if [ -z "$QWTHOME" ]; then export QWTHOME=/usr;
fi
if [ -z "$QWTINCLUDE" ]; then export QWTINCLUDE=/usr/include/qwt;
fi
if [ -z "$QWTLIB" ]; then export QWTLIB=/usr/lib;
fi
if [ -z "$QWTVERSION" ]; then export QWTVERSION=6.1;
fi
# on unix library can be libqwt or libqwt-qt5 or ...
if [ -z "$QWTLIBNAME" ]; then export QWTLIBNAME=qwt-qt5;
fi
if [ -z "$EPICS_BASE" ]; then export EPICS_BASE=/home/helge/epics-base;
fi
if [ -z "$EPICSINCLUDE" ]; then export EPICSINCLUDE=${EPICS_BASE}/include;
fi
if [ -z "$EPICSLIB" ]; then export EPICSLIB=${EPICS_BASE}/lib/$EPICS_HOST_ARCH;
fi
if [ -z "$EPICS4LOCATION" ]; then export EPICS4LOCATION=/home/mezger/EPICS-CPP-4.6.0/
fi
if [ -z "$EPICSEXTENSIONS" ]; then export EPICSEXTENSIONS=/usr/local/epics/extensions;
fi
if [ -z "$QTCONTROLS_LIBS" ]; then export QTCONTROLS_LIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$CAQTDM_COLLECT" ]; then export CAQTDM_COLLECT=`pwd`/caQtDM_Binaries;
fi
export QTBASE=${QTCONTROLS_LIBS};
if [ -z "$CAQTDM_CA_ARCHIVELIBS" ]; then export CAQTDM_CA_ARCHIVELIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$CAQTDM_LOGGING_ARCHIVELIBS" ]; then export CAQTDM_LOGGING_ARCHIVELIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$QTDM_LIBINSTALL" ]; then export QTDM_LIBINSTALL=$EPICSEXTENSIONS/lib/$EPICS_HOST_ARCH;
fi
if [ -z "$QTDM_BININSTALL" ]; then export QTDM_BININSTALL=$EPICSEXTENSIONS/bin/$EPICS_HOST_ARCH;
fi
if [ -z "$PYTHONVERSION" ]; then export PYTHONVERSION=3.11;
fi
if [ -z "$PYTHONINCLUDE" ]; then export PYTHONINCLUDE=/usr/include/python$PYTHONVERSION;
fi
if [ -z "$PYTHONLIB" ]; then export PYTHONLIB=/usr/lib/;
fi
if [ -z "$ZMQ" ]; then export ZMQ=/usr/local;
fi
if [ -z "$ZMQINC" ]; then export ZMQINC=$ZMQ/include;
fi
if [ -z "$ZMQLIB" ]; then export ZMQLIB=$ZMQ/lib;
fi
if [ -z "$TROLLTECH" ]; then
echo
echo ====== do not use psi trolltech directories
echo
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:${QTBASE};
fi
else
echo
echo ====== use psi trolltech directories
echo
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:$TROLLTECH/binQt;
fi
fi
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:$TROLLTECH/binQt:${QTBASE};
fi
</pre></div>
</div>
</div>
</section>
<section id="example-build-settings-for-rocky-linux-9">
<h3>Example build settings for Rocky Linux 9<a class="headerlink" href="#example-build-settings-for-rocky-linux-9" title="Permalink to this heading">#</a></h3>
<div class="literal-block-wrapper docutils container" id="id47">
<div class="code-block-caption"><span class="caption-text">installation</span><a class="headerlink" href="#id47" title="Permalink to this code">#</a></div>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> dnf -y install epel-release
dnf install qt-creator
dnf install readline-devel
dnf install perl
dnf install qwt-qt5-devel
dnf install qt5-qttools-devel
dnf install qt5-qtx11extras
dnf install qt5-qttools-static
dnf install libzip-devel
dnf install zlib-devel
dnf install python3-devel
dnf install libXext-devel
</pre></div>
</div>
</div>
<p>Please change the qmake call in ./caQtDM_BuildAll to qmake-qt5
.. code-block:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>:caption: configuration
#!/bin/bash
if [ -z "$QTHOME" ]; then export QTHOME=/usr;
fi
if [ -z "$QWTHOME" ]; then export QWTHOME=/usr;
fi
if [ -z "$QWTINCLUDE" ]; then export QWTINCLUDE=/usr/include/qt5/qwt;
fi
if [ -z "$QWTLIB" ]; then export QWTLIB=${QWTHOME}/lib;
fi
if [ -z "$QWTVERSION" ]; then export QWTVERSION=6.1;
fi
# on unix library can be libqwt or libqwt-qt5 or ...
if [ -z "$QWTLIBNAME" ]; then export QWTLIBNAME=qwt-qt5;
fi
if [ -z "$EPICS_HOST_ARCH" ]; then export EPICS_HOST_ARCH=linux-x86_64;
fi
if [ -z "$EPICS_BASE" ]; then export EPICS_BASE=/home/helge/base-7.0.7;
fi
if [ -z "$EPICSINCLUDE" ]; then export EPICSINCLUDE=${EPICS_BASE}/include;
fi
if [ -z "$EPICSLIB" ]; then export EPICSLIB=${EPICS_BASE}/lib/$EPICS_HOST_ARCH;
fi
if [ -z "$EPICS4LOCATION" ]; then export EPICS4LOCATION=/home/mezger/EPICS-CPP-4.6.0/
fi
if [ -z "$EPICSEXTENSIONS" ]; then export EPICSEXTENSIONS=/usr/local/epics/extensions;
fi
if [ -z "$QTCONTROLS_LIBS" ]; then export QTCONTROLS_LIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$CAQTDM_COLLECT" ]; then export CAQTDM_COLLECT=`pwd`/caQtDM_Binaries;
fi
export QTBASE=${QTCONTROLS_LIBS};
if [ -z "$CAQTDM_CA_ARCHIVELIBS" ]; then export CAQTDM_CA_ARCHIVELIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$CAQTDM_LOGGING_ARCHIVELIBS" ]; then export CAQTDM_LOGGING_ARCHIVELIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$QTDM_LIBINSTALL" ]; then export QTDM_LIBINSTALL=$EPICSEXTENSIONS/lib/$EPICS_HOST_ARCH;
fi
if [ -z "$QTDM_BININSTALL" ]; then export QTDM_BININSTALL=$EPICSEXTENSIONS/bin/$EPICS_HOST_ARCH;
fi
if [ -z "$PYTHONVERSION" ]; then export PYTHONVERSION=3.9;
fi
if [ -z "$PYTHONINCLUDE" ]; then export PYTHONINCLUDE=/usr/include/python$PYTHONVERSION;
fi
if [ -z "$PYTHONLIB" ]; then export PYTHONLIB=/usr/lib/;
fi
if [ -z "$ZMQ" ]; then export ZMQ=/usr/local;
fi
if [ -z "$ZMQINC" ]; then export ZMQINC=$ZMQ/include;
fi
if [ -z "$ZMQLIB" ]; then export ZMQLIB=$ZMQ/lib;
fi
if [ -z "$TROLLTECH" ]; then
echo
echo ====== do not use psi trolltech directories
echo
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:${QTBASE};
fi
else
echo
echo ====== use psi trolltech directories
echo
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:$TROLLTECH/binQt;
fi
fi
if [ -z "$QTDM_RPATH" ]; then export QTDM_RPATH=${QTDM_LIBINSTALL}:$TROLLTECH/binQt:${QTBASE};
fi
</pre></div>
</div>
</section>
<section id="development-history">
<h3>Development history<a class="headerlink" href="#development-history" title="Permalink to this heading">#</a></h3>
<p>The following list describe the new features and bug fixes for every
release. You can follow the development history and detect if a bug in
the used version has been solved.</p>
<div class="docutils container">
<p>4.4.1</p>
</div>
<ul class="simple">
<li><p>caQtDM can be compiled with Qt6</p></li>
<li><p>new signals for caCartesianplot</p></li>
<li><p>fix for caInclude with upscaling</p></li>
<li><p>fix for undefined macros to define a standard value in macro</p></li>
<li><p>fix for popup panels to get a panel without data monitors</p></li>
<li><p>fix for caLineEdit and caTextEntry to handle strings with Signal/Slot</p></li>
<li><p>fix for the start screen on some mobile iOS devices</p></li>
<li><p>cleanup of data plugin messages</p></li>
<li><p>fix for Qt6.4 compiler settings with EPICS4 header on Windows</p></li>
<li><p>fix the PV data selector in designer, missed environment</p></li>
</ul>
<div class="docutils container">
<p>4.4.0</p>
</div>
<ul class="simple">
<li><p>fileopenwindow: options changes</p></li>
<li><p>fix for converted adl files</p></li>
<li><p>fix for higher python versions</p></li>
<li><p>fix cacartesianplot for minor ticks disappeared when changing number of ticks</p></li>
<li><p>searchpaths handling for non ADL files</p></li>
<li><p>catable fix for big numbers</p></li>
<li><p>bsread fix null number counting messages</p></li>
<li><p>epics3plugin fix for disconnected channels</p></li>
<li><p>epics4plugin is now working with the epics 7 API and PVA can be used</p></li>
<li><p>filter feature for epics 7 is now available</p></li>
<li><p>caStripPlot: feature dynamic property “Legend” for rename the channel to a user defined</p></li>
<li><p>PV-Editor for Designer with network based auto completion</p></li>
<li><p>new command line option [-savetoimage] to save screenshots as PNG files</p></li>
<li><p>added C entry points for python</p></li>
<li><p>new decoding functions for camera images (Mono8,Mono10p,Mono10packed,Mono12p,Mono12packed)</p></li>
<li><p>future use of compression for camera images (zLib+jpg)</p></li>
<li><p>MacOS and iOS: Binaries already build with Qt6 Branch. The Reason is the dependency to the build environment</p></li>
</ul>
<div class="docutils container">
<p>4.3.0</p>
</div>
<ul class="simple">
<li><p>POPUP status windows with possible delays</p></li>
<li><p>dynamic Property caqtdmPopupUI and caqtdmPopupUI_Delay for POPUP windows (The filename must contain the word popup.ui)</p></li>
<li><p>wmsignalpropergator can resize a panel</p></li>
<li><p>fix for too long strings in channel names</p></li>
<li><p>fix for some character problems</p></li>
<li><p>fix for alarm status for caMenu</p></li>
<li><p>fix for softPV Waveform Processing</p></li>
<li><p>fix for softPV initialisation, wrong initial value, ui loader depending</p></li>
<li><p>cleanup in the sf-archiver</p></li>
<li><p>fix in caMenu, paintEvent removed</p></li>
<li><p>more file status check before accessing (avoid AFS problems)</p></li>
<li><p>fix the seg fault for the classname problem EPushButton</p></li>
<li><p>softPV vector/scalar performance problem fixed</p></li>
<li><p>start of EPICS 4 to EPICS 7 implementation</p></li>
<li><p>fix for string length problems</p></li>
<li><p>calinedraw emit textChanged</p></li>
<li><p>optimized caCalc signal emitance</p></li>
<li><p>caCamera add slots for zoom and position</p></li>
<li><p>caQtDM can be compiled with VS2019</p></li>
<li><p>Updates for Android and IOS</p></li>
<li><p>fixes some problems with MOC and QWT</p></li>
<li><p>build in ADL and EDL Parser</p></li>
<li><p>shellcommand for Mac</p></li>
<li><p>landscape version for Android</p></li>
<li><p>fileopening with dynamic conversion causes problems using TEMP directory</p></li>
<li><p>added for archivSF the redirection feature to access multiple data sources</p></li>
<li><p>fix a floating point problem on RHL7 in the archiveSF</p></li>
<li><p>two additional data plugins</p></li>
</ul>
<div class="docutils container">
<p>4.2.4</p>
</div>
<ul class="simple">
<li><p>fixed a exception in bsread at closing</p></li>
<li><p>added a userdefined format to caLinEdit,caTextEntry and caTextEntry</p></li>
<li><p>add macroreplacment for tooltip and statustip on: caLineEdit, caMultilineString, caGraphics, caPolyline, caMessageButton and caLed</p></li>
<li><p>fix TLS problem in sf archiver for old Qt Versions</p></li>
<li><p>buffer overflow in sf_archiver plugin corrected</p></li>
<li><p>extend macro replacement for cascript button</p></li>
<li><p>reusing connected channels in epics3 plugin for seting data</p></li>
<li><p>borderWidth designer problem with numbers >1, fixed</p></li>
<li><p>changes for python3</p></li>
<li><p>fix for backend check. Backend property will generate a message that the backend name is not known. but it will use it.</p></li>
<li><p>too strict check on RegEx match for visibility</p></li>
<li><p>caTextEntry value could be set beyond channel hopr or lopr limits. this has been corrected</p></li>
<li><p>focus can be kept now in caTextEntry even on pointer leave by specifying a property</p></li>
<li><p>instead of exchanging through shared memory directly for -attach, a queue has been integrated for attaching</p></li>
<li><p>for caLineEdit in case of bsread, the unit will be acquired automatically through epics (PSI special)</p></li>
<li><p>remove extra white spaces and special characters (lf, cr) form macrodefs</p></li>
<li><p>added for caTextEntry a drop possibility when dragging into it.</p></li>
<li><p>new bsread options</p></li>
<li><p>in the unit, the u in uJ will be converted to a real mu</p></li>
</ul>
<div class="docutils container">
<p>4.2.2</p>
</div>
<ul class="simple">
<li><p>shared memory key was not set correctly for -attach; corrected now</p></li>
</ul>
<div class="docutils container">
<p>4.2.1</p>
</div>
<ul class="simple">
<li><p>after write epics channel is cleared now</p></li>
<li><p>performance enhancement for caCalc</p></li>
<li><p>added some signals and slots</p></li>
<li><p>internal macros added</p></li>
<li><p>added property to caCartesianplot for changing size of symbols by a multiplicator</p></li>
<li><p>bug fixes</p></li>
</ul>
<div class="docutils container">
<p>4.2.0</p>
</div>
<ul class="simple">
<li><p>major changes in camera widget to support all possible epics data modes and camera modes</p></li>
<li><p>rich text now also considered for fontscaling</p></li>
<li><p>epics version number will now be printed in the message window</p></li>
<li><p>added include definition for epics 3.15 and higher</p></li>
<li><p>prevent too many messages when epics exceptions</p></li>
<li><p>bsread support for 2D waveforms</p></li>
<li><p>added ctrl+ and ctrl - to increase or decrease window size</p></li>
<li><p>added a slot for executing the message button</p></li>
<li><p>unresolved macros window implemented</p></li>
<li><p>the problem of increasing open files solved</p></li>
<li><p>added possibility to disconnect all channels in hidden tabs</p></li>
<li><p>problem with autoscale and infinite values solved</p></li>
<li><p>month number in date corrected</p></li>
<li><p>soft variables were not always updating. eliminated test for update; soft variables will not be updated in hidden tab</p></li>
</ul>
<div class="docutils container">
<p>4.1.7</p>
</div>
<ul class="simple">
<li><p>cawavetable was not expanding anymore; corrected</p></li>
<li><p>patch for Qt4.6</p></li>
<li><p>made a performance increase for cacalc, but still has to be carefully tested</p></li>
<li><p>added possible to get info for objects when the overlay widget has no monitors</p></li>
</ul>
<div class="docutils container">
<p>4.1.6</p>
</div>
<ul class="simple">
<li><p>added to print date, time and filename</p></li>
<li><p>added signals to cachoice, camessage so that setting of the index of a tabwidget will be possible</p></li>
<li><p>changed all floats in archive plugins to doubles in order to get a better resolution of the time axis</p></li>
<li><p>access security had a small bug when over a gateway</p></li>
<li><p>command line option updatetype=direct added to set caQtDM in direct update mode</p></li>
<li><p>camenu maske integriert, allows to make entries invisible</p></li>
<li><p>cathermo marker has now variable size</p></li>
<li><p>cursor shape did not change when on a cawidget and when access security changed</p></li>
<li><p>regex expressions now possible when using a macro</p></li>
<li><p>last index in array was not taken into account and scale was not updated for the wareerfallplot</p></li>
<li><p>optimization of archive plugins</p></li>
<li><p>added the possibility to update QtabWidget tab texts with a macro</p></li>
<li><p>changed padding for bigger fonts in carowcolmenu</p></li>
<li><p>added the possibility to modify colors of cacalc</p></li>
<li><p>resize storming of carowcolmenu solved</p></li>
<li><p>cascriptbutton got a property to hide the checkbox</p></li>
<li><p>QTextBrowser can now also display afile speicied with an url in the searchpath (see texts.ui)</p></li>
<li><p>a hide/show slot has been added to the ca widgets</p></li>
<li><p>the wmsignalpropagator got signals to propagate the resizing factor of a window. this can be used in order to correct animations with absolute pixel positions.</p></li>
<li><p>when propagating through a signal a value to cacalc, this value is displayed. However was not propgated for further use. This has been corrected</p></li>
<li><p>the colors of the caspinbox could be wrong due to a ack of proper initialisation, this has been corrected.</p></li>
<li><p>very big doubles were not set correctly, this has been corrected.</p></li>
<li><p>static visibility (while no channels) can be used now.</p></li>
<li><p>handle double encoded url’s in camimedisplay.</p></li>
<li><p>added hide/show slot in all ca widgets (permits to hide and show a widget when propagating a signal from cacalc)</p></li>
<li><p>when using waveforms from the archive, flashing of the cacartesianplot is suppressed when no data.</p></li>
<li><p>added propagation of signal QRECT to parent, this allows to move a cainclude</p></li>
<li><p>absolute positioning of items added to cainclude; abolute positions can also be channels that can move the positions.</p></li>
<li><p>due to some changes to internal stylesheet, the carelateddisplay could not be hidden, this has been corrected</p></li>
<li><p>x scale of cartesian plot can now also be used with a time scale (milliseconds from epoch)</p></li>
<li><p>for visibilitycalc, when no channels specified, static calculation will be done at startup</p></li>
<li><p>archive retrieval revisited, while crashing and http requests had to be canceled at exit.</p></li>
<li><p>added check for when git not present</p></li>
<li><p>added an environment variable CAQTD_TIMEOUT_HOURS to be used to quit caQtDM automatically, mouse event will reset the timeout.</p></li>
<li><p>it is now possible to use caCalc as a vector (waveform) by specifying associated pv’s. the soft variable can then be used to display a waveform</p></li>
</ul>
<div class="docutils container">
<p>4.1.5</p>
</div>
<ul class="simple">
<li><p>possibility to add a frame around a caInclude</p></li>
<li><p>in case of epics 3.15 added DBE_PROPERTY</p></li>
<li><p>modified caQtDM.pri for macos</p></li>
<li><p>modified caLineEdit and caLineDraw for displaying long long instead of long when double to integer representation</p></li>
<li><p>caled circle will stay a circle when resizing with another aspect ration; border color can be customized</p></li>
<li><p>add vumeter simulation to caThermo</p></li>
<li><p>calineargauge made correct size when no scale (in order to make all sizes the same)</p></li>
<li><p>for caRelatedDisplay one can now set the position for the called window</p></li>
<li><p>for caThermo a problem solved in case of alarm colors (not always refreshed with right color) and transparency added for background</p></li>
<li><p>for caThermo offset of 4 pixels modified in case of noscale</p></li>
<li><p>added horizontal and vertical spacing properties to caInclude</p></li>
<li><p>added possibility to modify position and size of a control object by the function %QRect in caCalc using 1 to 4 channels</p></li>
<li><p>loading of files through internet now also over https</p></li>
<li><p>again compatible with Qt4.6</p></li>
<li><p>cachoice bug when using bit offset corrected</p></li>
<li><p>legend added to cacartesianplot</p></li>
<li><p>calineargauge and cacirculargauge modifier in indor to be smaller and changed font algorithme.</p></li>
<li><p>added possibility to have another http address for archiveSF</p></li>
<li><p>added test to indicate that waveforms are not supported by the archive plugins.</p></li>
<li><p>archive plugins added</p></li>
<li><p>epics4 plugin finalized for normative types, thanks to Marty Kraimer</p></li>
<li><p>window management widget implemented (close window, …)</p></li>
<li><p>careplacemacro widget implemented; allows to redefine macros during runtime</p></li>
<li><p>utilities designer plugin added for widgets not directly related to the control system</p></li>
<li><p>X/Y waveforms implemented in camera view</p></li>
<li><p>bsread plugin developed by Helge Brands finalized</p></li>
</ul>
<div class="docutils container">
<p>4.1.3</p>
</div>
<ul class="simple">
<li><p>added for the cartesianplot resize of the fatdots plot</p></li>
<li><p>softpv treatment was slowing done caQtDM and is corrected now</p></li>
<li><p>camera has been more optimized for 16bit waveforms (the other types not yet, due to a lack of waveforms types)</p></li>
<li><p>label and vertical label can gave a border now</p></li>
<li><p>caChoice has now the possibility to display a row from the bottom to the top (rowInverse) and is optimized</p></li>
<li><p>soft pv’s without a name were not working, now automatically a name is generated</p></li>
<li><p>in order to have cacalc’s working correctly in includes, a macro can be used in order to individialize them</p></li>
<li><p>zero values in cartesian plot are now replaced by the lowest non-zero value when logarithmic scale is used</p></li>
<li><p>for infinite values, cartseian plot was taken unlimited resources for display, this should be corrected nw</p></li>
<li><p>slots are added to cagraphics for animation of these objects (tilt angle, span angle, arc, .. can be set now through signals</p></li>
<li><p>caCamera will now zoom by default on the middle of the image and otherwise around the last clicked point</p></li>
<li><p>autorepeat on canumeric has been take out on request of the users</p></li>
<li><p>default timing of the timed update loop has now a lower internal rate, may still be changed by a json string</p></li>
<li><p>.ftvl field of epics is now used to distingues signed anand unsigned display in cawavetable</p></li>
<li><p>in pep file you may add now the keyword -minwidth to an item in order to define the minimum width of it (default value=100).</p></li>
<li><p>you can steer column width like that. also -comsize has been added for the comment to steer the fontsize.</p></li>
<li><p>cachoice has been slightly modified in order to grow instead of shrink (for pep files this was an issue)</p></li>
<li><p>searching of a pv for the infobox would find the pv independently of the associated plugin, giving therefore confusion</p></li>
<li><p>caLineDemo has been renamed in caLineDraw and is now able to draw vertically</p></li>
<li><p>cawavetable takes now information from channel.FTVL into account in order to define signed or unsigned data</p></li>
<li><p>added CTRL+C to camultinestring for copying to clipboard</p></li>
</ul>
<div class="docutils container">
<p>4.1.0</p>
</div>
<ul class="simple">
<li><p>caslider and cathermo can now display also a value; caslider got also the possibility to set distinctly the lower and upper limit</p></li>
<li><p>caQtDM will now display mu and grad on all platforms</p></li>
<li><p>adapted cathermo and caslider so that it can take ito account a default style with fore and background colors; now Alarm is modified in Alarm_Default or Alarm_static</p></li>
<li><p>now a widget can be added (see caLineDemo) without having to change caQtDM_lib. An interface has been defined in order to perform the datacuisition inside the widget class.</p></li>
<li><p>caLineDemo widget is an example for a fast on QWidget based line monitor</p></li>
<li><p>caMimeDisplay will now take macros into account</p></li>
<li><p>fatDots implemented in cartesian plot</p></li>
<li><p>more optimized image display</p></li>
<li><p>tab order and focus considered</p></li>
<li><p>trailing zeros of caspinbox and cawheelswitch suppressed</p></li>
<li><p>toggle button for a soft pv was not working</p></li>
<li><p>caQtDM uses now qwt6.1.1 in order to take advantage of multicore processing</p></li>
<li><p>carowcolmenu performance enhancement</p></li>
<li><p>options -url and -emptycache added</p></li>
<li><p>shortcuts defined (Ex: Ctrl+R = reload window; Ctrl+Alt+R = reload all windows; Ctrl+O = Open File; Ctrl+P = Print)</p></li>
<li><p>stylesheet entry for most of the cawidgets has been suppressed and for many cawidgets the influence of an external stylesheet can only be changed when setting default colormode</p></li>
<li><p>it is now possible to pipe ui data to caQtDM</p></li>
<li><p>reload management had to be changed due to some Qt memory management problem</p></li>
<li><p>eliminated some memory leaks</p></li>
<li><p>corrected wavetable string crash</p></li>
<li><p>one can now define if the size of an included ui file will be size adjusted or not</p></li>
<li><p>cabyte, cabytecontroller performance were bad and has to be be corrected</p></li>
<li><p>camenu and catogglebutton color handling is now done by stylesheet and not with palette colors. This in order to prevent cascading stylesheets, that have precedence over palette colors, to interfere.</p></li>
<li><p>default property for label set to transparent color</p></li>
<li><p>window for included filenames shows now the number of times and average loadtime for loading.</p></li>
</ul>
<div class="docutils container">
<p>4.0.2</p>
</div>
<ul class="simple">
<li><p>new options on command line available for caQtDM: -cs for specifiying default plugin to be used, -options for passing options (key, value pairs) to plugins</p></li>
<li><p>use now the QStringlList editor in Designer for semicolon separated strings</p></li>
<li><p>mobile handling of config files slightly modified</p></li>
<li><p>adjustment of fonts for android modified / apply button of caapplynumeric is now resizable</p></li>
<li><p>resizing was perturbed by a resize forced by incoming channel data.</p></li>
<li><p>the vertical label has now an alignment property</p></li>
<li><p>cacartesianplot was not always well triggered when a trigger channel was specified, now corrected</p></li>
<li><p>camimebutton added in order to start applications defined through the file extension</p></li>
<li><p>cawavetable can now adapt its rows and columns automatically when zero is specified.</p></li>
<li><p>an enum can be display in calineedit as number when enumeric is specified as format (otherwise as string in all cases)</p></li>
<li><p>a multistring widget has been added to display waveforms with chars and strings (in case of chars a n will make a new line)</p></li>
<li><p>initialisation of the first stripplot values with nan instead of zero. Value zero was confusing.</p></li>
<li><p>added the possibility to clear the messages through the file menu</p></li>
<li><p>in case of -attach with a huge macro, the shared memory was designed too small. now 2 kBytes can be transferred</p></li>
<li><p>camultilinestring has been implemented in order to mainly display char waveforms where carriage returns (ascii code 13) will produce a new line</p></li>
<li><p>cameter was not updating its label for Qt5; this has been corrected</p></li>
<li><p>some possible buffer overrun conditions corrected</p></li>
<li><p>one can choose now the number of divisions for x on castripplot</p></li>
<li><p>tooltip for properties are now present in psi patched version of Qt4.8.2 and for Qt5.6.0 and higher</p></li>
<li><p>tooltip for caQtDM objects will integrate the tooltip given by the designer</p></li>
<li><p>signal emit of cacalc has now also its integer and double value (this way you can for example switch the tabwidget pages with a cacalc that is updated by a soft/real channel)</p></li>
<li><p>pep emulation has been updated by cosylab</p></li>
<li><p>some slots have been added in order to link signals and slots in designer</p></li>
<li><p>QStackedWidget will also optimize its io for visible/hidden tabs</p></li>
<li><p>color handling for calineedit has been slightly changed in order to be able to get white on red in case of a major alarm (wanted for pep handling)</p></li>
<li><p>cartesianplots have now a group property in order to be able to align the horizontal scale (vertical label rectangle gets same width)</p></li>
<li><p>when a pep file and an ui file were displayed by caQtDM, some resize problems and a problem with capolyline was detected; is now solved</p></li>
<li><p>cainclude can handle now multiple instances of the same file in column, row or rowcolumn mode and use for each instance another macro</p></li>
</ul>
<div class="docutils container">
<p>4.0.0</p>
</div>
<ul class="simple">
<li><p>caQtDM has now a controlsystem plugin structure. CS can be added by writing a plugin (see demo plugin) that will automatically be loaded. By specifying the plugin in front</p></li>
<li><p>of the pv name (i.e epics3://somepv) that plugin will then be used.</p></li>
<li><p>fixed a small problem while writing a string to epics (could crash)</p></li>
<li><p>the build files have been simplified</p></li>
<li><p>edl2ui enhanced (by Lucas Carvalho)</p></li>
<li><p>several warnings (mainly on mac osx) solved</p></li>
<li><p>capolyline was not resizing correctly, this has been now corrected</p></li>
<li><p>a string containing a semicolon was only displayed up to the semicolumn, this is corrected now.</p></li>
<li><p>cacamera and cascan2d got display of selected values and readback values with different representations and may therefore write values to the CS</p></li>
<li><p>soft variable bug corrected (was not always found when writing)</p></li>
<li><p>catextentry got input dialogs (filedialog in case of strings, otherwise simple dialog)</p></li>
<li><p>activ widgets were always brought in front. Now you can choose if you let the designer define the layer</p></li>
<li><p>QTextBrowser can be used with macro substitution. The file that will be read in, will be watched for changes and will automatically be reloaded</p></li>
<li><p>a vertical label has been implemented</p></li>
</ul>
<div class="docutils container">
<p>3.9.4</p>
</div>
<ul class="simple">
<li><p>caQtDM will now also download from http when CAQTDM_URL_DISPLAY_PATH is defined</p></li>
<li><p>When starting with the option -httpconfig you will get the configuration screen in order to use network files as in mobile apps.</p></li>
<li><p>macros can now also be read when specifying -macrodefs filename</p></li>
<li><p>caMessageButton can be disabled/enabled by a second channel</p></li>
<li><p>configdialog for http configuration slightly changed</p></li>
<li><p>Zai added some edl objects</p></li>
<li><p>added cabytecontroller,for reading and setting individual bits</p></li>
<li><p>camenu: prevented scrolling of menu with mouse scroll while it interferes with scrollareas</p></li>
<li><p>changed default direction of caByte in parser.c in order to be compatible with MEDM</p></li>
<li><p>softpv name can now contain a macro</p></li>
<li><p>added calc string to info window * severity of a char/string record was not considered and is corrected, Char waveforms longer as 1024 were not displayed in calineedit and is corrected.</p></li>
<li><p>softpv’s in include file enabled</p></li>
<li><p>more colortables for caCamera, caScan2D, caWaterfallPlot</p></li>
<li><p>caScan2D added</p></li>
<li><p>added a clock allowing to display normal time or reception time of a process variable; alarm handling can be enabled to colorize the clock</p></li>
<li><p>added a new dial</p></li>
<li><p>problem with soft pv corrected</p></li>
<li><p>QTextBrowser can be used with macros in order to dynamically load files for display them in this textbrowser</p></li>
<li><p>modified the configdialog for ios and android</p></li>
<li><p>prevent caQtDM from crashing when maxvalue and minvalue have the same value.</p></li>
<li><p>for some images, the last row was missing and is corrected now</p></li>
</ul>
<div class="docutils container">
<p>3.9.2</p>
</div>
<ul class="simple">
<li><p>severity of a char/string record was not considered and is corrected, Char waveforms longer as 1024 were not displayed in calineedit and is corrected.</p></li>
<li><p>in edl2ui zais addons were integrated</p></li>
<li><p>softpv’s in include file enabled</p></li>
<li><p>more colortables for caCamera, caScan2D, caWaterfallPlot</p></li>
<li><p>caScan2D added</p></li>
</ul>
<div class="docutils container">