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

# Form implementation generated from reading ui file '../../resources/ui/carla_settings_driver.ui'
#
# Created by: PyQt5 UI code generator 5.12
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_DriverSettingsW(object):
    def setupUi(self, DriverSettingsW):
        DriverSettingsW.setObjectName("DriverSettingsW")
        DriverSettingsW.resize(320, 175)
        self.gridLayout = QtWidgets.QGridLayout(DriverSettingsW)
        self.gridLayout.setObjectName("gridLayout")
        self.label_device = QtWidgets.QLabel(DriverSettingsW)
        self.label_device.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_device.setObjectName("label_device")
        self.gridLayout.addWidget(self.label_device, 0, 0, 1, 1)
        self.cb_device = QtWidgets.QComboBox(DriverSettingsW)
        self.cb_device.setObjectName("cb_device")
        self.gridLayout.addWidget(self.cb_device, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(40, 1, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.cb_samplerate = QtWidgets.QComboBox(DriverSettingsW)
        self.cb_samplerate.setObjectName("cb_samplerate")
        self.gridLayout.addWidget(self.cb_samplerate, 2, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(DriverSettingsW)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 3)
        self.label_buffersize = QtWidgets.QLabel(DriverSettingsW)
        self.label_buffersize.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_buffersize.setObjectName("label_buffersize")
        self.gridLayout.addWidget(self.label_buffersize, 1, 0, 1, 1)
        self.cb_buffersize = QtWidgets.QComboBox(DriverSettingsW)
        self.cb_buffersize.setObjectName("cb_buffersize")
        self.gridLayout.addWidget(self.cb_buffersize, 1, 1, 1, 1)
        self.label_samplerate = QtWidgets.QLabel(DriverSettingsW)
        self.label_samplerate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_samplerate.setObjectName("label_samplerate")
        self.gridLayout.addWidget(self.label_samplerate, 2, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(1, 1, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 3, 0, 1, 1)
        self.cb_triple_buffer = QtWidgets.QCheckBox(DriverSettingsW)
        self.cb_triple_buffer.setObjectName("cb_triple_buffer")
        self.gridLayout.addWidget(self.cb_triple_buffer, 3, 1, 1, 2)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem2)
        self.label_22 = QtWidgets.QLabel(DriverSettingsW)
        self.label_22.setMaximumSize(QtCore.QSize(22, 22))
        self.label_22.setText("")
        self.label_22.setPixmap(QtGui.QPixmap(":/16x16/dialog-information.png"))
        self.label_22.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_22.setObjectName("label_22")
        self.horizontalLayout_13.addWidget(self.label_22)
        self.label_23 = QtWidgets.QLabel(DriverSettingsW)
        self.label_23.setObjectName("label_23")
        self.horizontalLayout_13.addWidget(self.label_23)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem3)
        self.gridLayout.addLayout(self.horizontalLayout_13, 4, 0, 1, 3)

        self.retranslateUi(DriverSettingsW)
        self.buttonBox.accepted.connect(DriverSettingsW.accept)
        self.buttonBox.rejected.connect(DriverSettingsW.reject)
        QtCore.QMetaObject.connectSlotsByName(DriverSettingsW)

    def retranslateUi(self, DriverSettingsW):
        _translate = QtCore.QCoreApplication.translate
        DriverSettingsW.setWindowTitle(_translate("DriverSettingsW", "Driver Settings"))
        self.label_device.setText(_translate("DriverSettingsW", "Device:"))
        self.label_buffersize.setText(_translate("DriverSettingsW", "Buffer size:"))
        self.label_samplerate.setText(_translate("DriverSettingsW", "Sample rate:"))
        self.cb_triple_buffer.setText(_translate("DriverSettingsW", "Triple buffer"))
        self.label_23.setText(_translate("DriverSettingsW", "Restart the engine to load the new settings"))


import resources_rc
