From 86e5dcc135fb51f4f4481d6b13f42935055aef9c Mon Sep 17 00:00:00 2001 From: Emanuele Date: Sun, 1 Dec 2019 16:10:26 +0100 Subject: [PATCH] correzioni finestra titolo --- .../UserInterface/compiledUI/titolow.py | 11 +++++++- bananaSPLIT/UserInterface/titolow.ui | 26 ++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/bananaSPLIT/UserInterface/compiledUI/titolow.py b/bananaSPLIT/UserInterface/compiledUI/titolow.py index 5412267..2193940 100644 --- a/bananaSPLIT/UserInterface/compiledUI/titolow.py +++ b/bananaSPLIT/UserInterface/compiledUI/titolow.py @@ -17,6 +17,9 @@ class Ui_titolo(object): self.gridLayout.setObjectName("gridLayout") self.radioButton_4 = QtWidgets.QRadioButton(titolo) self.radioButton_4.setObjectName("radioButton_4") + self.btngrp_divisore = QtWidgets.QButtonGroup(titolo) + self.btngrp_divisore.setObjectName("btngrp_divisore") + self.btngrp_divisore.addButton(self.radioButton_4) self.gridLayout.addWidget(self.radioButton_4, 10, 0, 1, 1) self.line = QtWidgets.QFrame(titolo) self.line.setFrameShape(QtWidgets.QFrame.HLine) @@ -31,6 +34,7 @@ class Ui_titolo(object): self.gridLayout.addWidget(self.chc_titolo, 4, 0, 1, 2) self.radioButton_6 = QtWidgets.QRadioButton(titolo) self.radioButton_6.setObjectName("radioButton_6") + self.btngrp_divisore.addButton(self.radioButton_6) self.gridLayout.addWidget(self.radioButton_6, 11, 1, 1, 1) self.line_3 = QtWidgets.QFrame(titolo) self.line_3.setFrameShape(QtWidgets.QFrame.HLine) @@ -71,10 +75,12 @@ class Ui_titolo(object): self.gridLayout.addLayout(self.horizontalLayout_3, 13, 0, 1, 3) self.radioButton_5 = QtWidgets.QRadioButton(titolo) self.radioButton_5.setObjectName("radioButton_5") + self.btngrp_divisore.addButton(self.radioButton_5) self.gridLayout.addWidget(self.radioButton_5, 10, 1, 1, 2) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.rad_datajpn = QtWidgets.QRadioButton(titolo) + self.rad_datajpn.setChecked(True) self.rad_datajpn.setObjectName("rad_datajpn") self.verticalLayout.addWidget(self.rad_datajpn) self.rad_dataita = QtWidgets.QRadioButton(titolo) @@ -89,6 +95,7 @@ class Ui_titolo(object): font.setPointSize(8) self.radioButton.setFont(font) self.radioButton.setObjectName("radioButton") + self.btngrp_divisore.addButton(self.radioButton) self.gridLayout.addWidget(self.radioButton, 9, 1, 1, 2) self.line_2 = QtWidgets.QFrame(titolo) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) @@ -120,6 +127,7 @@ class Ui_titolo(object): self.gridLayout.addWidget(self.label, 8, 0, 1, 2) self.radioButton_3 = QtWidgets.QRadioButton(titolo) self.radioButton_3.setObjectName("radioButton_3") + self.btngrp_divisore.addButton(self.radioButton_3) self.gridLayout.addWidget(self.radioButton_3, 9, 0, 1, 1) self.chc_data = QtWidgets.QCheckBox(titolo) font = QtGui.QFont() @@ -129,6 +137,7 @@ class Ui_titolo(object): self.gridLayout.addWidget(self.chc_data, 2, 0, 1, 1) self.radioButton_2 = QtWidgets.QRadioButton(titolo) self.radioButton_2.setObjectName("radioButton_2") + self.btngrp_divisore.addButton(self.radioButton_2) self.gridLayout.addWidget(self.radioButton_2, 11, 0, 1, 1) self.lineEdit = QtWidgets.QLineEdit(titolo) self.lineEdit.setObjectName("lineEdit") @@ -157,6 +166,6 @@ class Ui_titolo(object): self.label.setText(_translate("titolo", "Separatore")) self.radioButton_3.setText(_translate("titolo", "Spazio")) self.chc_data.setText(_translate("titolo", "Data")) - self.radioButton_2.setText(_translate("titolo", "\\")) + self.radioButton_2.setText(_translate("titolo", "+")) diff --git a/bananaSPLIT/UserInterface/titolow.ui b/bananaSPLIT/UserInterface/titolow.ui index 9a3482b..626368e 100644 --- a/bananaSPLIT/UserInterface/titolow.ui +++ b/bananaSPLIT/UserInterface/titolow.ui @@ -19,6 +19,9 @@ , + + btngrp_divisore + @@ -45,6 +48,9 @@ Altro: + + btngrp_divisore + @@ -128,6 +134,9 @@ _ + + btngrp_divisore + @@ -137,6 +146,9 @@ YYYY MM DD, es. 2000 12 31 + + true + @@ -165,6 +177,9 @@ - + + btngrp_divisore + @@ -224,6 +239,9 @@ Spazio + + btngrp_divisore + @@ -241,8 +259,11 @@ - \ + + + + btngrp_divisore + @@ -252,4 +273,7 @@ + + +