diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/MainUI.ui')
-rw-r--r-- | src-qt5/desktop-utils/lumina-screenshot/MainUI.ui | 457 |
1 files changed, 282 insertions, 175 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.ui b/src-qt5/desktop-utils/lumina-screenshot/MainUI.ui index e8a19727..db1c0cee 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.ui +++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.ui @@ -15,212 +15,319 @@ </property> <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> <item> - <widget class="QLabel" name="label_screenshot"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>1</number> </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - <property name="text"> - <string>No Screenshot Yet</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QGroupBox" name="group_new"> - <property name="title"> - <string>New Screenshot Settings</string> - </property> - <layout class="QGridLayout" name="gridLayout_2"> - <property name="topMargin"> - <number>2</number> - </property> - <property name="bottomMargin"> - <number>1</number> - </property> - <property name="spacing"> - <number>2</number> - </property> - <item row="3" column="1"> - <widget class="QCheckBox" name="check_frame"> - <property name="text"> - <string>Include Borders</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QSpinBox" name="spin_delay"> - <property name="suffix"> - <string> Seconds</string> - </property> - <property name="prefix"> - <string>Delay </string> - </property> - <property name="maximum"> - <number>20</number> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QRadioButton" name="radio_all"> - <property name="text"> - <string>Entire Session</string> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QRadioButton" name="radio_window"> - <property name="text"> - <string>Single Window</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QRadioButton" name="radio_monitor"> - <property name="text"> - <string>Single Screen</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QSpinBox" name="spin_monitor"> - <property name="prefix"> - <string notr="true"># </string> + <widget class="QWidget" name="tab_settings"> + <attribute name="title"> + <string>New Screenshot</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QGroupBox" name="group_settings"> + <property name="title"> + <string>Settings</string> + </property> + <layout class="QFormLayout" name="formLayout_2"> + <property name="horizontalSpacing"> + <number>3</number> </property> - <property name="minimum"> - <number>1</number> + <property name="verticalSpacing"> + <number>3</number> </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <property name="rightMargin"> + <number>0</number> </property> - </spacer> - </item> - </layout> - </item> - </layout> + <property name="bottomMargin"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QRadioButton" name="radio_all"> + <property name="text"> + <string>Entire Session</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QRadioButton" name="radio_monitor"> + <property name="text"> + <string>Single Screen</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QRadioButton" name="radio_window"> + <property name="text"> + <string>Single Window</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <widget class="QSpinBox" name="spin_monitor"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="prefix"> + <string notr="true"># </string> + </property> + <property name="minimum"> + <number>1</number> + </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> + </layout> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="check_frame"> + <property name="text"> + <string>Include Borders</string> + </property> + </widget> + </item> + </layout> + </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> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QSpinBox" name="spin_delay"> + <property name="suffix"> + <string> Seconds</string> + </property> + <property name="prefix"> + <string>Delay </string> + </property> + <property name="maximum"> + <number>20</number> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="push_snap"> + <property name="text"> + <string>Take Screenshot</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_view"> + <attribute name="title"> + <string>View/Edit</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="spacing"> + <number>3</number> + </property> + <property name="leftMargin"> + <number>1</number> + </property> + <property name="topMargin"> + <number>1</number> + </property> + <property name="rightMargin"> + <number>1</number> + </property> + <property name="bottomMargin"> + <number>1</number> + </property> + <item> + <widget class="QScrollArea" name="scrollArea"> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>341</width> + <height>171</height> + </rect> + </property> + </widget> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QToolButton" name="tool_save"> + <property name="text"> + <string>Save As</string> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="tool_quicksave"> + <property name="text"> + <string>Launch Editor</string> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </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="QToolButton" name="tool_crop"> + <property name="text"> + <string>Crop</string> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="tool_resize"> + <property name="text"> + <string>Resize</string> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> </widget> </item> </layout> </widget> <widget class="QStatusBar" name="statusbar"/> - <widget class="QToolBar" name="toolBar"> - <property name="contextMenuPolicy"> - <enum>Qt::CustomContextMenu</enum> - </property> - <property name="windowTitle"> - <string>toolBar</string> - </property> - <property name="movable"> - <bool>false</bool> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>349</width> + <height>23</height> + </rect> </property> - <property name="iconSize"> - <size> - <width>24</width> - <height>24</height> - </size> + <widget class="QMenu" name="menuFile"> + <property name="title"> + <string>File</string> + </property> + <addaction name="actionTake_Screenshot"/> + <addaction name="separator"/> + <addaction name="actionSave_As"/> + <addaction name="actionQuick_Save"/> + <addaction name="separator"/> + <addaction name="actionClose"/> + </widget> + <addaction name="menuFile"/> + </widget> + <action name="actionTake_Screenshot"> + <property name="text"> + <string>Take Screenshot</string> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> + <property name="shortcut"> + <string>Ctrl+N</string> </property> - <property name="floatable"> - <bool>false</bool> + <property name="shortcutContext"> + <enum>Qt::ApplicationShortcut</enum> </property> - <attribute name="toolBarArea"> - <enum>TopToolBarArea</enum> - </attribute> - <attribute name="toolBarBreak"> - <bool>false</bool> - </attribute> - <addaction name="actionNew"/> - <addaction name="actionSave"/> - <addaction name="actionquicksave"/> - <addaction name="actionEdit"/> - <addaction name="actionQuit"/> - </widget> - <action name="actionSave"> + </action> + <action name="actionSave_As"> <property name="text"> - <string>Save</string> - </property> - <property name="toolTip"> - <string>Save Screenshot</string> - </property> - <property name="statusTip"> - <string>Save Screenshot</string> + <string>Save As</string> </property> <property name="shortcut"> <string>Ctrl+S</string> </property> + <property name="shortcutContext"> + <enum>Qt::ApplicationShortcut</enum> + </property> </action> - <action name="actionquicksave"> + <action name="actionQuick_Save"> <property name="text"> <string>Quick Save</string> </property> - <property name="toolTip"> - <string>Quick Save Screenshot</string> - </property> - <property name="statusTip"> - <string>Quick Save Screenshot</string> - </property> - <property name="shortcut"> - <string>Ctrl+Shift+S</string> - </property> </action> - <action name="actionEdit"> + <action name="actionClose"> <property name="text"> - <string>Edit</string> - </property> - <property name="toolTip"> - <string>Edit Screenshot</string> - </property> - <property name="statusTip"> - <string>Edit Screenshot</string> + <string>Close</string> </property> <property name="shortcut"> - <string>Ctrl+E</string> + <string>Esc</string> </property> - </action> - <action name="actionQuit"> - <property name="text"> - <string>Quit</string> - </property> - <property name="statusTip"> - <string>Quit</string> - </property> - <property name="shortcut"> - <string>Ctrl+Q</string> + <property name="shortcutContext"> + <enum>Qt::ApplicationShortcut</enum> </property> </action> - <action name="actionNew"> - <property name="text"> - <string>Snap</string> - </property> - <property name="statusTip"> - <string>Take new Screenshot</string> - </property> -</action> </widget> <resources/> <connections/> |