1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
from __future__ import absolute_import
# #START_LICENSE###########################################################
#
#
# This file is part of the Environment for Tree Exploration program
# (ETE). http://etetoolkit.org
#
# ETE is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ETE is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ETE. If not, see <http://www.gnu.org/licenses/>.
#
#
# ABOUT THE ETE PACKAGE
# =====================
#
# ETE is distributed under the GPL copyleft license (2008-2015).
#
# If you make use of ETE in published work, please cite:
#
# Jaime Huerta-Cepas, Joaquin Dopazo and Toni Gabaldon.
# ETE: a python Environment for Tree Exploration. Jaime BMC
# Bioinformatics 2010,:24doi:10.1186/1471-2105-11-24
#
# Note that extra references to the specific methods implemented in
# the toolkit may be available in the documentation.
#
# More info at http://etetoolkit.org. Contact: huerta@embl.de
#
#
# #END_LICENSE#############################################################
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'search_dialog.ui'
#
# Created: Tue Jan 10 15:56:57 2012
# by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!
from __future__ import absolute_import
from .qt import *
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.setWindowModality(Qt.ApplicationModal)
Dialog.resize(613, 103)
self.buttonBox = QDialogButtonBox(Dialog)
self.buttonBox.setGeometry(QRect(430, 60, 171, 32))
self.buttonBox.setOrientation(Qt.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)
self.buttonBox.setCenterButtons(True)
self.buttonBox.setObjectName("buttonBox")
self.leaves_only = QCheckBox(Dialog)
self.leaves_only.setGeometry(QRect(10, 40, 211, 24))
self.leaves_only.setChecked(True)
self.leaves_only.setObjectName("leaves_only")
self.attrType = QComboBox(Dialog)
self.attrType.setGeometry(QRect(330, 10, 101, 23))
self.attrType.setObjectName("attrType")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.attrType.addItem("")
self.label = QLabel(Dialog)
self.label.setGeometry(QRect(10, 10, 141, 20))
self.label.setObjectName("label")
self.attrName = QLineEdit(Dialog)
self.attrName.setGeometry(QRect(150, 8, 113, 25))
self.attrName.setObjectName("attrName")
self.attrValue = QLineEdit(Dialog)
self.attrValue.setGeometry(QRect(440, 10, 113, 25))
self.attrValue.setText("")
self.attrValue.setObjectName("attrValue")
self.label_2 = QLabel(Dialog)
self.label_2.setGeometry(QRect(270, 10, 61, 20))
self.label_2.setObjectName("label_2")
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
Dialog.setTabOrder(self.attrName, self.attrType)
Dialog.setTabOrder(self.attrType, self.attrValue)
Dialog.setTabOrder(self.attrValue, self.leaves_only)
Dialog.setTabOrder(self.leaves_only, self.buttonBox)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QApplication.translate("Dialog", "Dialog", None))
self.leaves_only.setText(QApplication.translate("Dialog", "Search only for leaf nodes", None))
self.attrType.setItemText(0, QApplication.translate("Dialog", "contains", None))
self.attrType.setItemText(1, QApplication.translate("Dialog", "is", None))
self.attrType.setItemText(2, QApplication.translate("Dialog", "== ", None))
self.attrType.setItemText(3, QApplication.translate("Dialog", ">=", None))
self.attrType.setItemText(4, QApplication.translate("Dialog", ">", None))
self.attrType.setItemText(5, QApplication.translate("Dialog", "<=", None))
self.attrType.setItemText(6, QApplication.translate("Dialog", "<", None))
self.attrType.setItemText(7, QApplication.translate("Dialog", "matches this regular expression", None))
self.label.setText(QApplication.translate("Dialog", "Search nodes whose ", None))
self.attrName.setText(QApplication.translate("Dialog", "name", None))
self.label_2.setText(QApplication.translate("Dialog", "attribute", None))
|