Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /home/ift/52_procpy/dataninja/tss/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //home/ift/52_procpy/dataninja/tss/treeview.py

import os,re,sys,time
from opcua import ua, Client

from PyQt5.QtWidgets import QTreeWidget,QTreeWidgetItem

from PyQt5 import QtCore

#**************************************************************************

class Treeview (QTreeWidget):

    def __init__ (self,*pars):
        
        super().__init__()
        self.nodes = []
        self.init()

#**************************************************************************        

    def init (self):

        self.setHeaderLabels(["Node","Value"])

#**************************************************************************        

    def make_tree (self):
    
        root = QTreeWidgetItem(self)
        root.setText(0,"Teststand")


        for node in self.nodes:
            self.make_tree_1(root,node)

#**************************************************************************

    def make_tree_1 (self,parentitem,node):
    
        treeitem = QTreeWidgetItem(parentitem)
        treeitem.setText(0,node.get_display_name().to_string())
        #self.connect(self, pyqtSignal('itemClicked(treeitem, int)'), self.onClick)
        try:
            treeitem.setText(1,str(node.get_value()))
            #######
            treeitem.setFlags(treeitem.flags() | QtCore.Qt.ItemIsEditable)
            #treeitem.sceneSG = {}
            #######
        except:
            pass

        for childnode in node.get_children():
            self.make_tree_1(treeitem,childnode)
            
            

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net