LibreCAD / librecad /src /ui /dialogs /creators /lc_dlgwidgetcreator.ui
AbdulElahGwaith's picture
Upload folder using huggingface_hub
a5ffdcd verified
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LC_DlgWidgetCreator</class>
<widget class="QDialog" name="LC_DlgWidgetCreator">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>619</width>
<height>518</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="12" column="0" colspan="3">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Available Actions:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QFrame" name="frame_6">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<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>6</number>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Action Group:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbCategories">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Select action group with actions</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="2" rowspan="5">
<widget class="ActionList" name="alChosenActions">
<property name="toolTip">
<string>Actions that are included. Use drag-n-drop to reorder, double-click for remove item from the list.</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="lblDialogHint">
<property name="text">
<string>Define a custom menu by specifing the set of included actions. Menu will be shown as a popup in the drawing area as soon as menu invocation shortcut is invoked. </string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QWidget" name="wWidgetToolbar" native="true">
<layout class="QGridLayout" name="gridLayout_2">
<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 row="0" column="3">
<widget class="QToolButton" name="btnSave">
<property name="toolTip">
<string>Save Used Actions List</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/save.lci</normaloff>:/icons/save.lci</iconset>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbWidgetName">
<property name="toolTip">
<string/>
</property>
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lblWidgetTypeName">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Widget Name: </string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QToolButton" name="btnDelete">
<property name="toolTip">
<string>Destroy</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/remove.lci</normaloff>:/icons/remove.lci</iconset>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QToolButton" name="btnNew">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/add.lci</normaloff>:/icons/add.lci</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="7" column="1">
<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 row="5" column="1">
<widget class="QPushButton" name="btnRemove">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Remove selected item from the list of used actions</string>
</property>
<property name="text">
<string>&lt;</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Used Actions:</string>
</property>
</widget>
</item>
<item row="3" column="0" rowspan="5">
<widget class="ActionList" name="alOfferredActions">
<property name="toolTip">
<string>Available actions. Double click on item to add it to the list of used actions.</string>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer_2">
<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 row="9" column="2">
<widget class="QGroupBox" name="gbMenuAssignment">
<property name="title">
<string>Menu Assignment</string>
</property>
<layout class="QGridLayout" name="gridLayout_3" columnstretch="5,0,0">
<item row="2" column="0">
<widget class="QLabel" name="lblMenuShortcut">
<property name="text">
<string>NONE</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="pbMenuUnassign">
<property name="toolTip">
<string>Removes menu assignment. Menu itself is not deleted.</string>
</property>
<property name="text">
<string>Unassign</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3" alignment="Qt::AlignTop">
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Note: for single-action menus, popup invocation directly triggers the action instead of menu.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="pbMenuAssign">
<property name="toolTip">
<string>Assign menu activation shortcut.</string>
</property>
<property name="text">
<string>Assign</string>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/mouse.lci</normaloff>:/icons/mouse.lci</iconset>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="btnAdd">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Add selected item to the list of used actions</string>
</property>
<property name="text">
<string>&gt;</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="btnRemoveAll">
<property name="toolTip">
<string>Remove ALL items from the list of used actions</string>
</property>
<property name="text">
<string>&lt;&lt;</string>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QGroupBox" name="gbToolbarPlacement">
<property name="title">
<string>Toolbar Placement</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Put new toolbars to </string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbTBPlacementArea">
<property name="toolTip">
<string>Specifies docking area that is used to initial placement of created toolbar. Make sure that this area is enabled.</string>
</property>
<item>
<property name="text">
<string>Bottom</string>
</property>
</item>
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Right</string>
</property>
</item>
<item>
<property name="text">
<string>Top</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ActionList</class>
<extends>QListWidget</extends>
<header>actionlist.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../../../../res/icons/icons.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>LC_DlgWidgetCreator</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>LC_DlgWidgetCreator</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>