forked from qt-creator/qt-creator
ClangFormat: Fix UI issues
- 'Default' values remain so after save/load - the language is fixed to C++ - the project settings are shown correctly - fix parsing configuration file - do not trigger slots when we fill the table Change-Id: I91b477721b5084803324cd38d0cfeb9d5650dd9f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -38,7 +38,7 @@ def full_ui_content(checks):
|
||||
<widget class="QWidget" name="ClangFormat::ClangFormatChecksWidget">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<width>480</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -199,6 +199,11 @@ def createItem(key, value, index):
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
'''
|
||||
if key == 'Language':
|
||||
value_item += ''' <property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
'''
|
||||
if index > 0:
|
||||
value_item += ''' <item>
|
||||
|
Reference in New Issue
Block a user