570 lines
16 KiB
XML
570 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ProjectFile</class>
|
|
<widget class="QDialog" name="ProjectFile">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>635</width>
|
|
<height>368</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Project File</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="mTabProject">
|
|
<attribute name="title">
|
|
<string>Project</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutProjectRoot">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelProjectRoot">
|
|
<property name="text">
|
|
<string>Root:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>mEditProjectRoot</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="mEditProjectRoot"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutBuildDir">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelBuildDir">
|
|
<property name="text">
|
|
<string>Cppcheck build dir (optional)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="mEditBuildDir"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnBrowseBuildDir">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_10">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>97</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutLibraries">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelLibraries">
|
|
<property name="text">
|
|
<string>Libraries:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="mLabelLibrariesNote">
|
|
<property name="text">
|
|
<string>Note: Put your own custom .cfg files in the same folder as the project file. You should see them above.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_9">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="mTabVisualStudio">
|
|
<attribute name="title">
|
|
<string>Visual Studio</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelVisualStudio">
|
|
<property name="text">
|
|
<string>Visual Studio
|
|
|
|
Cppcheck can import visual studio solutions and projects.
|
|
|
|
Files to check, include paths, configurations, defines, platform settings are imported.
|
|
|
|
Library settings are not imported.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutVisualStudio">
|
|
<item>
|
|
<widget class="QLineEdit" name="mEditVisualStudio"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnBrowseVisualStudio">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>149</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="mTabCMake">
|
|
<attribute name="title">
|
|
<string>CMake</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelCMake">
|
|
<property name="text">
|
|
<string>Compile database
|
|
|
|
Cppcheck can import files to analyse, include paths, defines from the compile database.
|
|
|
|
Platform settings are not provided in compile database and must be configured.
|
|
|
|
Library settings are not provided in compile database, be careful about this configuration also.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutCMake">
|
|
<item>
|
|
<widget class="QLineEdit" name="mEditCompileDatabase"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnBrowseCompileDatabase">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>149</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="mTabOther">
|
|
<attribute name="title">
|
|
<string>Other</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutCheckPaths">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelCheckPaths">
|
|
<property name="text">
|
|
<string>Paths:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="mListCheckPaths"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="mLayoutCheckPathsButtons">
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnAddCheckPath">
|
|
<property name="text">
|
|
<string>Add...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnEditCheckPath">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnRemoveCheckPath">
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_3">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutDefines">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelDefines">
|
|
<property name="text">
|
|
<string>Defines:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>mEditDefines</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="mEditDefines">
|
|
<property name="toolTip">
|
|
<string>Defines must be separated by a semicolon ';'</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mLayoutIncludePaths">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
|
<item>
|
|
<widget class="QLabel" name="mLabelIncludePaths">
|
|
<property name="text">
|
|
<string>Include Paths:</string>
|
|
</property>
|
|
</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>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="mListIncludeDirs">
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="mLayoutIncludePathsButtons">
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnAddInclude">
|
|
<property name="text">
|
|
<string>Add...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnEditInclude">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnRemoveInclude">
|
|
<property name="text">
|
|
<string>Remove</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>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnIncludeUp">
|
|
<property name="text">
|
|
<string>Up</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnIncludeDown">
|
|
<property name="text">
|
|
<string>Down</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_8">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="mTabExclude">
|
|
<attribute name="title">
|
|
<string>Exclude</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
<item>
|
|
<widget class="QLabel" name="labelExcludePaths">
|
|
<property name="text">
|
|
<string>Paths:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="layoutExcludePaths">
|
|
<item>
|
|
<widget class="QListWidget" name="mListExcludedPaths"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="layoutExcludePathButtons">
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnAddIgnorePath">
|
|
<property name="text">
|
|
<string>Add...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnEditIgnorePath">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnRemoveIgnorePath">
|
|
<property name="text">
|
|
<string>Remove</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>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabSuppressions">
|
|
<attribute name="title">
|
|
<string>Suppressions</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="labelSuppressions">
|
|
<property name="text">
|
|
<string>Suppression list:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="mListSuppressions"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="layoutSuppressionButtons">
|
|
<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>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnAddSuppression">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="mBtnRemoveSuppression">
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="mButtons">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>mButtons</tabstop>
|
|
<tabstop>mEditProjectRoot</tabstop>
|
|
<tabstop>mListExcludedPaths</tabstop>
|
|
<tabstop>mBtnAddIgnorePath</tabstop>
|
|
<tabstop>mBtnEditIgnorePath</tabstop>
|
|
<tabstop>mBtnRemoveIgnorePath</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>mButtons</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ProjectFile</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>270</x>
|
|
<y>352</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>158</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mButtons</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>ProjectFile</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>338</x>
|
|
<y>352</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>158</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|