2009-07-02 13:12:22 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Settings</class>
<widget class="QDialog" name="Settings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2022-10-22 20:27:24 +02:00
<width>627</width>
<height>411</height>
2009-07-02 13:12:22 +02:00
</rect>
</property>
<property name="windowTitle">
2009-08-01 17:28:21 +02:00
<string>Preferences</string>
2009-07-02 13:12:22 +02:00
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
2011-04-16 17:42:32 +02:00
<number>0</number>
2009-07-02 13:12:22 +02:00
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>General</string>
</attribute>
2010-11-26 21:35:45 +01:00
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
2010-12-26 19:18:49 +01:00
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
2010-08-29 08:38:03 +02:00
<item>
2010-11-26 21:35:45 +01:00
<widget class="QLabel" name="label">
2010-12-26 19:18:49 +01:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2010-08-29 08:38:03 +02:00
<property name="text">
2010-11-26 21:35:45 +01:00
<string>Number of threads: </string>
</property>
<property name="buddy">
<cstring>mJobs</cstring>
2010-08-29 08:38:03 +02:00
</property>
</widget>
</item>
2009-07-02 13:12:22 +02:00
<item>
2010-11-26 21:35:45 +01:00
<widget class="QLineEdit" name="mJobs">
<property name="sizePolicy">
2010-12-26 19:18:49 +01:00
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
2010-11-26 21:35:45 +01:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2009-07-02 13:12:22 +02:00
</property>
2010-12-26 19:18:49 +01:00
<property name="minimumSize">
<size>
<width>100</width>
<height>20</height>
</size>
</property>
<property name="baseSize">
<size>
<width>100</width>
<height>20</height>
</size>
</property>
<property name="inputMask">
2017-08-14 00:23:21 +02:00
<string notr="true">009</string>
2010-12-26 19:18:49 +01:00
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="maxLength">
<number>3</number>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
2010-11-26 21:35:45 +01:00
</widget>
2009-07-02 13:12:22 +02:00
</item>
2010-12-27 17:00:44 +01:00
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Ideal count:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="mLblIdealThreads">
<property name="text">
2012-10-14 16:14:47 +02:00
<string notr="true">TextLabel</string>
2010-12-27 17:00:44 +01:00
</property>
</widget>
</item>
2010-12-26 19:18:49 +01:00
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2009-07-02 13:12:22 +02:00
</layout>
</item>
2010-11-26 21:35:45 +01:00
<item>
<widget class="QCheckBox" name="mForce">
<property name="text">
2011-01-31 10:16:32 +01:00
<string>Force checking all #ifdef configurations</string>
2010-11-26 21:35:45 +01:00
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="mShowFullPath">
<property name="text">
<string>Show full path of files</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="mShowNoErrorsMessage">
<property name="text">
<string>Show "No errors found" message when no errors found</string>
</property>
</widget>
</item>
2012-10-27 11:16:52 +02:00
<item>
<widget class="QCheckBox" name="mShowErrorId">
<property name="text">
<string>Display error Id in column "Id"</string>
</property>
</widget>
</item>
2010-12-26 17:29:43 +01:00
<item>
<widget class="QCheckBox" name="mInlineSuppressions">
<property name="text">
<string>Enable inline suppressions</string>
</property>
</widget>
</item>
2015-10-15 11:59:17 +02:00
<item>
<widget class="QCheckBox" name="mEnableInconclusive">
<property name="text">
<string>Check for inconclusive errors also</string>
</property>
</widget>
</item>
2016-01-16 17:43:57 +01:00
<item>
<widget class="QCheckBox" name="mShowStatistics">
<property name="text">
<string>Show statistics on check completion</string>
</property>
</widget>
</item>
2022-10-22 20:27:24 +02:00
<item>
<widget class="QCheckBox" name="mCheckForUpdates">
<property name="text">
<string>Check for updates</string>
</property>
</widget>
</item>
2010-11-26 21:35:45 +01:00
<item>
<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>
2015-10-15 11:59:17 +02:00
<item>
<widget class="QCheckBox" name="mShowDebugWarnings">
<property name="text">
<string>Show internal warnings in log</string>
</property>
</widget>
</item>
2009-07-02 13:12:22 +02:00
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Applications</string>
</attribute>
2012-12-06 19:00:38 +01:00
<layout class="QHBoxLayout" name="horizontalLayout_3">
2009-07-02 13:12:22 +02:00
<item>
2012-12-06 19:00:38 +01:00
<widget class="QListWidget" name="mListWidget"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
2011-02-25 08:43:07 +01:00
<item>
2012-12-06 19:00:38 +01:00
<widget class="QPushButton" name="mBtnAddApplication">
<property name="text">
<string>Add...</string>
</property>
</widget>
2011-02-25 08:43:07 +01:00
</item>
<item>
2012-12-06 19:00:38 +01:00
<widget class="QPushButton" name="mBtnEditApplication">
<property name="text">
<string>Edit...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mBtnRemoveApplication">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mBtnDefaultApplication">
<property name="text">
<string>Set as default</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
2011-02-25 08:43:07 +01:00
</item>
</layout>
2009-07-02 13:12:22 +02:00
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Reports</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
2009-07-02 18:14:12 +02:00
<widget class="QCheckBox" name="mSaveAllErrors">
2009-07-02 13:12:22 +02:00
<property name="text">
<string>Save all errors when creating report</string>
</property>
</widget>
</item>
<item>
2009-07-02 18:14:12 +02:00
<widget class="QCheckBox" name="mSaveFullPath">
2009-07-02 13:12:22 +02:00
<property name="text">
<string>Save full path to files in reports</string>
</property>
</widget>
</item>
<item>
<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>
</layout>
</widget>
2011-01-09 23:21:51 +01:00
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Language</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QListWidget" name="mListLanguages">
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
</item>
</layout>
</widget>
2017-08-14 00:23:21 +02:00
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Addons</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Python binary (leave this empty to use python in the PATH)</string>
</property>
2020-09-12 10:35:00 +02:00
<layout class="QVBoxLayout" name="verticalLayout_13">
2022-10-22 20:27:24 +02:00
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="mEditPythonPath"/>
</item>
<item>
<widget class="QPushButton" name="mBtnBrowsePythonPath">
2020-09-12 10:35:00 +02:00
<property name="text">
2022-10-22 20:27:24 +02:00
<string>...</string>
2020-09-12 10:35:00 +02:00
</property>
</widget>
2022-10-22 20:27:24 +02:00
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="mPythonPathWarning">
<property name="text">
<string/>
</property>
</widget>
</item>
2017-08-14 00:23:21 +02:00
</layout>
</widget>
</item>
2018-01-20 14:13:09 +01:00
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
2021-06-09 11:20:51 +02:00
<string>MISRA addon</string>
2018-01-20 14:13:09 +01:00
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
2021-06-09 11:20:51 +02:00
<string>MISRA rule texts file</string>
2018-01-20 14:13:09 +01:00
</property>
</widget>
</item>
<item>
2018-03-24 13:28:40 +01:00
<widget class="QLineEdit" name="mEditMisraFile">
<property name="toolTip">
<string><html><head/><body><p>Copy/paste the text from Appendix A &quot;Summary of guidelines&quot; from the MISRA C 2012 pdf to a text file.</p></body></html></string>
</property>
</widget>
2018-01-20 14:13:09 +01:00
</item>
<item>
<widget class="QPushButton" name="mBtnBrowseMisraFile">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
2017-08-14 00:23:21 +02:00
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>168</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
2017-08-10 15:47:20 +02:00
<widget class="QWidget" name="mTabClang">
<attribute name="title">
<string>Clang</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
2017-08-12 12:04:42 +02:00
<widget class="QGroupBox" name="groupBox">
<property name="title">
2017-08-11 23:40:37 +02:00
<string>Clang path (leave empty to use system PATH)</string>
2017-08-10 15:47:20 +02:00
</property>
2017-08-12 12:04:42 +02:00
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLineEdit" name="mEditClangPath">
<property name="readOnly">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mBtnBrowseClangPath">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
2017-08-10 15:47:20 +02:00
</widget>
</item>
<item>
2017-08-12 12:04:42 +02:00
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
2017-08-13 17:13:24 +02:00
<string>Visual Studio headers</string>
2017-08-10 15:47:20 +02:00
</property>
2017-08-12 12:04:42 +02:00
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QLabel" name="mLabelVsIncludePaths">
<property name="text">
2017-08-13 17:13:24 +02:00
<string><html><head/><body><p>Paths to Visual Studio headers, separated by semicolon ';'.</p><p>You can open a Visual Studio command prompt, write &quot;SET INCLUDE&quot;. Then copy/paste the paths.</p></body></html></string>
2017-08-12 12:04:42 +02:00
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
2017-08-13 17:13:24 +02:00
<widget class="QLineEdit" name="mEditVsIncludePaths"/>
2017-08-12 12:04:42 +02:00
</item>
</layout>
2017-08-10 15:47:20 +02:00
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
2019-08-18 21:11:46 +02:00
<widget class="QWidget" name="mTabEditorStyle">
2019-06-23 19:04:53 +02:00
<attribute name="title">
2019-08-18 21:11:46 +02:00
<string>Code Editor</string>
2019-06-23 19:04:53 +02:00
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QGroupBox" name="gboxEditorStyle">
<property name="title">
2019-08-18 21:11:46 +02:00
<string>Code Editor Style</string>
2019-06-23 19:04:53 +02:00
</property>
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
2019-07-22 15:55:36 +02:00
<widget class="QRadioButton" name="mThemeSystem">
<property name="text">
<string>System Style</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="mThemeLight">
2019-06-23 19:04:53 +02:00
<property name="text">
<string>Default Light Style</string>
</property>
</widget>
</item>
<item>
2019-07-22 15:55:36 +02:00
<widget class="QRadioButton" name="mThemeDark">
2019-06-23 19:04:53 +02:00
<property name="text">
<string>Default Dark Style</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hlEditCustom">
<item>
2019-07-22 15:55:36 +02:00
<widget class="QRadioButton" name="mThemeCustom">
2019-06-23 19:04:53 +02:00
<property name="text">
<string>Custom</string>
</property>
</widget>
</item>
<item>
2019-07-22 15:55:36 +02:00
<widget class="QPushButton" name="mBtnEditTheme">
2019-06-23 19:04:53 +02:00
<property name="text">
<string>Edit...</string>
</property>
</widget>
</item>
<item>
<spacer name="hspaceCustom">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="vspaceEditorStyle">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
2009-07-02 13:12:22 +02:00
</widget>
</item>
<item>
2009-07-02 18:14:12 +02:00
<widget class="QDialogButtonBox" name="mButtons">
2009-07-02 13:12:22 +02:00
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
2010-08-29 08:38:03 +02:00
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>mJobs</tabstop>
<tabstop>mForce</tabstop>
<tabstop>mShowFullPath</tabstop>
<tabstop>mShowNoErrorsMessage</tabstop>
2011-04-16 17:42:32 +02:00
<tabstop>mInlineSuppressions</tabstop>
2010-08-29 08:38:03 +02:00
<tabstop>mListWidget</tabstop>
2011-02-25 08:43:07 +01:00
<tabstop>mBtnAddApplication</tabstop>
<tabstop>mBtnEditApplication</tabstop>
2011-04-16 17:42:32 +02:00
<tabstop>mBtnRemoveApplication</tabstop>
2011-02-25 08:43:07 +01:00
<tabstop>mBtnDefaultApplication</tabstop>
2010-08-29 08:38:03 +02:00
<tabstop>mSaveAllErrors</tabstop>
<tabstop>mSaveFullPath</tabstop>
2011-04-16 17:42:32 +02:00
<tabstop>mListLanguages</tabstop>
<tabstop>mEnableInconclusive</tabstop>
2016-01-16 17:43:57 +01:00
<tabstop>mShowStatistics</tabstop>
2011-04-16 17:55:53 +02:00
<tabstop>mShowDebugWarnings</tabstop>
2010-08-29 08:38:03 +02:00
<tabstop>mButtons</tabstop>
</tabstops>
2009-07-02 13:12:22 +02:00
<resources/>
<connections>
<connection>
2009-07-02 18:14:12 +02:00
<sender>mButtons</sender>
2009-07-02 13:12:22 +02:00
<signal>accepted()</signal>
<receiver>Settings</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
2019-06-23 19:04:53 +02:00
<x>257</x>
<y>336</y>
2009-07-02 13:12:22 +02:00
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
2009-07-02 18:14:12 +02:00
<sender>mButtons</sender>
2009-07-02 13:12:22 +02:00
<signal>rejected()</signal>
<receiver>Settings</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
2019-06-23 19:04:53 +02:00
<x>325</x>
<y>336</y>
2009-07-02 13:12:22 +02:00
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>