#6301 Add clipboard size limit option to GUI

This commit is contained in:
Xinyu Hou 2018-05-29 09:45:38 -04:00 committed by Nick Bolton
parent 1c90f858ea
commit 682fe1cfa3
1 changed files with 49 additions and 12 deletions

View File

@ -17,7 +17,7 @@
<item> <item>
<widget class="QTabWidget" name="m_pTabWidget"> <widget class="QTabWidget" name="m_pTabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="m_pTabScreens"> <widget class="QWidget" name="m_pTabScreens">
<attribute name="title"> <attribute name="title">
@ -408,6 +408,53 @@ Double click on a screen to edit its settings.</string>
<string>&amp;Options</string> <string>&amp;Options</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="8" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="m_pCheckBoxEnableClipboard">
<property name="text">
<string>Enable clipboard sharing</string>
</property>
<property name="checked">
<bool>true</bool>
</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="QSpinBox" name="m_pSpinBoxClipboardSizeLimit">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>MB</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="0"> <item row="5" column="0">
<widget class="QCheckBox" name="m_pCheckBoxEnableDragAndDrop"> <widget class="QCheckBox" name="m_pCheckBoxEnableDragAndDrop">
<property name="text"> <property name="text">
@ -435,7 +482,7 @@ Double click on a screen to edit its settings.</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="0"> <item row="12" column="0">
<spacer> <spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -448,16 +495,6 @@ Double click on a screen to edit its settings.</string>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="7" column="0">
<widget class="QCheckBox" name="m_pCheckBoxEnableClipboard">
<property name="text">
<string>Enable clipboard sharing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="m_pCheckBoxIgnoreAutoConfigClient"> <widget class="QCheckBox" name="m_pCheckBoxIgnoreAutoConfigClient">
<property name="text"> <property name="text">