# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Thu Aug 22 00:36:12 2013
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(697, 574)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.centralwidget.setGeometry(QtCore.QRect(0,0,697,574))
        '''MENUBAR'''
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 697, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menu_File = QtGui.QMenu(self.menubar)
        self.menu_File.setObjectName(_fromUtf8("menu_File"))
#         self.menu_Edit = QtGui.QMenu(self.menubar)
#         self.menu_Edit.setObjectName(_fromUtf8("menu_Edit"))
        self.menu_View = QtGui.QMenu(self.menubar)
        self.menu_View.setObjectName(_fromUtf8("menu_View"))
        self.menu_Practice = QtGui.QMenu(self.menubar)
        self.menu_Practice.setObjectName(_fromUtf8("menu_Practice"))
        self.menu_Help = QtGui.QMenu(self.menubar)
        self.menu_Help.setObjectName(_fromUtf8("menu_Help"))
        MainWindow.setMenuBar(self.menubar)
        '''STATUSBAR'''
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        self.introLabel = QtGui.QLabel(self.statusbar)
        self.introLabel.setGeometry(QtCore.QRect(2,0,2000,20))
        self.introLabel.setObjectName(_fromUtf8("introLabel"))
        self.introLabel.setText('')
        MainWindow.setStatusBar(self.statusbar)
        
        '''TOOLBAR'''
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        
        '''IO'''
        self.actionNew = QtGui.QAction(MainWindow)
        self.actionNew.setObjectName(_fromUtf8("actionNew"))
        self.actionNew.setToolTip("Create a blank graph")
        
        self.actionOpen = QtGui.QAction(MainWindow)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        self.actionOpen.setToolTip("Open a rbacvis graph file")
        
        self.actionSave = QtGui.QAction(MainWindow)
        self.actionSave.setObjectName(_fromUtf8("actionSave"))
        self.actionSave.setToolTip("Save a rbacvis graph file")
    
        self.actionSave_As = QtGui.QAction(MainWindow)
        self.actionSave_As.setObjectName(_fromUtf8("actionSave_As"))
        self.actionSave_As.setToolTip("Save as a rbacvis graph file")
        
        self.actionImport = QtGui.QAction(MainWindow)
        self.actionImport.setObjectName(_fromUtf8("actionImport"))
        self.actionImport.setToolTip("Import a rbac specification file")
        
        self.actionExport = QtGui.QAction(MainWindow)
        self.actionExport.setObjectName(_fromUtf8("actionExport"))
        self.actionExport.setToolTip("Export as a rbac specification file")
        
        '''MALLECEOUS'''
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        
        self.actionHelp_Contents = QtGui.QAction(MainWindow)
        self.actionHelp_Contents.setObjectName(_fromUtf8("actionHelp_Contents"))
        
        self.actionPan = QtGui.QAction(MainWindow)
        self.actionPan.setObjectName(_fromUtf8("actionPan"))
        self.actionPan.setCheckable(True)
        self.actionPan.setChecked(False)
        self.actionPan.setToolTip("Move the nodes without affecting highlighting")
        
        self.actionZoom_In = QtGui.QAction(MainWindow)
        self.actionZoom_In.setObjectName(_fromUtf8("actionZoom_In"))
        self.actionZoom_In.setToolTip("Zoom in the view")

        self.actionZoom_Out = QtGui.QAction(MainWindow)
        self.actionZoom_Out.setObjectName(_fromUtf8("actionZoom_Out"))
        self.actionZoom_Out.setToolTip("Zoom out the view")
        
        '''VIEWS and GRAPHS'''
        self.actionView_Matrix = QtGui.QAction(MainWindow)
        self.actionView_Matrix.setCheckable(True)
        self.actionView_Matrix.setChecked(True)
        self.actionView_Matrix.setObjectName(_fromUtf8("actionView_Matrix"))
        self.actionView_Matrix.setToolTip("Show matrices of role-user and role-object assignment")
 
        self.actionView_rHierarchy = QtGui.QAction(MainWindow)
        self.actionView_rHierarchy.setCheckable(True)
        self.actionView_rHierarchy.setObjectName(_fromUtf8("actionView_rHierarchy"))
        self.actionView_rHierarchy.setToolTip("Show hierarchy of roles")
        
        self.actionView_Separate = QtGui.QAction(MainWindow)
        self.actionView_Separate.setCheckable(True)
        self.actionView_Separate.setObjectName(_fromUtf8("actionView_Separate"))
        self.actionView_Separate.setToolTip("Show split views for role hierarchy, role-users and role-directories")
        
        self.actionView_SelfTest = QtGui.QAction(MainWindow)
        self.actionView_SelfTest.setCheckable(True)
        self.actionView_SelfTest.setObjectName(_fromUtf8("actionView_SelfTest"))
        self.actionView_SelfTest.setToolTip("Mode for answering user configurable questions")
        
        '''SPEC'''
        self.actionSpecification = QtGui.QAction(MainWindow)
        self.actionSpecification.setObjectName(_fromUtf8("actionSpecification"))
        self.actionSpecification.setToolTip("Show the specification file")
        #self.actionSpecification.setCheckable(True)
        '''ToolBox'''
        self.actionToolBox = QtGui.QAction(MainWindow)
        self.actionToolBox.setObjectName(_fromUtf8("actionToolBox"))
        self.actionToolBox.setCheckable(True)
        '''QUERY'''
        self.actionQuery_Window = QtGui.QAction(MainWindow)
        self.actionQuery_Window.setObjectName(_fromUtf8("actionQuery_Window"))
        self.actionQuery_Window.setCheckable(True)
        '''Test'''
        self.actionTest = QtGui.QAction(MainWindow)
        self.actionTest.setObjectName(_fromUtf8("actionTest"))
        self.actionTest.setCheckable(True)
        '''Test answer decryotion'''
        self.actionDecrypt = QtGui.QAction(MainWindow)
        self.actionDecrypt.setObjectName(_fromUtf8("actionDecrypt"))
        self.actionDecrypt.setCheckable(True)
        '''Matrix view'''
        self.actionInsertUser = QtGui.QAction(MainWindow)
        self.actionInsertUser.setObjectName(_fromUtf8("actionInsertUser"))
        self.actionInsertUser.setCheckable(False)
        self.actionInsertUser.setEnabled(False)
        
        self.actionDeleteUser = QtGui.QAction(MainWindow)
        self.actionDeleteUser.setObjectName(_fromUtf8("actionDeleteUser"))
        self.actionDeleteUser.setCheckable(False)
        self.actionDeleteUser.setEnabled(False)
        
        self.actionInsertRole = QtGui.QAction(MainWindow)
        self.actionInsertRole.setObjectName(_fromUtf8("actionInsertRole"))
        self.actionInsertRole.setCheckable(False)
        self.actionInsertRole.setEnabled(False)
        
        self.actionDeleteRole = QtGui.QAction(MainWindow)
        self.actionDeleteRole.setObjectName(_fromUtf8("actionDeleteRole"))
        self.actionDeleteRole.setCheckable(False)
        self.actionDeleteRole.setEnabled(False)
        
        self.actionInsertDir = QtGui.QAction(MainWindow)
        self.actionInsertDir.setObjectName(_fromUtf8("actionInsertDir"))
        self.actionInsertDir.setCheckable(False)
        self.actionInsertDir.setEnabled(False)
        
        self.actionDeleteDir = QtGui.QAction(MainWindow)
        self.actionDeleteDir.setObjectName(_fromUtf8("actionDeleteDir"))
        self.actionDeleteDir.setCheckable(False)
        self.actionDeleteDir.setEnabled(False)
        
        '''add actions to menubar'''
        self.menu_File.addAction(self.actionNew)
        self.menu_File.addAction(self.actionOpen)
        self.menu_File.addAction(self.actionSave)
        self.menu_File.addAction(self.actionSave_As)
        self.menu_File.addAction(self.actionImport)
        self.menu_File.addAction(self.actionExport)
        self.menu_File.addAction(self.actionExit)
        
        self.menu_View.addAction(self.actionView_Matrix)
        self.menu_View.addAction(self.actionView_rHierarchy)
        self.menu_View.addAction(self.actionView_Separate)
        self.menu_View.addAction(self.actionView_SelfTest)
        self.menu_View.addSeparator()
        self.menu_View.addAction(self.actionToolBox)
        self.menu_View.addAction(self.actionSpecification)
        self.menu_View.addAction(self.actionQuery_Window)
        self.menu_View.addSeparator()
        self.menu_View.addAction(self.actionPan)
