You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
welcome=QLabel("<h2>Welcome to CTools!</h2><h5>One tool for all</h5>")
34
+
pic_label=QLabel(self)
35
+
pixmap=QPixmap("C:\\Users\\lakea\\Desktop\\CTERA\\ctools\\logo.png")#replace with image location
36
+
pic_label.setPixmap(pixmap)
37
+
#pic_label.setScaledContents(True)
38
+
self.top.addWidget(welcome)
39
+
self.top.addStretch()
40
+
self.top.addWidget(pic_label)
41
+
self.mainContent=QHBoxLayout()
42
+
centralWidget=QWidget(self)
43
+
centralWidget.setLayout(self.generalLayout)
44
+
self.setCentralWidget(centralWidget)
45
+
self.generalLayout.addLayout(self.top)
46
+
self.generalLayout.addLayout(self.mainContent)
47
+
self._createToolBar()
48
+
self._createToolViewLayout()
49
+
def_createToolBar(self):
50
+
tools=create_tool_bar(self.widget, 14)
51
+
# Add line separator between Tool List and Tool View
52
+
line=QFrame()
53
+
line.setFrameShape(QFrame.VLine)
54
+
line.setFrameShadow(QFrame.Sunken)
55
+
line.setLineWidth(1)
56
+
self.mainContent.addLayout(tools)
57
+
self.mainContent.addWidget(line)
58
+
def_createToolViewLayout(self):
59
+
toolView=QVBoxLayout()
60
+
# Step3 - You will change the next two lines according to the KB
61
+
BoilerLayout, self.input_widgets=gen_custom_tool_layout("Add Domain to Advanced Mapping", ["Tenant (Empty if all devices on all tenants)", "Device Name (Empty if multiple devices)", "Domain to be Added"], ["Ignore cert warnings for login", "Verbose Logging"])
0 commit comments