-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush_view.py
More file actions
40 lines (24 loc) · 1.01 KB
/
push_view.py
File metadata and controls
40 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
'''
Created on 2 June 2018
@author: sp977u@att.com (Satish Palnati)
'''
from PySide import QtGui
from PySide import QtCore
from views.common.left_base_view import left_base
class push_controls:
def __init__(self,gui,left_common):
self.gui = gui
self.left_common = left_common
def display_push(self):
self.left_common.last_parent.credentials_groupbox.show()
self.left_common.last_parent.IP_groupBox.show()
self.left_common.last_parent.Commands_groupBox.show()
self.left_common.last_parent.results_groupBox.show()
self.left_common.show_left_common()
self.left_common.cr_box.show()
self.left_common.cr_label.show()
self.left_common.go_button.show()
self.left_common.go_button.setText("Push")
def hide_push(self):
self.left_common.cr_box.hide()
self.left_common.cr_label.hide()