mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 16:30:07 +08:00
[supervision] Add missing files. (#2961)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ui/conf_settings.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_SettingsConf(object):
|
||||
def setupUi(self, SettingsConf):
|
||||
SettingsConf.setObjectName("SettingsConf")
|
||||
SettingsConf.resize(400, 300)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(SettingsConf)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.label = QtWidgets.QLabel(SettingsConf)
|
||||
self.label.setStyleSheet("font-weight: bold;")
|
||||
self.label.setObjectName("label")
|
||||
self.horizontalLayout.addWidget(self.label)
|
||||
self.add_setting_button = QtWidgets.QToolButton(SettingsConf)
|
||||
icon = QtGui.QIcon.fromTheme("list-add")
|
||||
self.add_setting_button.setIcon(icon)
|
||||
self.add_setting_button.setObjectName("add_setting_button")
|
||||
self.horizontalLayout.addWidget(self.add_setting_button)
|
||||
self.remove_setting_button = QtWidgets.QToolButton(SettingsConf)
|
||||
icon = QtGui.QIcon.fromTheme("list-remove")
|
||||
self.remove_setting_button.setIcon(icon)
|
||||
self.remove_setting_button.setObjectName("remove_setting_button")
|
||||
self.horizontalLayout.addWidget(self.remove_setting_button)
|
||||
self.verticalLayout.addLayout(self.horizontalLayout)
|
||||
self.settings = QtWidgets.QListWidget(SettingsConf)
|
||||
self.settings.setObjectName("settings")
|
||||
self.verticalLayout.addWidget(self.settings)
|
||||
|
||||
self.retranslateUi(SettingsConf)
|
||||
QtCore.QMetaObject.connectSlotsByName(SettingsConf)
|
||||
|
||||
def retranslateUi(self, SettingsConf):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
SettingsConf.setWindowTitle(_translate("SettingsConf", "Form"))
|
||||
self.label.setText(_translate("SettingsConf", "Settings"))
|
||||
self.add_setting_button.setText(_translate("SettingsConf", "..."))
|
||||
self.remove_setting_button.setText(_translate("SettingsConf", "..."))
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>SettingsConf</class>
|
||||
<widget class="QWidget" name="SettingsConf">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">font-weight: bold;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="add_setting_button">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="list-add"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="remove_setting_button">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="list-remove"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListWidget" name="settings"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Reference in New Issue
Block a user