-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_view.py
More file actions
55 lines (30 loc) · 1.45 KB
/
get_view.py
File metadata and controls
55 lines (30 loc) · 1.45 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
'''
Created on 2 June 2018
Remove gui variable if it is not not required as we are using from left base view
@author: sp977u@att.com (Satish Palnati)
'''
from PySide import QtGui
from PySide import QtCore
from views.common.left_base_view import left_base
class get_controls:
def __init__(self,gui,left_common):
self.gui = gui
self.left_common = left_common
#super(left_base,self).__init__()
#self.create_get_specific()
def display_get(self):
self.left_common.show_left_common()
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.get_conf_logs_chbx.show()
self.left_common.get_config_flatfile_chbx.show()
self.left_common.get_ping_logs_chbx.show()
self.left_common.go_button.show()
self.left_common.go_button.setText("Get")
def hide_get(self):
self.left_common.get_conf_logs_chbx.hide()
self.left_common.get_ping_logs_chbx.hide()
self.left_common.default_commands_chbx.hide()
self.left_common.get_config_flatfile_chbx.hide()