Mon, 16 Oct 2017 20:18:04 +0200
Added functionality to enable the code info actions only, if the currently selected provider supports the editor language.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CodeDocumentationViewer</class> <widget class="QWidget" name="CodeDocumentationViewer"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>639</width> <height>595</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Code Info Provider:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="providerComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the code info provider</string> </property> <property name="sizeAdjustPolicy"> <enum>QComboBox::AdjustToContents</enum> </property> </widget> </item> <item> <widget class="QLineEdit" name="objectLineEdit"> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <widget class="QTextEdit" name="contents"> <property name="tabChangesFocus"> <bool>true</bool> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> <item> <widget class="E5TextEditSearchWidget" name="searchWidget" native="true"> <property name="focusPolicy"> <enum>Qt::WheelFocus</enum> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>E5TextEditSearchWidget</class> <extends>QWidget</extends> <header>E5Gui/E5TextEditSearchWidget.h</header> <container>1</container> </customwidget> </customwidgets> <tabstops> <tabstop>providerComboBox</tabstop> <tabstop>objectLineEdit</tabstop> <tabstop>contents</tabstop> <tabstop>searchWidget</tabstop> </tabstops> <resources/> <connections/> </ui>