Branch: master

5d4ae8c1 2015-09-12 19:56:53 Timothy Pearson
Add inital component analyzer part
Fix a couple of Kerberos socket class threading problems
Stop drawing garbage in trace viewer when trace data partially intialized
Add FloatSpinBox explicit data accessor
A clients/tde/src/part/companalyzer/Makefile.am
A clients/tde/src/part/companalyzer/hi16-action-libremotelab_companalyzer.png
A clients/tde/src/part/companalyzer/layout.ui
A clients/tde/src/part/companalyzer/part.cpp
A clients/tde/src/part/companalyzer/part.h
M clients/tde/src/part/Makefile.am
M clients/tde/src/widgets/floatspinbox.cpp
M clients/tde/src/widgets/floatspinbox.h
M clients/tde/src/widgets/sevensegment.cpp
M clients/tde/src/widgets/tracewidget.cpp
M lib/libtdekrb/src/tdekrbclientsocket.cpp
M lib/libtdekrb/src/tdekrbclientsocket.h
M lib/libtdekrb/src/tdekrbserversocket.cpp
M lib/libtdekrb/src/tdekrbserversocket.h
diff --git a/clients/tde/src/part/Makefile.am b/clients/tde/src/part/Makefile.am
index 2e4b01a..7c3f426 100644
--- a/clients/tde/src/part/Makefile.am
+++ b/clients/tde/src/part/Makefile.am
@@ -1 +1 @@
-SUBDIRS     = scope logicanalyzer commanalyzer fpgaview fpgaprogram sensormonitor adminconsole adminusermgmt serialconsole prototerminal
+SUBDIRS     = scope logicanalyzer commanalyzer companalyzer fpgaview fpgaprogram sensormonitor adminconsole adminusermgmt serialconsole prototerminal
diff --git a/clients/tde/src/part/companalyzer/Makefile.am b/clients/tde/src/part/companalyzer/Makefile.am
new file mode 100644
index 0000000..67e4865
--- /dev/null
+++ b/clients/tde/src/part/companalyzer/Makefile.am
@@ -0,0 +1,12 @@
+INCLUDES     = $(all_includes) -I$(top_srcdir)/src -I$(top_srcdir)/src/widgets $(KDE_INCLUDES)/tde
+KDE_CXXFLAGS = $(USE_EXCEPTIONS)
+METASOURCES  = AUTO
+
+KDE_ICON = libremotelab_companalyzer
+
+#Part
+kde_module_LTLIBRARIES  =  libremotelab_companalyzer.la
+libremotelab_companalyzer_la_LIBADD  = ../../widgets/libtracewidget.la ../../widgets/libfloatspinbox.la ../../widgets/libsevensegment.la $(LIB_KFILE) $(LIB_TDEPARTS) $(LIB_TDEUI) $(LIB_QT)
+libremotelab_companalyzer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui -ltdeio -ltdefx -ltdekrbsocket -ltqtrla
+libremotelab_companalyzer_la_SOURCES = \
+   part.cpp layout.ui
diff --git a/clients/tde/src/part/companalyzer/hi16-action-libremotelab_companalyzer.png b/clients/tde/src/part/companalyzer/hi16-action-libremotelab_companalyzer.png
new file mode 100644
index 0000000..937a414
--- /dev/null
+++ b/clients/tde/src/part/companalyzer/hi16-action-libremotelab_companalyzer.png
Binary files differ
diff --git a/clients/tde/src/part/companalyzer/layout.ui b/clients/tde/src/part/companalyzer/layout.ui
new file mode 100644
index 0000000..4523b6b
--- /dev/null
+++ b/clients/tde/src/part/companalyzer/layout.ui
@@ -0,0 +1,488 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+	<class>CompAnalyzerBase</class>
+	<widget class="TQWidget">
+		<property name="name">
+			<cstring>CompAnalyzerBase</cstring>
+		</property>
+		<property name="geometry">
+			<rect>
+				<x>0</x>
+				<y>0</y>
+				<width>519</width>
+				<height>356</height>
+			</rect>
+		</property>
+		<grid>
+			<property name="name">
+				<cstring>unnamed</cstring>
+			</property>
+			<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
+				<property name="name">
+					<cstring>unnamed_layout</cstring>
+				</property>
+				<grid>
+					<widget class="TQGroupBox" row="0" column="0">
+						<property name="name">
+							<cstring>groupParameterADisplay</cstring>
+						</property>
+						<property name="title">
+							<string>Parameter A:</string>
+						</property>
+						<grid>
+							<property name="name">
+								<cstring>unnamed_grid</cstring>
+							</property>
+							<widget class="Display7SegmentArray" row="0" column="0">
+								<property name="name">
+									<cstring>parameterADisplay</cstring>
+								</property>
+							</widget>
+						</grid>
+					</widget>
+					<widget class="TQGroupBox" row="0" column="1">
+						<property name="name">
+							<cstring>groupParameterBDisplay</cstring>
+						</property>
+						<property name="title">
+							<string>Parameter B:</string>
+						</property>
+						<grid>
+							<property name="name">
+								<cstring>unnamed_grid</cstring>
+							</property>
+							<widget class="Display7SegmentArray" row="0" column="0">
+								<property name="name">
+									<cstring>parameterBDisplay</cstring>
+								</property>
+							</widget>
+						</grid>
+					</widget>
+					<widget class="TQGroupBox" row="0" column="2">
+						<property name="name">
+							<cstring>groupFrequencyDisplay</cstring>
+						</property>
+						<property name="title">
+							<string>Frequency:</string>
+						</property>
+						<grid>
+							<property name="name">
+								<cstring>unnamed_grid</cstring>
+							</property>
+							<widget class="Display7SegmentArray" row="0" column="0">
+								<property name="name">
+									<cstring>frequencyDisplay</cstring>
+								</property>
+							</widget>
+						</grid>
+					</widget>
+				</grid>
+			</widget>
+			<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="1">
+				<property name="name">
+					<cstring>unnamed_layout</cstring>
+				</property>
+				<grid>
+					<widget class="TQGroupBox" row="1" column="0" rowspan="1" colspan="3">
+						<property name="name">
+							<cstring>groupMonitorView</cstring>
+						</property>
+						<property name="title">
+							<string>Trace Viewer</string>
+						</property>
+						<property name="sizePolicy">
+							<sizepolicy>
+								<hsizetype>7</hsizetype>
+								<vsizetype>7</vsizetype>
+								<horstretch>1</horstretch>
+								<verstretch>1</verstretch>
+							</sizepolicy>
+						</property>
+						<grid>
+							<property name="name">
+								<cstring>unnamed</cstring>
+							</property>
+							<widget class="TQSplitter" row="0" column="0" colspan="1">
+								<property name="name">
+									<cstring>splitter1</cstring>
+								</property>
+								<property name="orientation">
+									<enum>Vertical</enum>
+								</property>
+								<widget class="TraceWidget" row="0" column="0" colspan="1">
+									<property name="name">
+										<cstring>traceWidget</cstring>
+									</property>
+									<property name="minimumSize">
+										<size>
+											<width>0</width>
+											<height>0</height>
+										</size>
+									</property>
+								</widget>
+								<widget class="TraceWidget" row="1" column="0" colspan="1">
+									<property name="name">
+										<cstring>traceZoomWidget</cstring>
+									</property>
+									<property name="minimumSize">
+										<size>
+											<width>0</width>
+											<height>0</height>
+										</size>
+									</property>
+								</widget>
+							</widget>
+						</grid>
+					</widget>
+				</grid>
+			</widget>
+			<widget class="TQGroupBox" row="1" column="1">
+				<property name="name">
+					<cstring>groupControl</cstring>
+				</property>
+				<property name="title">
+					<string>Controls</string>
+				</property>
+				<grid>
+					<property name="name">
+						<cstring>unnamed</cstring>
+					</property>
+					<widget class="TQGroupBox" row="0" column="1">
+						<property name="name">
+							<cstring>groupMonitorCaptureControls</cstring>
+						</property>
+						<property name="title">
+							<string>Capture Controls</string>
+						</property>
+						<grid>
+							<widget class="TQLabel" row="0" column="0" colspan="1">
+								<property name="name">
+									<cstring>unnamed</cstring>
+								</property>
+								<property name="text">
+									<string>Parameter A:</string>
+								</property>
+							</widget>
+							<widget class="TQComboBox" row="0" column="1" colspan="1">
+								<property name="name">
+									<cstring>parameterASourceCombo</cstring>
+								</property>
+								<property name="sizePolicy">
+									<sizepolicy>
+										<hsizetype>1</hsizetype>
+										<vsizetype>0</vsizetype>
+										<horstretch>0</horstretch>
+										<verstretch>0</verstretch>
+									</sizepolicy>
+								</property>
+							</widget>
+							<widget class="TQLabel" row="1" column="0" colspan="1">
+								<property name="name">
+									<cstring>unnamed</cstring>
+								</property>
+								<property name="text">
+									<string>Parameter B:</string>
+								</property>
+							</widget>
+							<widget class="TQComboBox" row="1" column="1" colspan="1">
+								<property name="name">
+									<cstring>parameterBSourceCombo</cstring>
+								</property>
+								<property name="sizePolicy">
+									<sizepolicy>
+										<hsizetype>1</hsizetype>
+										<vsizetype>0</vsizetype>
+										<horstretch>0</horstretch>
+										<verstretch>0</verstretch>
+									</sizepolicy>
+								</property>
+							</widget>
+							<widget class="TQLabel" row="2" column="0" colspan="1">
+								<property name="name">
+									<cstring>unnamed</cstring>
+								</property>
+								<property name="text">
+									<string>Frequency:</string>
+								</property>
+								<property name="textFormat">
+									<enum>PlainText</enum>
+								</property>
+							</widget>
+							<widget class="FloatSpinBox" row="2" column="1" colspan="1">
+								<property name="name">
+									<cstring>measurementFrequencyBox</cstring>
+								</property>
 ** Diff limit reached (max: 250 lines) **