We have now one list for checked platforms, menu items are created dynamically based on that list. This makes it much easier to alter the platforms list later on.
619 lines
17 KiB
XML
619 lines
17 KiB
XML
<?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>25</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="mMenuFile">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="mActionOpenXML"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionNewProjectFile"/>
|
|
<addaction name="mActionOpenProjectFile"/>
|
|
<addaction name="mActionEditProjectFile"/>
|
|
<addaction name="mActionCloseProjectFile"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionProjectMRU"/>
|
|
<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"/>
|
|
<addaction name="mActionToolBarFilter"/>
|
|
</widget>
|
|
<addaction name="mMenuToolbars"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionShowErrors"/>
|
|
<addaction name="mActionShowWarnings"/>
|
|
<addaction name="mActionShowStyle"/>
|
|
<addaction name="mActionShowPortability"/>
|
|
<addaction name="mActionShowPerformance"/>
|
|
<addaction name="mActionShowInformation"/>
|
|
<addaction name="mActionCheckAll"/>
|
|
<addaction name="mActionUncheckAll"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionCollapseAll"/>
|
|
<addaction name="mActionExpandAll"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionShowHidden"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionViewLog"/>
|
|
<addaction name="mActionViewStats"/>
|
|
</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"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="mActionPlatforms"/>
|
|
</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="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="mActionOpenProjectFile"/>
|
|
<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="mActionShowWarnings"/>
|
|
<addaction name="mActionShowStyle"/>
|
|
<addaction name="mActionShowPortability"/>
|
|
<addaction name="mActionShowPerformance"/>
|
|
<addaction name="mActionShowInformation"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="mToolBarFilter">
|
|
<property name="windowTitle">
|
|
<string>Filter</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</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="iconText">
|
|
<string>Check files</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Check 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="iconText">
|
|
<string>Check directory</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Check 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="iconText">
|
|
<string>Stop checking</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Stop checking</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/applications-development.png</normaloff>:/images/applications-development.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Style warnings</string>
|
|
</property>
|
|
<property name="iconText">
|
|
<string>Show style warnings</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show style warnings</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>Errors</string>
|
|
</property>
|
|
<property name="iconText">
|
|
<string>Show errors</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show 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="mActionOpenXML">
|
|
<property name="text">
|
|
<string>&Open XML...</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionOpenProjectFile">
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/openproject.png</normaloff>:/images/openproject.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open P&roject File...</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionNewProjectFile">
|
|
<property name="text">
|
|
<string>&New Project File...</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionViewLog">
|
|
<property name="text">
|
|
<string>&Log View</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Log View</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionCloseProjectFile">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>C&lose Project File</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionEditProjectFile">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Edit Project File...</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionViewStats">
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/text-x-generic.png</normaloff>:/images/text-x-generic.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Statistics</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionShowWarnings">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/showwarnings.png</normaloff>:/images/showwarnings.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Warnings</string>
|
|
</property>
|
|
<property name="iconText">
|
|
<string>Show warnings</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show warnings</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionShowPerformance">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/showperformance.png</normaloff>:/images/showperformance.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Performance warnings</string>
|
|
</property>
|
|
<property name="iconText">
|
|
<string>Show performance warnings</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show performance warnings</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionShowHidden">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show &hidden</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionShowInformation">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/dialog-information.png</normaloff>:/images/dialog-information.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Information</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show information messages</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionShowPortability">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="gui.qrc">
|
|
<normaloff>:/images/applications-system.png</normaloff>:/images/applications-system.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Portability</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Show portability warnings</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionToolBarFilter">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Filter</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter results</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionProjectMRU">
|
|
<property name="text">
|
|
<string>Project MRU placeholder</string>
|
|
</property>
|
|
<property name="visible">
|
|
<bool>true</bool>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatformWin32ANSI">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Windows 32-bit ANSI</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatformWin32Unicode">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Windows 32-bit Unicode</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatformUnix32Bit">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Unix 32-bit</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatformUnix64Bit">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Unix 64-bit</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatformWin64">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Windows 64-bit</string>
|
|
</property>
|
|
</action>
|
|
<action name="mActionPlatforms">
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Platforms</string>
|
|
</property>
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</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>
|