1
0
mirror of https://github.com/altlinux/admc.git synced 2025-01-31 09:47:07 +03:00
admc/data/ui/mainwindow.ui
Dmitry Degtyarev 84c3b86c00 add entry context menu
open this menu from containers and contents views
2020-05-18 15:50:16 +04:00

180 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1307</width>
<height>795</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QSplitter" name="splitter">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1301</width>
<height>591</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="ContainersView" name="containers_view">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>
<property name="itemsExpandable">
<bool>true</bool>
</property>
<property name="expandsOnDoubleClick">
<bool>true</bool>
</property>
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
</widget>
<widget class="ContentsView" name="contents_view">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
<property name="expandsOnDoubleClick">
<bool>false</bool>
</property>
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
</widget>
<widget class="AttributesView" name="attributes_view">
<property name="editTriggers">
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1307</width>
<height>27</height>
</rect>
</property>
<widget class="QMenu" name="menubar_new">
<property name="title">
<string>New</string>
</property>
<addaction name="menubar_new_user"/>
<addaction name="menubar_new_computer"/>
<addaction name="menubar_new_ou"/>
<addaction name="menubar_new_group"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionSomething"/>
<addaction name="actionHere"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
<addaction name="menubar_view_advancedView"/>
</widget>
<addaction name="menubar_new"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="menubar_new_user">
<property name="text">
<string>User</string>
</property>
</action>
<action name="menubar_new_computer">
<property name="text">
<string>Computer</string>
</property>
</action>
<action name="actionSomething">
<property name="text">
<string>Something</string>
</property>
</action>
<action name="actionHere">
<property name="text">
<string>Here</string>
</property>
</action>
<action name="menubar_view_advancedView">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Advanced view</string>
</property>
</action>
<action name="menubar_new_ou">
<property name="text">
<string>Organizational Unit</string>
</property>
</action>
<action name="menubar_new_group">
<property name="text">
<string>Group</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>ContainersView</class>
<extends>QTreeView</extends>
<header>src/containers_view.h</header>
</customwidget>
<customwidget>
<class>ContentsView</class>
<extends>QTreeView</extends>
<header>src/contents_view.h</header>
</customwidget>
<customwidget>
<class>AttributesView</class>
<extends>QTreeView</extends>
<header>src/attributes_view.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>