def create_sub_windows(self):
    pausecheck = QtGui.QCheckBox('Pause', self)
    pausecheck.move(520, 120)
    pausecheck.toggle()
    pausecheck.stateChanged.connect(self.action_cb['on_pause'])
    self.step_btn = QtGui.QPushButton('Step', self)
    self.step_btn.setStyleSheet('color: blue; font: bold 14px')
    self.step_btn.resize(50, 25)
    self.step_btn.move(520, 80)
    self.step_btn.clicked.connect(self.action_cb['on_step'])
    self.watch_com = QtGui.QLabel(self)
    self.watch_com.setText('Watch :')
    self.watch_com.move(520, 244)
    self.watch_com.setFont(QtGui.QFont('Times', 13, weight=QtGui.QFont.Bold))
    self.watch_choice = QtGui.QComboBox(self)
    self.watch_choice.setStyleSheet('font: bold 14px')
    self.watch_choice.move(520, 280)
    self.watch_choice.addItem('1-DIM')
    self.watch_choice.addItem('2-DIM')
    self.watch_choice.addItem('Activation')
    self.watch_choice.addItem('Filter')
    self.watch_choice.resize(70, 30)
    self.watch_choice.show()
    self.watch_choice.activated[str].connect(self.action_cb['on_add_watch'])
    self.showbtn = QtGui.QCheckBox('Show', self)
    self.showbtn.move(520, 195)
    self.showbtn.toggle()
    self.showbtn.hide()
    self.showbtn.stateChanged.connect(self.action_cb['on_set_show'])
    self.show_remove_btn = QtGui.QPushButton('Remove', self)
    self.show_remove_btn.setStyleSheet('color: red; font: bold 14px')
    self.show_remove_btn.resize(70, 30)
    self.show_remove_btn.move(520, 240)
    self.show_remove_btn.hide()
    self.show_remove_btn.clicked.connect(self.action_cb['on_remove_watch'])
    self.hd_all_btn = QtGui.QPushButton('Hide All', self)
    self.hd_all_btn.setStyleSheet('color: red; font: bold 14px')
    self.hd_all_btn.resize(84, 30)
    self.hd_all_btn.move(510, 280)
    self.hd_all_btn.hide()
    self.hd_all_btn.clicked.connect(self.action_cb['on_hide_all'])
    self.tensor_label = QtGui.QLabel(self)
    self.tensor_label.setAlignment(QtCore.Qt.AlignCenter)
    self.tensor_label.setGeometry(QtCore.QRect(80, 180, 200, 20))
    self.tensor_label.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.tensor_reshape_label = QtGui.QLabel(self)
    self.tensor_reshape_label.setAlignment(QtCore.Qt.AlignCenter)
    self.tensor_reshape_label.setGeometry(QtCore.QRect(80, 220, 200, 20))
    self.tensor_reshape_label.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.reshape_inlb = QtGui.QLabel(self)
    self.reshape_inlb.move(80, 220)
    self.reshape_inlb.setText('Reshape: ')
    self.reshape_inlb.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.tensor_shape_input = QtGui.QLineEdit(self)
    self.tensor_shape_input.textChanged.connect(self.action_cb['on_tensor_shape_input'])
    self.tensor_shape_input.move(160, 220)
    self.sourceInput_list = QtGui.QComboBox(self)
    self.sourceInput_list.move(160, 270)
    self.sourceInput_list.activated[str].connect(self.action_cb['on_input_select'])
    listcombo = QtGui.QComboBox(self)
    listcombo.addItem('Select List')
    listcombo.addItem('Watch List')
    listcombo.move(50, 100)
    subcombo = QtGui.QComboBox(self)
    subcombo.addItem('USER_LIST')
    subcombo.addItem('TRAINABLE_VARIABLES')
    subcombo.addItem('ACTIVATIONS')
    subcombo.addItem('GLOBAL_VARIABLES')
    subcombo.addItem('ALL_OPS')
    subcombo.move(180, 100)
    listcombo.activated[str].connect(self.action_cb['on_list_type_select'])
    subcombo.activated[str].connect(self.action_cb['on_filter_type_select'])
    self.create_list_view()
    fontset = QtGui.QFont()
    fontset.setPointSize(12)
    self.filter_comment = QtGui.QLabel(self)
    self.filter_comment.setText('Search Only in  ALL_OPS:')
    self.filter_comment.setGeometry(QtCore.QRect(100, 34, 180, 25))
    self.filter_comment.setFont(fontset)
    self.filter_in = QtGui.QLineEdit(self)
    self.filter_in.textChanged.connect(self.action_cb['on_filter_str_input'])
    self.filter_in.move(290, 30)
    self.filter_in.resize(190, 40)
    self.show()
