You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-config-packaging/lxqt-config-monitor/mainwindow.ui

238 lines
6.3 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MonitorSettingsDialog</class>
<widget class="QDialog" name="MonitorSettingsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>549</width>
<height>392</height>
</rect>
</property>
<property name="windowTitle">
<string>Monitor Settings</string>
</property>
<property name="windowIcon">
<iconset theme="preferences-desktop-display">
<normaloff/>
</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="quickOptionsTab">
<attribute name="title">
<string>Quick Options</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="useBoth">
<property name="text">
<string>Show the same screen on both laptop LCD and external monitor</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="extended">
<property name="text">
<string>Extended view</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="externalOnly">
<property name="text">
<string>Turn off laptop LCD and use external monitor only</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="laptopOnly">
<property name="text">
<string>Turn off external monitor and use laptop LCD only</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="settingsTab">
<attribute name="title">
<string>Settings</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1">
<item>
<widget class="QListWidget" name="monitorList">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="unify">
<property name="text">
<string>Unify all monitors</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="positionPushButton">
<property name="text">
<string>Monitor Position</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="primaryLabel">
<property name="text">
<string>Primary monitor:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="primaryCombo">
<item>
<property name="text">
<string/>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::Save</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>MonitorSettingsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>338</x>
<y>439</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>257</y>
</hint>
</hints>
</connection>
<connection>
<sender>unify</sender>
<signal>toggled(bool)</signal>
<receiver>primaryLabel</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>115</x>
<y>386</y>
</hint>
<hint type="destinationlabel">
<x>413</x>
<y>388</y>
</hint>
</hints>
</connection>
<connection>
<sender>unify</sender>
<signal>toggled(bool)</signal>
<receiver>primaryCombo</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>60</x>
<y>386</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>388</y>
</hint>
</hints>
</connection>
<connection>
<sender>monitorList</sender>
<signal>currentRowChanged(int)</signal>
<receiver>stackedWidget</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>126</x>
<y>181</y>
</hint>
<hint type="destinationlabel">
<x>392</x>
<y>186</y>
</hint>
</hints>
</connection>
</connections>
</ui>