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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetCalculationOptions.ui'
#
# Created: Sat Apr 07 22:23:44 2018
#      by: PyQt4 UI code generator 4.10.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_WidgetCalculationOptions(object):
    def setupUi(self, WidgetCalculationOptions):
        WidgetCalculationOptions.setObjectName(_fromUtf8("WidgetCalculationOptions"))
        WidgetCalculationOptions.resize(526, 463)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(WidgetCalculationOptions.sizePolicy().hasHeightForWidth())
        WidgetCalculationOptions.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(WidgetCalculationOptions)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_where_to_run = QtGui.QGroupBox(WidgetCalculationOptions)
        self.groupBox_where_to_run.setObjectName(_fromUtf8("groupBox_where_to_run"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_where_to_run)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.radioButton_run_in_cloud = QtGui.QRadioButton(self.groupBox_where_to_run)
        self.radioButton_run_in_cloud.setChecked(True)
        self.radioButton_run_in_cloud.setObjectName(_fromUtf8("radioButton_run_in_cloud"))
        self.gridLayout.addWidget(self.radioButton_run_in_cloud, 0, 0, 1, 1)
        self.radioButton_run_locally = QtGui.QRadioButton(self.groupBox_where_to_run)
        self.radioButton_run_locally.setObjectName(_fromUtf8("radioButton_run_locally"))
        self.gridLayout.addWidget(self.radioButton_run_locally, 1, 0, 1, 1)
        self.lineEdit_local_data_folder = QtGui.QLineEdit(self.groupBox_where_to_run)
        self.lineEdit_local_data_folder.setEnabled(False)
        self.lineEdit_local_data_folder.setMinimumSize(QtCore.QSize(60, 30))
        self.lineEdit_local_data_folder.setReadOnly(True)
        self.lineEdit_local_data_folder.setObjectName(_fromUtf8("lineEdit_local_data_folder"))
        self.gridLayout.addWidget(self.lineEdit_local_data_folder, 2, 0, 1, 1)
        self.btn_local_data_folder_browse = QtGui.QPushButton(self.groupBox_where_to_run)
        self.btn_local_data_folder_browse.setEnabled(False)
        self.btn_local_data_folder_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_local_data_folder_browse.setMaximumSize(QtCore.QSize(80, 16777215))
        self.btn_local_data_folder_browse.setObjectName(_fromUtf8("btn_local_data_folder_browse"))
        self.gridLayout.addWidget(self.btn_local_data_folder_browse, 2, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_where_to_run)
        self.groupBox_metadata = QtGui.QGroupBox(WidgetCalculationOptions)
        self.groupBox_metadata.setObjectName(_fromUtf8("groupBox_metadata"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_metadata)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label = QtGui.QLabel(self.groupBox_metadata)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.task_name = QtGui.QLineEdit(self.groupBox_metadata)
        self.task_name.setMinimumSize(QtCore.QSize(0, 30))
        self.task_name.setMaxLength(60)
        self.task_name.setObjectName(_fromUtf8("task_name"))
        self.verticalLayout_2.addWidget(self.task_name)
        self.label_2 = QtGui.QLabel(self.groupBox_metadata)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.task_notes = QtGui.QTextEdit(self.groupBox_metadata)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.task_notes.sizePolicy().hasHeightForWidth())
        self.task_notes.setSizePolicy(sizePolicy)
        self.task_notes.setMinimumSize(QtCore.QSize(0, 0))
        self.task_notes.setMaximumSize(QtCore.QSize(16777215, 100))
        self.task_notes.setObjectName(_fromUtf8("task_notes"))
        self.verticalLayout_2.addWidget(self.task_notes)
        self.verticalLayout.addWidget(self.groupBox_metadata)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(WidgetCalculationOptions)
        QtCore.QMetaObject.connectSlotsByName(WidgetCalculationOptions)

    def retranslateUi(self, WidgetCalculationOptions):
        WidgetCalculationOptions.setWindowTitle(_translate("WidgetCalculationOptions", "Form", None))
        self.groupBox_where_to_run.setTitle(_translate("WidgetCalculationOptions", "Where to run calculations", None))
        self.radioButton_run_in_cloud.setText(_translate("WidgetCalculationOptions", "Run in cloud", None))
        self.radioButton_run_locally.setText(_translate("WidgetCalculationOptions", "Run locally", None))
        self.lineEdit_local_data_folder.setPlaceholderText(_translate("WidgetCalculationOptions", "Click \"Browse\" to select where local data is saved...", None))
        self.btn_local_data_folder_browse.setText(_translate("WidgetCalculationOptions", "Browse", None))
        self.groupBox_metadata.setTitle(_translate("WidgetCalculationOptions", "Metadata", None))
        self.label.setText(_translate("WidgetCalculationOptions", "Task name:", None))
        self.label_2.setText(_translate("WidgetCalculationOptions", "Notes:", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    WidgetCalculationOptions = QtGui.QWidget()
    ui = Ui_WidgetCalculationOptions()
    ui.setupUi(WidgetCalculationOptions)
    WidgetCalculationOptions.show()
    sys.exit(app.exec_())