def create_sub_windows(self):
    pausecheck = QtGui.QCheckBox('Pause', self)
    pausecheck.move(520, 120)
    pausecheck.toggle()
    pausecheck.stateChanged.connect(self.action_cb['on_pause'])
    self.step_btn = QtGui.QPushButton('Step', self)
    self.step_btn.setStyleSheet('color: blue; font: bold 14px')
    self.step_btn.resize(50, 25)
    self.step_btn.move(520, 80)
    self.step_btn.clicked.connect(self.action_cb['on_step'])
    self.watch_com = QtGui.QLabel(self)
    self.watch_com.setText('Watch :')
    self.watch_com.move(520, 244)
    self.watch_com.setFont(QtGui.QFont('Times', 13, weight=QtGui.QFont.Bold))
    self.watch_choice = QtGui.QComboBox(self)
    self.watch_choice.setStyleSheet('font: bold 14px')
    self.watch_choice.move(520, 280)
    self.watch_choice.addItem('1-DIM')
    self.watch_choice.addItem('2-DIM')
    self.watch_choice.addItem('Activation')
    self.watch_choice.addItem('Filter')
    self.watch_choice.resize(70, 30)
    self.watch_choice.show()
    self.watch_choice.activated[str].connect(self.action_cb['on_add_watch'])
    self.showbtn = QtGui.QCheckBox('Show', self)
    self.showbtn.move(520, 195)
    self.showbtn.toggle()
    self.showbtn.hide()
    self.showbtn.stateChanged.connect(self.action_cb['on_set_show'])
    self.show_remove_btn = QtGui.QPushButton('Remove', self)
    self.show_remove_btn.setStyleSheet('color: red; font: bold 14px')
    self.show_remove_btn.resize(70, 30)
    self.show_remove_btn.move(520, 240)
    self.show_remove_btn.hide()
    self.show_remove_btn.clicked.connect(self.action_cb['on_remove_watch'])
    self.hd_all_btn = QtGui.QPushButton('Hide All', self)
    self.hd_all_btn.setStyleSheet('color: red; font: bold 14px')
    self.hd_all_btn.resize(84, 30)
    self.hd_all_btn.move(510, 280)
    self.hd_all_btn.hide()
    self.hd_all_btn.clicked.connect(self.action_cb['on_hide_all'])
    self.tensor_label = QtGui.QLabel(self)
    self.tensor_label.setAlignment(QtCore.Qt.AlignCenter)
    self.tensor_label.setGeometry(QtCore.QRect(80, 180, 200, 20))
    self.tensor_label.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.tensor_reshape_label = QtGui.QLabel(self)
    self.tensor_reshape_label.setAlignment(QtCore.Qt.AlignCenter)
    self.tensor_reshape_label.setGeometry(QtCore.QRect(80, 220, 200, 20))
    self.tensor_reshape_label.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.reshape_inlb = QtGui.QLabel(self)
    self.reshape_inlb.move(80, 220)
    self.reshape_inlb.setText('Reshape: ')
    self.reshape_inlb.setFont(QtGui.QFont('Times', 12, weight=QtGui.QFont.Bold))
    self.tensor_shape_input = QtGui.QLineEdit(self)
    self.tensor_shape_input.textChanged.connect(self.action_cb['on_tensor_shape_input'])
    self.tensor_shape_input.move(160, 220)
    self.sourceInput_list = QtGui.QComboBox(self)
    self.sourceInput_list.move(160, 270)
    self.sourceInput_list.activated[str].connect(self.action_cb['on_input_select'])
    listcombo = QtGui.QComboBox(self)
    listcombo.addItem('Select List')
    listcombo.addItem('Watch List')
    listcombo.move(50, 100)
    subcombo = QtGui.QComboBox(self)
    subcombo.addItem('USER_LIST')
    subcombo.addItem('TRAINABLE_VARIABLES')
    subcombo.addItem('ACTIVATIONS')
    subcombo.addItem('GLOBAL_VARIABLES')
    subcombo.addItem('ALL_OPS')
    subcombo.move(180, 100)
    listcombo.activated[str].connect(self.action_cb['on_list_type_select'])
    subcombo.activated[str].connect(self.action_cb['on_filter_type_select'])
    self.create_list_view()
    fontset = QtGui.QFont()
    fontset.setPointSize(12)
    self.filter_comment = QtGui.QLabel(self)
    self.filter_comment.setText('Search Only in  ALL_OPS:')
    self.filter_comment.setGeometry(QtCore.QRect(100, 34, 180, 25))
    self.filter_comment.setFont(fontset)
    self.filter_in = QtGui.QLineEdit(self)
    self.filter_in.textChanged.connect(self.action_cb['on_filter_str_input'])
    self.filter_in.move(290, 30)
    self.filter_in.resize(190, 40)
    self.show()