Channel MetaData Window¶
Created on Wed Aug 2 16:24:57 2017
@author: eyt21
This module contains the widget to open the window to edit metadata in the acqusition window
-
class
cued_datalogger.acquisition.ChanMetaWin.
ChanMetaWin
(livewin=None)¶ Bases:
PyQt5.QtWidgets.QDialog
This is the Modal Dialog Window to edit metadata from acquisition window. it shows the channel names on the left in a list, and the metadata on the right.
Attributes
livewin: acquisition window Window to get the metadata from all_info: list Contains metadata for each channel channel_listview: QListWidget Display list of names of channels meta_configs: list Widget for (‘Channel’, ‘Name’, ‘Calibration Factor’, ‘Tags’, ‘Comments’) of types (QLabel, QLineEdit, QLineEdit, QLineEdit, CommentBox) Methods
-
display_metadata
()¶ Display the selected channel metadata
-
export_metadata
()¶ Export the metadata to the livewin ChannelSet
-
initUI
()¶ Initialise the UI
-
update_metadata
(meta_name, UI)¶ Update the selected channel metadata
-
-
class
cued_datalogger.acquisition.ChanMetaWin.
CommentBox
¶ Bases:
PyQt5.QtWidgets.QTextEdit
Reimplement QTextEdit to be similar to QLineEdit, i.e. having editingFinished signal and text()
Methods