123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>ctkScreenshotDialog</class>
- <widget class="QDialog" name="ctkScreenshotDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>579</width>
- <height>334</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle">
- <string>Screen Capture Options</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="2" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="CountDownLabel">
- <property name="text">
- <string>0 s</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="ImageFullNameLabel">
- <property name="text">
- <string>Untitled_0.png</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <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="QDialogButtonBox" name="ButtonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>0</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="0">
- <widget class="QGroupBox" name="OptionGroupBox">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title">
- <string>Options</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="DirectoryLabel">
- <property name="text">
- <string>Folder:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="ctkPathLineEdit" name="DirectoryPathLineEdit" native="true">
- <property name="toolTip">
- <string>Select a directory in which screen captures will be saved.</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="ImageNameLabel">
- <property name="text">
- <string>Image name:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="ImageNameLineEdit">
- <property name="toolTip">
- <string>Type in a base-name for the image file, or use the default provided.</string>
- </property>
- <property name="text">
- <string>Untitled</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="ImageVersionNumberLabel">
- <property name="text">
- <string>Image version number:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="ImageVersionNumberSpinBox"/>
- </item>
- <item row="3" column="0">
- <widget class="QRadioButton" name="ScaleFactorRadioButton">
- <property name="text">
- <string>Scale factor:</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="ctkDoubleSpinBox" name="ScaleFactorSpinBox">
- <property name="toolTip">
- <string>Select an integer scale factor (between 0.5 and 5) for the image file, e.g. a value of "2" will save an image twice the size.</string>
- </property>
- <property name="decimalsOption">
- <enum>ctkDoubleSpinBox::FixedDecimals</enum>
- </property>
- <property name="decimals">
- <number>1</number>
- </property>
- <property name="minimum">
- <double>0.500000000000000</double>
- </property>
- <property name="maximum">
- <double>5.000000000000000</double>
- </property>
- <property name="singleStep">
- <double>0.500000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="4" column="0" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QRadioButton" name="OutputResolutionRadioButton">
- <property name="text">
- <string>Output resolution:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="WidthSpinBox">
- <property name="toolTip">
- <string>Width of the screenshot</string>
- </property>
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="xLabel">
- <property name="text">
- <string>x</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="HeightSpinBox">
- <property name="toolTip">
- <string>Height of the screenshot</string>
- </property>
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="LockAspectToolButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Lock/unlock aspect ratio</string>
- </property>
- <property name="icon">
- <iconset resource="../ctkWidgets.qrc">
- <normaloff>:/Icons/unlock.png</normaloff>
- <normalon>:/Icons/lock.png</normalon>:/Icons/unlock.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="OverwriteLabel">
- <property name="text">
- <string>Overwrite:</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QCheckBox" name="OverwriteCheckBox">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="DelayLabel">
- <property name="text">
- <string>Screenshot delay:</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QSpinBox" name="DelaySpinBox">
- <property name="suffix">
- <string> s</string>
- </property>
- <property name="maximum">
- <number>60</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>ctkPathLineEdit</class>
- <extends>QWidget</extends>
- <header>ctkPathLineEdit.h</header>
- </customwidget>
- <customwidget>
- <class>ctkDoubleSpinBox</class>
- <extends>QWidget</extends>
- <header>ctkDoubleSpinBox.h</header>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="../ctkWidgets.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>ButtonBox</sender>
- <signal>rejected()</signal>
- <receiver>ctkScreenshotDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>651</x>
- <y>221</y>
- </hint>
- <hint type="destinationlabel">
- <x>674</x>
- <y>188</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|