Skip to content

Instantly share code, notes, and snippets.

@nikolak
Created August 5, 2015 20:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikolak/19d0c2b94c26200888bc to your computer and use it in GitHub Desktop.
Save nikolak/19d0c2b94c26200888bc to your computer and use it in GitHub Desktop.
Qt Designer files for http://nikolak.com/ tutorial [insert tutorial link here]
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>526</width>
<height>373</height>
</rect>
</property>
<property name="windowTitle">
<string>Threading Tutorial - nikolak.com</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="subreddits_input_layout">
<item>
<widget class="QLabel" name="label_subreddits">
<property name="text">
<string>Subreddits:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edit_subreddits">
<property name="placeholderText">
<string>python,programming,linux,etc (comma separated)</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_submissions_list">
<property name="text">
<string>Submissions:</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="list_submissions"/>
</item>
<item>
<widget class="QProgressBar" name="progressBar">
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="buttons_layout">
<item>
<widget class="QPushButton" name="btn_stop">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Stop</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_start">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>
@MFMFMFMFMF
Copy link

little problem i had and fixed:
it seems like on the ui you give it says "progressBar" and on the main you use "progress_bar"
Maybe it's just a default name problem on my part somewhere ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment