2010-07-08 17:59:06 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>640</width>
|
|
|
|
<height>480</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>640</width>
|
|
|
|
<height>480</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Cppcheck</string>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>22</width>
|
|
|
|
<height>22</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="mCentral">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="ResultsView" name="mResults" native="true"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="mMenuBar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>640</width>
|
|
|
|
<height>21</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="mMenuFile">
|
|
|
|
<property name="title">
|
|
|
|
<string>&File</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="mActionNewProjectFile"/>
|
|
|
|
<addaction name="mActionOpenProjectFile"/>
|
|
|
|
<addaction name="mActionSave"/>
|
|
|
|
<addaction name="mActionQuit"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="mMenuView">
|
|
|
|
<property name="title">
|
|
|
|
<string>&View</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="mMenuToolbars">
|
|
|
|
<property name="title">
|
|
|
|
<string>&Toolbars</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="mActionToolBarMain"/>
|
|
|
|
<addaction name="mActionToolBarView"/>
|
|
|
|
</widget>
|
|
|
|
<addaction name="mMenuToolbars"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="mActionShowStyle"/>
|
|
|
|
<addaction name="mActionShowErrors"/>
|
|
|
|
<addaction name="mActionCheckAll"/>
|
|
|
|
<addaction name="mActionUncheckAll"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="mActionCollapseAll"/>
|
|
|
|
<addaction name="mActionExpandAll"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="mMenuLanguage">
|
|
|
|
<property name="title">
|
|
|
|
<string>&Language</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="mMenuHelp">
|
|
|
|
<property name="title">
|
|
|
|
<string>&Help</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="mActionHelpContents"/>
|
|
|
|
<addaction name="mActionLicense"/>
|
|
|
|
<addaction name="mActionAuthors"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="mActionAbout"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="mMenuCheck">
|
|
|
|
<property name="title">
|
|
|
|
<string>&Check</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="mActionCheckFiles"/>
|
|
|
|
<addaction name="mActionCheckDirectory"/>
|
|
|
|
<addaction name="mActionRecheck"/>
|
|
|
|
<addaction name="mActionStop"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="mMenuEdit">
|
|
|
|
<property name="title">
|
|
|
|
<string>&Edit</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="mActionClearResults"/>
|
|
|
|
<addaction name="mActionSettings"/>
|
|
|
|
</widget>
|
|
|
|
<addaction name="mMenuFile"/>
|
|
|
|
<addaction name="mMenuEdit"/>
|
|
|
|
<addaction name="mMenuView"/>
|
|
|
|
<addaction name="mMenuCheck"/>
|
|
|
|
<addaction name="mMenuLanguage"/>
|
|
|
|
<addaction name="mMenuHelp"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QToolBar" name="mToolBarMain">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Standard</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="mActionCheckDirectory"/>
|
|
|
|
<addaction name="mActionSave"/>
|
|
|
|
<addaction name="mActionRecheck"/>
|
|
|
|
<addaction name="mActionStop"/>
|
|
|
|
<addaction name="mActionClearResults"/>
|
|
|
|
<addaction name="mActionSettings"/>
|
|
|
|
<addaction name="mActionAbout"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QToolBar" name="mToolBarView">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Categories</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="mActionShowErrors"/>
|
|
|
|
<addaction name="mActionShowStyle"/>
|
|
|
|
</widget>
|
|
|
|
<action name="mActionLicense">
|
|
|
|
<property name="text">
|
|
|
|
<string>&License...</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionAuthors">
|
|
|
|
<property name="text">
|
|
|
|
<string>A&uthors...</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionAbout">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/help-browser.png</normaloff>:/images/help-browser.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&About...</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionCheckFiles">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Files...</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+F</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionCheckDirectory">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Directory...</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+D</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionRecheck">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/view-refresh.png</normaloff>:/images/view-refresh.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Recheck files</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+R</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionStop">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/process-stop.png</normaloff>:/images/process-stop.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Stop</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Esc</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionSave">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/media-floppy.png</normaloff>:/images/media-floppy.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Save results to file...</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+S</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionQuit">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Quit</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionClearResults">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/edit-clear.png</normaloff>:/images/edit-clear.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Clear results</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionSettings">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/preferences-system.png</normaloff>:/images/preferences-system.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Preferences</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionShowStyle">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/showstylewarnings.png</normaloff>:/images/showstylewarnings.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Show style errors</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionShowErrors">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="gui.qrc">
|
|
|
|
<normaloff>:/images/showerrors.png</normaloff>:/images/showerrors.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Show common errors</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionCheckAll">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Check all</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionUncheckAll">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Uncheck all</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionCollapseAll">
|
|
|
|
<property name="text">
|
|
|
|
<string>Collapse &all</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionExpandAll">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Expand all</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionToolBarMain">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Standard</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Standard items</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionHelpContents">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Contents</string>
|
|
|
|
</property>
|
|
|
|
<property name="statusTip">
|
|
|
|
<string>Open the help contents</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>F1</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionToolbar">
|
|
|
|
<property name="text">
|
|
|
|
<string>Toolbar</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionToolBarView">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Categories</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Error categories</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionOpenProjectFile">
|
|
|
|
<property name="text">
|
|
|
|
<string>Open P&roject File...</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="mActionNewProjectFile">
|
|
|
|
<property name="text">
|
|
|
|
<string>&New Project File...</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ResultsView</class>
|
|
|
|
<extends>QWidget</extends>
|
|
|
|
<header>resultsview.h</header>
|
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources>
|
|
|
|
<include location="gui.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|