From 9266f14532b389ba81b4e3eaf7cdb839d2cadb00 Mon Sep 17 00:00:00 2001
From: ramon
Date: Wed, 5 Oct 2016 16:58:29 +0000
Subject: [PATCH] =?UTF-8?q?#718:=20Limpiar=20ficheros=20innecesarios=20par?=
=?UTF-8?q?a=20desarrollar=20OGAgent=20(se=20generan=20autom=C3=A1ticament?=
=?UTF-8?q?e=20al=20crear=20los=20paquetes).?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5030 a21b9725-9963-47de-94b9-378ad31fedc9
---
src/about_dialog_ui.py | 163 ---------------------------------------
src/message_dialog_ui.py | 69 -----------------
2 files changed, 232 deletions(-)
delete mode 100644 src/about_dialog_ui.py
delete mode 100644 src/message_dialog_ui.py
diff --git a/src/about_dialog_ui.py b/src/about_dialog_ui.py
deleted file mode 100644
index 054cc06..0000000
--- a/src/about_dialog_ui.py
+++ /dev/null
@@ -1,163 +0,0 @@
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'about-dialog.ui'
-#
-# Created by: PyQt4 UI code generator 4.11.4
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt4 import QtCore, QtGui
-
-try:
- _fromUtf8 = QtCore.QString.fromUtf8
-except AttributeError:
- def _fromUtf8(s):
- return s
-
-try:
- _encoding = QtGui.QApplication.UnicodeUTF8
- def _translate(context, text, disambig):
- return QtGui.QApplication.translate(context, text, disambig, _encoding)
-except AttributeError:
- def _translate(context, text, disambig):
- return QtGui.QApplication.translate(context, text, disambig)
-
-class Ui_OGAAboutDialog(object):
- def setupUi(self, OGAAboutDialog):
- OGAAboutDialog.setObjectName(_fromUtf8("OGAAboutDialog"))
- OGAAboutDialog.resize(466, 402)
- font = QtGui.QFont()
- font.setFamily(_fromUtf8("Verdana"))
- font.setPointSize(9)
- OGAAboutDialog.setFont(font)
- OGAAboutDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
- OGAAboutDialog.setModal(True)
- self.vboxlayout = QtGui.QVBoxLayout(OGAAboutDialog)
- self.vboxlayout.setMargin(9)
- self.vboxlayout.setSpacing(9)
- self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
- self.LogoLabel = QtGui.QLabel(OGAAboutDialog)
- self.LogoLabel.setObjectName(_fromUtf8("LogoLabel"))
- self.vboxlayout.addWidget(self.LogoLabel)
- spacerItem = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
- self.vboxlayout.addItem(spacerItem)
- self.TitleLabel = QtGui.QLabel(OGAAboutDialog)
- self.TitleLabel.setObjectName(_fromUtf8("TitleLabel"))
- self.vboxlayout.addWidget(self.TitleLabel)
- self.VersionLabel = QtGui.QLabel(OGAAboutDialog)
- self.VersionLabel.setObjectName(_fromUtf8("VersionLabel"))
- self.vboxlayout.addWidget(self.VersionLabel)
- spacerItem1 = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
- self.vboxlayout.addItem(spacerItem1)
- self.tabWidget = QtGui.QTabWidget(OGAAboutDialog)
- self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
- self.aboutTab = QtGui.QWidget()
- self.aboutTab.setObjectName(_fromUtf8("aboutTab"))
- self.vboxlayout1 = QtGui.QVBoxLayout(self.aboutTab)
- self.vboxlayout1.setMargin(9)
- self.vboxlayout1.setSpacing(6)
- self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
- self.aboutBrowser = QtGui.QTextBrowser(self.aboutTab)
- self.aboutBrowser.setOpenExternalLinks(True)
- self.aboutBrowser.setObjectName(_fromUtf8("aboutBrowser"))
- self.vboxlayout1.addWidget(self.aboutBrowser)
- self.tabWidget.addTab(self.aboutTab, _fromUtf8(""))
- self.authorsTab = QtGui.QWidget()
- self.authorsTab.setObjectName(_fromUtf8("authorsTab"))
- self.vboxlayout2 = QtGui.QVBoxLayout(self.authorsTab)
- self.vboxlayout2.setMargin(9)
- self.vboxlayout2.setSpacing(6)
- self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
- self.authorsBrowser = QtGui.QTextBrowser(self.authorsTab)
- self.authorsBrowser.setOpenExternalLinks(True)
- self.authorsBrowser.setObjectName(_fromUtf8("authorsBrowser"))
- self.vboxlayout2.addWidget(self.authorsBrowser)
- self.tabWidget.addTab(self.authorsTab, _fromUtf8(""))
- self.licenseTab = QtGui.QWidget()
- self.licenseTab.setObjectName(_fromUtf8("licenseTab"))
- self.vboxlayout3 = QtGui.QVBoxLayout(self.licenseTab)
- self.vboxlayout3.setMargin(9)
- self.vboxlayout3.setSpacing(6)
- self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
- self.licenseBrowser = QtGui.QTextBrowser(self.licenseTab)
- self.licenseBrowser.setObjectName(_fromUtf8("licenseBrowser"))
- self.vboxlayout3.addWidget(self.licenseBrowser)
- self.tabWidget.addTab(self.licenseTab, _fromUtf8(""))
- self.vboxlayout.addWidget(self.tabWidget)
- self.buttonBox = QtGui.QDialogButtonBox(OGAAboutDialog)
- self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
- self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
- self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
- self.vboxlayout.addWidget(self.buttonBox)
-
- self.retranslateUi(OGAAboutDialog)
- self.tabWidget.setCurrentIndex(0)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), OGAAboutDialog.closeDialog)
- QtCore.QMetaObject.connectSlotsByName(OGAAboutDialog)
-
- def retranslateUi(self, OGAAboutDialog):
- OGAAboutDialog.setWindowTitle(_translate("OGAAboutDialog", "About OGAgent", None))
- self.LogoLabel.setText(_translate("OGAAboutDialog", "
OpenGnsys Agent Tools
", None))
- self.TitleLabel.setText(_translate("OGAAboutDialog", "OpenGnsys Agent
", None))
- self.VersionLabel.setText(_translate("OGAAboutDialog", "Version 1.0.0", None))
- self.aboutBrowser.setHtml(_translate("OGAAboutDialog", "\n"
-"\n"
-"
\n"
-"(c) 2014, Virtual Cable S.L.U.
\n"
-"
\n"
-"http://www.opengnsys.es
\n"
-"http://www.udsenterprise.com
\n"
-"
", None))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.aboutTab), _translate("OGAAboutDialog", "&About", None))
- self.authorsBrowser.setHtml(_translate("OGAAboutDialog", "\n"
-"\n"
-"Adolfo Gómez García <agomez@virtualcable.es>
", None))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.authorsTab), _translate("OGAAboutDialog", "A&uthors", None))
- self.licenseBrowser.setHtml(_translate("OGAAboutDialog", "\n"
-"\n"
-"Copyright (c) 2014 Virtual Cable S.L.
\n"
-"
\n"
-"All rights reserved.
\n"
-"
\n"
-"Redistribution and use in source and binary forms, with or without modification,
\n"
-"are permitted provided that the following conditions are met:
\n"
-"
\n"
-" * Redistributions of source code must retain the above copyright notice,
\n"
-" this list of conditions and the following disclaimer.
\n"
-" * Redistributions in binary form must reproduce the above copyright notice,
\n"
-" this list of conditions and the following disclaimer in the documentation
\n"
-" and/or other materials provided with the distribution.
\n"
-" * Neither the name of Virtual Cable S.L. nor the names of its contributors
\n"
-" may be used to endorse or promote products derived from this software
\n"
-" without specific prior written permission.
\n"
-"
\n"
-"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
\n"
-"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
\n"
-"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
\n"
-"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
\n"
-"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
\n"
-"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
\n"
-"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
\n"
-"CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
\n"
-"OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
\n"
-"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\n"
-"
", None))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.licenseTab), _translate("OGAAboutDialog", "&License Agreement", None))
-
-import OGAgent_rc
-
-if __name__ == "__main__":
- import sys
- app = QtGui.QApplication(sys.argv)
- OGAAboutDialog = QtGui.QDialog()
- ui = Ui_OGAAboutDialog()
- ui.setupUi(OGAAboutDialog)
- OGAAboutDialog.show()
- sys.exit(app.exec_())
-
diff --git a/src/message_dialog_ui.py b/src/message_dialog_ui.py
deleted file mode 100644
index ebd4d34..0000000
--- a/src/message_dialog_ui.py
+++ /dev/null
@@ -1,69 +0,0 @@
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'message-dialog.ui'
-#
-# Created by: PyQt4 UI code generator 4.11.4
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt4 import QtCore, QtGui
-
-try:
- _fromUtf8 = QtCore.QString.fromUtf8
-except AttributeError:
- def _fromUtf8(s):
- return s
-
-try:
- _encoding = QtGui.QApplication.UnicodeUTF8
- def _translate(context, text, disambig):
- return QtGui.QApplication.translate(context, text, disambig, _encoding)
-except AttributeError:
- def _translate(context, text, disambig):
- return QtGui.QApplication.translate(context, text, disambig)
-
-class Ui_OGAMessageDialog(object):
- def setupUi(self, OGAMessageDialog):
- OGAMessageDialog.setObjectName(_fromUtf8("OGAMessageDialog"))
- OGAMessageDialog.resize(339, 188)
- sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(OGAMessageDialog.sizePolicy().hasHeightForWidth())
- OGAMessageDialog.setSizePolicy(sizePolicy)
- font = QtGui.QFont()
- font.setFamily(_fromUtf8("Verdana"))
- font.setPointSize(10)
- OGAMessageDialog.setFont(font)
- self.verticalLayoutWidget = QtGui.QWidget(OGAMessageDialog)
- self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 10, 321, 171))
- self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
- self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
- self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.message = QtGui.QTextBrowser(self.verticalLayoutWidget)
- self.message.setObjectName(_fromUtf8("message"))
- self.verticalLayout.addWidget(self.message)
- spacerItem = QtGui.QSpacerItem(20, 15, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
- self.verticalLayout.addItem(spacerItem)
- self.buttonBox = QtGui.QDialogButtonBox(self.verticalLayoutWidget)
- self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
- self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
- self.verticalLayout.addWidget(self.buttonBox)
-
- self.retranslateUi(OGAMessageDialog)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), OGAMessageDialog.closeDialog)
- QtCore.QMetaObject.connectSlotsByName(OGAMessageDialog)
-
- def retranslateUi(self, OGAMessageDialog):
- OGAMessageDialog.setWindowTitle(_translate("OGAMessageDialog", "UDS Actor", None))
-
-
-if __name__ == "__main__":
- import sys
- app = QtGui.QApplication(sys.argv)
- OGAMessageDialog = QtGui.QDialog()
- ui = Ui_OGAMessageDialog()
- ui.setupUi(OGAMessageDialog)
- OGAMessageDialog.show()
- sys.exit(app.exec_())
-