diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-09-06 13:14:15 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-09-13 14:37:48 +0200 |
commit | c9f5a14bdde5a9ba7cbdcddf6b7799abac32a5e2 (patch) | |
tree | c4c389cd6ef805f25444de975740bae4adf9794c /src/plugins/cpptools/cppcodemodelsettingspage.ui | |
parent | f33d145e64aed43e4b59df3cd028b14eca105e71 (diff) | |
download | qt-creator-c9f5a14bdde5a9ba7cbdcddf6b7799abac32a5e2.tar.gz |
C++: add code-model settings to choose one by mime-type.
The model-manager now supports multiple code models for semantic
highlighting and code completion, and will choose one based on the
mime-type of the editor.
The settings page is currently disabled. It will get enabled when a
second plug-in lands that has a ModelManagerSupport class.
Change-Id: I10023f52322ed6860397da15dba1c231e80e6517
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodemodelsettingspage.ui')
-rw-r--r-- | src/plugins/cpptools/cppcodemodelsettingspage.ui | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppcodemodelsettingspage.ui b/src/plugins/cpptools/cppcodemodelsettingspage.ui new file mode 100644 index 0000000000..70155c527b --- /dev/null +++ b/src/plugins/cpptools/cppcodemodelsettingspage.ui @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>CppTools::Internal::CppCodeModelSettingsPage</class> + <widget class="QWidget" name="CppTools::Internal::CppCodeModelSettingsPage"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>629</width> + <height>374</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QGroupBox" name="theGroupBox"> + <property name="title"> + <string>Code Completion and Semantic Highlighting</string> + </property> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="cLabel"> + <property name="text"> + <string>C</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="cChooser"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="cppLabel"> + <property name="text"> + <string>C++</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="cppChooser"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="objcLabel"> + <property name="text"> + <string>Objective C</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QComboBox" name="objcChooser"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="objcppLabel"> + <property name="text"> + <string>Objective C++</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QComboBox" name="objcppChooser"/> + </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>151</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> |