Code Documentation¶
- class stdcomQt.Subscriber(name: str, cloud: stdcomQt.stecQSocket, DataCallBack=None, DescCallBack=None, Parent=None)[source]¶
User connects to Multiverse just like c++ code Subscribers are used by any user to connect to a name or create a name on Multiverse
- UpdateData(what, index=0)[source]¶
User can update multiverse with data :param what: Data to send to Muliverse :param index: Zero default, but it can be sent in the middle of an arrary :return:
- UpdateDesc(what)[source]¶
if we are the golden copy, we can send a Malcolm proof descriptor :param what: the descriptor :return:
- name¶
alias of
str
- class stdcomQt.stecQSocket(host: str = 'localhost', port: int = 4897, Parent=None)[source]¶
Qt Style cBridge to Multiverse just like c++ code
- InsertProxy(name)[source]¶
Internal use, not for user :param name: name of the subscription :return:
- SlotNewHost(host, port)[source]¶
user can change the connection, by host and port :param host: :param port: :return:
- setOwner(name, description: str = 'Make this MalcolmProof Please', flag: bool = True)[source]¶
Sets us as the owner of the subscription, we will automatically refeed multiverse if reset :param name: subscription name :param flag: True means we are golden copy, false restores to non-golden copy :return:
- class stdcomutilitywidgets.StecIPconfigDialog(OkCallBack=None, CancelCallBack=None, ip='localhost', port='4897', parent=None)[source]¶
IP Dialog, it is a IP and Port Configuation Dialog User can attach to sigNewIPPort to get IP and Port Changes
- class stdcomutilitywidgets.StecPostgresConfigWidget(okCb=None, cancel=None, host: str = 'localhost', port: str = 5432, database: str = 'vremsoft', user: str = 'vremsoft', passowrd: str = 'vrem2010!', parent=None)[source]¶
Configuration Widget for connecting to Stec Postgres Database
- class stdcomutilitywidgets.StecTreeMorph(tree: PyQt5.QtWidgets.QTreeWidget, listOf=[''], parent=None)[source]¶
Used to create a communication tree of names based on NextStep names It is passed with an exisiting QTreeWidget, this is the most userful of the tree widget because it uses exisitng QTreeWidgets
- AddDesc(name, desc)[source]¶
- Parameters
name – Name in the tree
desc – Description of that name
- Returns
- class stdcomQtPjanice.pjanicesimpleGeneric(cBridge: Optional[stdcomQt.stecQSocket] = None, parent=None)[source]¶
Stec Pjanice Widget, but with trees not list.