GUI: Renamed ui elements

This commit is contained in:
Daniel Marjamäki 2016-11-19 21:38:05 +01:00
parent 2b767d3f6f
commit 7c046e541b
2 changed files with 28 additions and 28 deletions

View File

@ -19,15 +19,15 @@
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="tab"> <widget class="QWidget" name="tabProject">
<attribute name="title"> <attribute name="title">
<string>Project</string> <string>Project</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_12"> <layout class="QVBoxLayout" name="verticalLayout_12">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QHBoxLayout" name="layoutProjectRoot">
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="labelProjectRoot">
<property name="text"> <property name="text">
<string>Root:</string> <string>Root:</string>
</property> </property>
@ -42,7 +42,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_9"> <layout class="QHBoxLayout" name="layoutBuildDir">
<item> <item>
<widget class="QLabel" name="buildDirLabel"> <widget class="QLabel" name="buildDirLabel">
<property name="text"> <property name="text">
@ -76,9 +76,9 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="librariesLayout"> <layout class="QHBoxLayout" name="layoutLibraries">
<item> <item>
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="labelLibraries">
<property name="text"> <property name="text">
<string>Libraries:</string> <string>Libraries:</string>
</property> </property>
@ -87,7 +87,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_8"> <widget class="QLabel" name="labelLibrariesNote">
<property name="text"> <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> <string>Note: Put your own custom .cfg files in the same folder as the project file. You should see them above.</string>
</property> </property>
@ -111,13 +111,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_2"> <widget class="QWidget" name="tabVisualStudio">
<attribute name="title"> <attribute name="title">
<string>Visual Studio</string> <string>Visual Studio</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QLabel" name="label_9"> <widget class="QLabel" name="labelVisualStudio">
<property name="text"> <property name="text">
<string>Visual Studio <string>Visual Studio
@ -130,7 +130,7 @@ Library settings are not imported.</string>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_7"> <layout class="QHBoxLayout" name="layoutVisualStudio">
<item> <item>
<widget class="QLineEdit" name="mEditVisualStudio"/> <widget class="QLineEdit" name="mEditVisualStudio"/>
</item> </item>
@ -158,13 +158,13 @@ Library settings are not imported.</string>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_5"> <widget class="QWidget" name="tabCMake">
<attribute name="title"> <attribute name="title">
<string>CMake</string> <string>CMake</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<widget class="QLabel" name="label_11"> <widget class="QLabel" name="labelCMake">
<property name="text"> <property name="text">
<string>Compile database <string>Compile database
@ -177,7 +177,7 @@ Library settings are not provided in compile database, be careful about this con
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QHBoxLayout" name="layoutCMake">
<item> <item>
<widget class="QLineEdit" name="mEditCompileDatabase"/> <widget class="QLineEdit" name="mEditCompileDatabase"/>
</item> </item>
@ -205,13 +205,13 @@ Library settings are not provided in compile database, be careful about this con
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_6"> <widget class="QWidget" name="tabOther">
<attribute name="title"> <attribute name="title">
<string>Other</string> <string>Other</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_10"> <layout class="QVBoxLayout" name="verticalLayout_10">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="layoutCheckPaths">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item> <item>
@ -240,7 +240,7 @@ Library settings are not provided in compile database, be careful about this con
<widget class="QListWidget" name="mListPaths"/> <widget class="QListWidget" name="mListPaths"/>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="layoutCheckPathsButtons">
<item> <item>
<widget class="QPushButton" name="mBtnAddPath"> <widget class="QPushButton" name="mBtnAddPath">
<property name="text"> <property name="text">
@ -280,9 +280,9 @@ Library settings are not provided in compile database, be careful about this con
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="layoutDefines">
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="labelDefines">
<property name="text"> <property name="text">
<string>Defines:</string> <string>Defines:</string>
</property> </property>
@ -301,7 +301,7 @@ Library settings are not provided in compile database, be careful about this con
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="layoutIncludePaths">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_11"> <layout class="QVBoxLayout" name="verticalLayout_11">
<item> <item>
@ -334,7 +334,7 @@ Library settings are not provided in compile database, be careful about this con
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="layoutIncludePathsButtons">
<item> <item>
<widget class="QPushButton" name="mBtnAddInclude"> <widget class="QPushButton" name="mBtnAddInclude">
<property name="text"> <property name="text">
@ -402,25 +402,25 @@ Library settings are not provided in compile database, be careful about this con
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_3"> <widget class="QWidget" name="tabExclude">
<attribute name="title"> <attribute name="title">
<string>Exclude</string> <string>Exclude</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="labelExcludePaths">
<property name="text"> <property name="text">
<string>Paths:</string> <string>Paths:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <layout class="QHBoxLayout" name="layoutExcludePaths">
<item> <item>
<widget class="QListWidget" name="mListExcludedPaths"/> <widget class="QListWidget" name="mListExcludedPaths"/>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" name="layoutExcludePathButtons">
<item> <item>
<widget class="QPushButton" name="mBtnAddIgnorePath"> <widget class="QPushButton" name="mBtnAddIgnorePath">
<property name="text"> <property name="text">
@ -461,13 +461,13 @@ Library settings are not provided in compile database, be careful about this con
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_4"> <widget class="QWidget" name="tabSuppressions">
<attribute name="title"> <attribute name="title">
<string>Suppressions</string> <string>Suppressions</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
<item> <item>
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="labelSuppressions">
<property name="text"> <property name="text">
<string>Suppression list:</string> <string>Suppression list:</string>
</property> </property>
@ -477,7 +477,7 @@ Library settings are not provided in compile database, be careful about this con
<widget class="QListWidget" name="mListSuppressions"/> <widget class="QListWidget" name="mListSuppressions"/>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QHBoxLayout" name="layoutSuppressionButtons">
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">

View File

@ -78,7 +78,7 @@ ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent)
foreach (const QString library, libs) { foreach (const QString library, libs) {
QCheckBox *checkbox = new QCheckBox(this); QCheckBox *checkbox = new QCheckBox(this);
checkbox->setText(library); checkbox->setText(library);
mUI.librariesLayout->addWidget(checkbox); mUI.layoutLibraries->addWidget(checkbox);
mLibraryCheckboxes << checkbox; mLibraryCheckboxes << checkbox;
} }