add info labels
This commit is contained in:
parent
5a5881832b
commit
5d220b3cbf
|
@ -21,7 +21,13 @@ class PortainerUi:
|
|||
|
||||
self.stacks_list = QListWidget()
|
||||
|
||||
self.stack_title = QLabel()
|
||||
self.stack_name_label = QLabel()
|
||||
self.endpoint_label = QLabel()
|
||||
self.created_by_label = QLabel()
|
||||
self.creation_date_label = QLabel()
|
||||
self.updated_by_label = QLabel()
|
||||
self.update_date_label = QLabel()
|
||||
|
||||
self.containers_table = QTableWidget()
|
||||
self.containers_table.setColumnCount(3)
|
||||
self.containers_table.setHorizontalHeaderLabels(["ID", "Name", "Status"])
|
||||
|
@ -38,7 +44,12 @@ class PortainerUi:
|
|||
buttons_layout.addWidget(self.update)
|
||||
|
||||
info_layout = QVBoxLayout()
|
||||
info_layout.addWidget(self.stack_title)
|
||||
info_layout.addWidget(self.stack_name_label)
|
||||
info_layout.addWidget(self.endpoint_label)
|
||||
info_layout.addWidget(self.created_by_label)
|
||||
info_layout.addWidget(self.creation_date_label)
|
||||
info_layout.addWidget(self.updated_by_label)
|
||||
info_layout.addWidget(self.update_date_label)
|
||||
info_layout.addLayout(buttons_layout)
|
||||
info_layout.addWidget(self.containers_table)
|
||||
|
||||
|
|
Loading…
Reference in a new issue