#         self.menu_View.addAction(self.actionZoom_In)
#         self.menu_View.addAction(self.actionZoom_Out)

        self.menu_Practice.addAction(self.actionTest)
        #self.menu_Practice.addAction(self.actionDecrypt)
        
        self.menu_Help.addAction(self.actionHelp_Contents)
        
        self.menubar.addAction(self.menu_File.menuAction())
#         self.menubar.addAction(self.menu_Edit.menuAction())
        self.menubar.addAction(self.menu_View.menuAction())
        self.menubar.addAction(self.menu_Practice.menuAction())
        self.menubar.addAction(self.menu_Help.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL(_fromUtf8("activated()")), MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
#         self.menu_Edit.setTitle(QtGui.QApplication.translate("MainWindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_View.setTitle(QtGui.QApplication.translate("MainWindow", "&View", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Practice.setTitle(QtGui.QApplication.translate("MainWindow", "&Practice", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Help.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.actionHelp_Contents.setText(QtGui.QApplication.translate("MainWindow", "Help Contents", None, QtGui.QApplication.UnicodeUTF8))
        self.actionHelp_Contents.setShortcut(QtGui.QApplication.translate("MainWindow", "F1", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew.setText(QtGui.QApplication.translate("MainWindow", "New", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setText(QtGui.QApplication.translate("MainWindow", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_As.setText(QtGui.QApplication.translate("MainWindow", "Save As", None, QtGui.QApplication.UnicodeUTF8))
        
#         self.actionNormal_Mode.setText(QtGui.QApplication.translate("MainWindow", "Analysis Mode", None, QtGui.QApplication.UnicodeUTF8))
#         self.actionEdit_Mode.setText(QtGui.QApplication.translate("MainWindow", "Edit Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionPan.setText(QtGui.QApplication.translate("MainWindow", "Move Nodes", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom_In.setText(QtGui.QApplication.translate("MainWindow", "Zoom In", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom_Out.setText(QtGui.QApplication.translate("MainWindow", "Zoom Out", None, QtGui.QApplication.UnicodeUTF8))
        self.actionImport.setText(QtGui.QApplication.translate("MainWindow", "Import", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExport.setText(QtGui.QApplication.translate("MainWindow", "Export", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionView_Matrix.setText(QtGui.QApplication.translate("MainWindow", "Matrix View", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_rHierarchy.setText(QtGui.QApplication.translate("MainWindow", "Separate View", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_Separate.setText(QtGui.QApplication.translate("MainWindow", "Hierarchy View", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_SelfTest.setText(QtGui.QApplication.translate("MainWindow", "Decision Mode", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionInsertUser.setText(QtGui.QApplication.translate("MainWindow", "Insert User", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDeleteUser.setText(QtGui.QApplication.translate("MainWindow", "Delete User", None, QtGui.QApplication.UnicodeUTF8))
        self.actionInsertRole.setText(QtGui.QApplication.translate("MainWindow", "Insert Role", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDeleteRole.setText(QtGui.QApplication.translate("MainWindow", "Delete Role", None, QtGui.QApplication.UnicodeUTF8))
        self.actionInsertDir.setText(QtGui.QApplication.translate("MainWindow", "Insert Directory", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDeleteDir.setText(QtGui.QApplication.translate("MainWindow", "Delete Directory", None, QtGui.QApplication.UnicodeUTF8))
        
        self.actionToolBox.setText(QtGui.QApplication.translate("MainWindow", "Tool Box", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSpecification.setText(QtGui.QApplication.translate("MainWindow", "Specification", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuery_Window.setText(QtGui.QApplication.translate("MainWindow", "Query Window", None, QtGui.QApplication.UnicodeUTF8))
#        
        self.actionTest.setText(QtGui.QApplication.translate("MainWindow", "Test", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDecrypt.setText(QtGui.QApplication.translate("MainWindow", "Decrypte Answer File", None, QtGui.QApplication.UnicodeUTF8))


