diff options
Diffstat (limited to 'module/gui/SettingsWidget.py')
-rw-r--r-- | module/gui/SettingsWidget.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/gui/SettingsWidget.py b/module/gui/SettingsWidget.py index cd22a7b9e..ebe849d48 100644 --- a/module/gui/SettingsWidget.py +++ b/module/gui/SettingsWidget.py @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>. - + @author: mkaay """ @@ -30,7 +30,7 @@ class SettingsWidget(QWidget): self.data = None self.pdata = None self.setSizePolicy(QSizePolicy.Ignored, QSizePolicy.Ignored) - + def setConnector(self, connector): self.connector = connector @@ -64,7 +64,7 @@ class SettingsWidget(QWidget): tab = QTabWidget() self.tab = tab - + gw = QWidget() gw.setLayout(QVBoxLayout()) gw.layout().addWidget(self.general) @@ -165,18 +165,18 @@ class Section(QGroupBox): self.ctype = ctype layout = QFormLayout(self) self.setLayout(layout) - + sw = QWidget() sw.setLayout(QVBoxLayout()) sw.layout().addWidget(self) - + sa = QScrollArea() sa.setWidgetResizable(True) sa.setWidget(sw) sa.setFrameShape(sa.NoFrame) - + parent.addTab(sa, data.description) - + for option in self.data.items: if option.type == "int": i = QSpinBox(self) |