'''
Accessible Access Control 1.0
2012-2104 Michigan Technological University
Supported in part by NSF grants: DUE-1140512, DUE-1245310 and IIS-1319363
Developer: Man Wang
Advisors:Dr. Steve Carr, Dr. Jean Mayo, Dr. Ching-Kuang Shene and Dr. Chaoli Wang
'''
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'query_widget.ui'
#
# Created: Mon Feb 27 21:37:40 2012
#      by: PyQt4 UI code generator 4.9
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui
from QCustomLineEdit import QCustomLineEdit
try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(214, 618)
        Form.setAutoFillBackground(True)
        self.horizontalLayoutWidget = QtGui.QWidget(Form)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 211, 611))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.horizontalLayoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.queryTypeGroupBox = QtGui.QGroupBox(self.horizontalLayoutWidget)
        self.queryTypeGroupBox.setObjectName(_fromUtf8("queryTypeGroupBox"))
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.queryTypeGroupBox)
        self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(0, 20, 201, 191))
        self.verticalLayoutWidget_2.setObjectName(_fromUtf8("verticalLayoutWidget_2"))
        self.queryTypeLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.queryTypeLayout.setMargin(0)
        self.queryTypeLayout.setObjectName(_fromUtf8("queryTypeLayout"))
        self.queryListWidget = QtGui.QListWidget(self.verticalLayoutWidget_2)
        self.queryListWidget.setObjectName(_fromUtf8("queryListWidget"))
        self.queryTypeLayout.addWidget(self.queryListWidget)
        self.verticalLayout.addWidget(self.queryTypeGroupBox)
        self.queryInputGroupBox = QtGui.QGroupBox(self.horizontalLayoutWidget)
        self.queryInputGroupBox.setObjectName(_fromUtf8("queryInputGroupBox"))
        self.gridLayoutWidget = QtGui.QWidget(self.queryInputGroupBox)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 20, 300, 191))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.queryInputLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.queryInputLayout.setMargin(0)
        self.queryInputLayout.setObjectName(_fromUtf8("queryInputLayout"))
        self.file1Label = QtGui.QLabel(self.gridLayoutWidget)
        self.file1Label.setObjectName(_fromUtf8("file1Label"))
        self.queryInputLayout.addWidget(self.file1Label, 0, 0, 1, 1)
        self.file1LineEdit = QCustomLineEdit(self.gridLayoutWidget)#QtGui.QLineEdit(self.gridLayoutWidget)
        self.file1LineEdit.setObjectName(_fromUtf8("file1LineEdit"))
        self.queryInputLayout.addWidget(self.file1LineEdit, 0, 1, 1, 1)
        self.file2Label = QtGui.QLabel(self.gridLayoutWidget)
        self.file2Label.setObjectName(_fromUtf8("file2Label"))
        self.queryInputLayout.addWidget(self.file2Label, 1, 0, 1, 1)
        self.file2LineEdit = QCustomLineEdit(self.gridLayoutWidget)#QtGui.QLineEdit(self.gridLayoutWidget)
        self.file2LineEdit.setObjectName(_fromUtf8("file2LineEdit"))
        self.queryInputLayout.addWidget(self.file2LineEdit, 1, 1, 1, 1)
        self.modeLabel = QtGui.QLabel(self.gridLayoutWidget)
        self.modeLabel.setObjectName(_fromUtf8("modeLabel"))
        self.queryInputLayout.addWidget(self.modeLabel, 2, 0, 1, 1)
        self.accessModeComboBox = QtGui.QComboBox(self.gridLayoutWidget)
        self.accessModeComboBox.setObjectName(_fromUtf8("accessModeComboBox"))
        self.accessModeComboBox.addItem(_fromUtf8(""))
        self.accessModeComboBox.addItem(_fromUtf8(""))
        self.accessModeComboBox.addItem(_fromUtf8(""))
        self.accessModeComboBox.addItem(_fromUtf8(""))
        self.accessModeComboBox.addItem(_fromUtf8(""))
        self.queryInputLayout.addWidget(self.accessModeComboBox, 2, 1, 1, 1)
        self.domainLabel = QtGui.QLabel(self.gridLayoutWidget)
        self.domainLabel.setObjectName(_fromUtf8("domainLabel"))
        self.queryInputLayout.addWidget(self.domainLabel, 3, 0, 1, 1)
        self.domainComboBox = QtGui.QComboBox(self.gridLayoutWidget)
        self.domainComboBox.setObjectName(_fromUtf8("domainComboBox"))
        self.queryInputLayout.addWidget(self.domainComboBox, 3, 1, 1, 1)
        self.verticalLayout.addWidget(self.queryInputGroupBox)
        self.runQueryGroupBox = QtGui.QGroupBox(self.horizontalLayoutWidget)
        self.runQueryGroupBox.setObjectName(_fromUtf8("runQueryGroupBox"))
        self.verticalLayoutWidget = QtGui.QWidget(self.runQueryGroupBox)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 20, 201, 201))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.runQueryLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.runQueryLayout.setMargin(0)
        self.runQueryLayout.setObjectName(_fromUtf8("runQueryLayout"))
        self.runQueryButton = QtGui.QPushButton(self.verticalLayoutWidget)
        self.runQueryButton.setObjectName(_fromUtf8("runQueryButton"))
        self.runQueryLayout.addWidget(self.runQueryButton)
        self.clearButton = QtGui.QPushButton(self.verticalLayoutWidget)
        self.clearButton.setObjectName(_fromUtf8("clearButton"))
        self.runQueryLayout.addWidget(self.clearButton)
        self.verticalLayout.addWidget(self.runQueryGroupBox)
        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        #Form.setWindowTitle(QtGui.QApplication.translate("Form", "Query Window", None, QtGui.QApplication.UnicodeUTF8))
        self.queryTypeGroupBox.setTitle(QtGui.QApplication.translate("Form", "Query Types:", None, QtGui.QApplication.UnicodeUTF8))
        self.queryInputGroupBox.setTitle(QtGui.QApplication.translate("Form", "Query Input:", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Label.setText(QtGui.QApplication.translate("Form", "File:", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Label.setText(QtGui.QApplication.translate("Form", "File:", None, QtGui.QApplication.UnicodeUTF8))
#        self.modeLabel.setText(QtGui.QApplication.translate("Form", "Format: clearance, (1,2):", None, QtGui.QApplication.UnicodeUTF8))
#        self.accessModeComboBox.setItemText(0, QtGui.QApplication.translate("Form", "c(create)", None, QtGui.QApplication.UnicodeUTF8))
#        self.accessModeComboBox.setItemText(1, QtGui.QApplication.translate("Form", "r(read)", None, QtGui.QApplication.UnicodeUTF8))
#        self.accessModeComboBox.setItemText(2, QtGui.QApplication.translate("Form", "w(write)", None, QtGui.QApplication.UnicodeUTF8))
#        self.accessModeComboBox.setItemText(3, QtGui.QApplication.translate("Form", "x(execute)", None, QtGui.QApplication.UnicodeUTF8))
#        self.accessModeComboBox.setItemText(4, QtGui.QApplication.translate("Form", "d(directory)", None, QtGui.QApplication.UnicodeUTF8))
        self.domainLabel.setText(QtGui.QApplication.translate("Form", "Format: clearance, (1,2)", None, QtGui.QApplication.UnicodeUTF8))
        self.runQueryGroupBox.setTitle(QtGui.QApplication.translate("Form", "Run Query:", None, QtGui.QApplication.UnicodeUTF8))
        self.runQueryButton.setText(QtGui.QApplication.translate("Form", "Run", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setText(QtGui.QApplication.translate("Form", "Clear", None, QtGui.QApplication.UnicodeUTF8))
