class Ui_CedulaPadronDialogBase(object): def setupUi(self, CedulaPadronDialogBase): CedulaPadronDialogBase.setObjectName("CedulaPadronDialogBase") CedulaPadronDialogBase.resize(931, 746) self.tabWidget = TabWidget(CedulaPadronDialogBase) self.tabWidget.setGeometry(QtCore.QRect(20, 20, 891, 711)) self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight) self.tabWidget.setTabPosition(QtWidgets.QTabWidget.West) self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded) self.tabWidget.setElideMode(QtCore.Qt.ElideRight) self.tabWidget.setTabsClosable(False) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.tabWidget.addTab(self.tab_2, "") self.retranslateUi(CedulaPadronDialogBase) self.tabWidget.setCurrentIndex(1) QtCore.QMetaObject.connectSlotsByName(CedulaPadronDialogBase) def retranslateUi(self, CedulaPadronDialogBase): _translate = QtCore.QCoreApplication.translate CedulaPadronDialogBase.setWindowTitle( _translate("CedulaPadronDialogBase", "CedulaPadron")) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab), _translate("CedulaPadronDialogBase", "UBICACION")) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab_2), _translate("CedulaPadronDialogBase", "Tab 2"))
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(531, 382) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.tabWidget = TabWidget(self.centralwidget) self.tabWidget.setGeometry(QtCore.QRect(20, 20, 491, 321)) self.tabWidget.setTabPosition(QtWidgets.QTabWidget.West) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.tabWidget.addTab(self.tab_2, "") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 531, 21)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))