Files
gitea-pages/software/CSDataQuick/docs/qml-csdataquick-components-cscontrol.html
T
2025-07-08 08:18:09 +02:00

135 lines
6.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- CSControl.qml -->
<title>CSControl QML Type | CSDataQuick Documentation 1.2</title>
<link rel="stylesheet" type="text/css" href="style/online.css" />
<script type="text/javascript">
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-24645639-4', 'qt.io');
ga('set', 'forceSSL', true);
ga('send', 'pageview');
</script>
</head>
<body>
<div class="header" id="header">
<header id="navbar" class="">
</header>
</div>
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul class="sub-navigation">
<li><a href="../../CSDataQuick.html">Home</a></li>
<li><a href="../docs.html" class="active">Documentation</a></li>
<li><a href="http://github.com/xiaoqiangwang/CSDataQuick/">Code</a></li>
<li><a href="https://github.com/xiaoqiangwang/CSDataQuick/issues/">Bug Reports</a></li>
</ul>
<div id="main_title_bar">
<h1>CSDataQuick Documentation</h1>
<div class="search_bar">
<script>
(function() {
var cx = '001693341472456439948:u9v0snkru3q';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:searchbox-only resultsUrl="search-results.html"></gcse:searchbox-only>
</div></div>
<ul>
<li><a href="index.html">CSDataQuick Documentation</a></li>
<li><a href="csdataquick-qmlmodules.html">QML Types</a></li>
<li>CSControl QML Type</li>
</ul>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="qml-csdataquick-components-cscontrol.html#properties">Properties</a></li>
<li class="level1"><a href="qml-csdataquick-components-cscontrol.html#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<div class="context">
<h1 class="title">CSControl QML Type</h1>
<span class="subtitle"></span>
<!-- $$$CSControl-brief -->
<p>Basic type to all controls. <a href="qml-csdataquick-components-cscontrol.html#details">More...</a></p>
<!-- @@@CSControl -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import CSDataQuick.Components 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-csdataquick-components-baseitem.html">BaseItem</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-csdataquick-components-cschoicebutton.html">CSChoiceButton</a>, <a href="qml-csdataquick-components-csmenu.html">CSMenu</a>, <a href="qml-csdataquick-components-csmessagebutton.html">CSMessageButton</a>, <a href="qml-csdataquick-components-csslider.html">CSSlider</a>, <a href="qml-csdataquick-components-csspinbox.html">CSSpinBox</a>, <a href="qml-csdataquick-components-cstextarea.html">CSTextArea</a>, <a href="qml-csdataquick-components-cstextentry.html">CSTextEntry</a>, <a href="qml-csdataquick-components-cstextentryarray.html">CSTextEntryArray</a>, <a href="qml-csdataquick-components-cstogglebutton.html">CSToggleButton</a>, and <a href="qml-csdataquick-components-cswheelswitch.html">CSWheelSwitch</a></p>
</td></tr></table></div><ul>
<li><a href="qml-csdataquick-components-cscontrol-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-csdataquick-components-cscontrol.html#alarmColor-prop">alarmColor</a></b></b> : color</li>
<li class="fn"><b><b><a href="qml-csdataquick-components-cscontrol.html#colorMode-prop">colorMode</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-csdataquick-components-cscontrol.html#source-prop">source</a></b></b> : string</li>
</ul>
<!-- $$$CSControl-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qml-csdataquick-components-cscontrol.html">CSControl</a> is the base type for all control types. It defines all the attributes that are common across controls.</p>
<!-- @@@CSControl -->
<h2>Property Documentation</h2>
<!-- $$$alarmColor -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="alarmColor-prop">
<td class="tblQmlPropNode"><p>
<a name="alarmColor-prop"></a><span class="name">alarmColor</span> : <span class="type">color</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the color based on the severity of the associated <a href="csdataquick-cpp.html#csdata">CSData</a>.</p>
<p>It is one of the ColorMap.invalid_alarm, ColorMap.minor_alarm, ColorMap.major_alarm and ColorMap.no_alarm.</p>
</div></div><!-- @@@alarmColor -->
<br/>
<!-- $$$colorMode -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="colorMode-prop">
<td class="tblQmlPropNode"><p>
<a name="colorMode-prop"></a><span class="name">colorMode</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property indicates how foreground color changes.</p>
<p><b>See also </b><a href="qml-csdataquick-components-colormode.html">ColorMode</a>.</p>
</div></div><!-- @@@colorMode -->
<br/>
<!-- $$$source -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="source-prop">
<td class="tblQmlPropNode"><p>
<a name="source-prop"></a><span class="name">source</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the data source string</p>
</div></div><!-- @@@source -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">Copyright (C) 2012-2021 Xiaoqiang Wang, Paul Scherrer Institute.</div>
</body>
</html>