Skip to content

Instantly share code, notes, and snippets.

@erap129
Created January 15, 2022 15:56
Show Gist options
  • Select an option

  • Save erap129/85094941f059d517459044ec06a7c339 to your computer and use it in GitHub Desktop.

Select an option

Save erap129/85094941f059d517459044ec06a7c339 to your computer and use it in GitHub Desktop.
bottom_bar_layout = QHBoxLayout()
self.save_button = QPushButton('Save as file')
self.save_button.clicked.connect(self.save_as_file)
self.save_button.setFixedWidth(300)
bottom_bar_layout.addWidget(self.save_button)
self.percent_traced_label = QLabel()
bottom_bar_layout.addWidget(self.percent_traced_label)
main_layout.addLayout(top_bar_layout)
main_layout.addLayout(image_bar_layout)
main_layout.addLayout(bottom_bar_layout)
widget = QWidget()
widget.setLayout(main_layout)
self.setCentralWidget(widget)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment