Пример #1
0
    def build_widget(self):
        self._h_layout = QtWidgets.QHBoxLayout()

        spacer = QtWidgets.QSpacerItem(20, 20)

        self._integrate_location_label = QtWidgets.QLabel()
        self._integrate_location_label.setText('Output Location: {}'.format(
            self.add_configuration.output_location))
        self._integrate_location_changeBtn = QtWidgets.QPushButton()
        self._integrate_location_changeBtn.setMaximumHeight(23)
        self._integrate_location_changeBtn.setText('Change')

        self._logging_location_label = QtWidgets.QLabel()
        self._logging_location_label.setText('Logging Location: {}'.format(
            self.add_configuration.logging_location))
        self._logging_location_changeBtn = QtWidgets.QPushButton()
        self._logging_location_changeBtn.setMaximumHeight(23)
        self._logging_location_changeBtn.setText('Change')

        self._logging_status = QtWidgets.QLabel()
        self._logging_status.setText('Logging: ')
        self._logging_status_checkBox = QtWidgets.QCheckBox()
        self._logging_status_checkBox.setChecked(
            self.add_configuration.logging_option)

        self._h_layout.addWidget(self._integrate_location_label)
        self._h_layout.addWidget(self._integrate_location_changeBtn)
        self._h_layout.addItem(spacer)
        self._h_layout.addWidget(self._logging_location_label)
        self._h_layout.addWidget(self._logging_location_changeBtn)
        self._h_layout.addItem(spacer)
        self._h_layout.addWidget(self._logging_status)
        self._h_layout.addWidget(self._logging_status_checkBox)
        self.setLayout(self._h_layout)
Пример #2
0
    def build_widget(self):
        """
        Building the widgets for client items.
        """
        self._add_file_btn = QtWidgets.QPushButton()
        self._add_file_btn.setText('Add Single Client File')

        self._add_folder_btn = QtWidgets.QPushButton()
        self._add_folder_btn.setText('Add Client Folder')

        self._remove_btn = QtWidgets.QPushButton()
        self._remove_btn.setText('Remove Client File/Folder')
Пример #3
0
 def build_widget(self):
     self._save_configuration_btn = QtWidgets.QPushButton()
     self._save_configuration_btn.setText(
         'Save Configuration Changes To File')
Пример #4
0
 def build_widget(self):
     self._integrate_btn = QtWidgets.QPushButton()
     self._integrate_btn.setText('Integrate Client Files')