mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Add tab "annex project" to about qelectrotech dialog
The goal is to list annex project of QElectroTech.
This commit is contained in:
parent
d1974349e0
commit
5288cd8c8b
@ -38,6 +38,7 @@ AboutQETDialog::AboutQETDialog(QWidget *parent) :
|
|||||||
setTranslators();
|
setTranslators();
|
||||||
setContributors();
|
setContributors();
|
||||||
setVersion();
|
setVersion();
|
||||||
|
setAnnexProject();
|
||||||
setLibraries();
|
setLibraries();
|
||||||
setLicence();
|
setLicence();
|
||||||
setLoginfo();
|
setLoginfo();
|
||||||
@ -155,6 +156,11 @@ void AboutQETDialog::setVersion()
|
|||||||
ui->m_version_label->setText(str + MachineInfo::instance()->compilation_info());
|
ui->m_version_label->setText(str + MachineInfo::instance()->compilation_info());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AboutQETDialog::setAnnexProject()
|
||||||
|
{
|
||||||
|
addLibrary(ui->m_annex_project_label, tr("redimensionneur d'éléments", "Element scaler"), "https://github.com/plc-user/QET_ElementScaler");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief AboutQETDialog::setLibraries
|
@brief AboutQETDialog::setLibraries
|
||||||
*/
|
*/
|
||||||
|
@ -44,6 +44,7 @@ class AboutQETDialog : public QDialog
|
|||||||
void setTranslators();
|
void setTranslators();
|
||||||
void setContributors();
|
void setContributors();
|
||||||
void setVersion();
|
void setVersion();
|
||||||
|
void setAnnexProject();
|
||||||
void setLibraries();
|
void setLibraries();
|
||||||
void setLicence();
|
void setLicence();
|
||||||
void setLoginfo();
|
void setLoginfo();
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>676</width>
|
<width>676</width>
|
||||||
<height>423</height>
|
<height>420</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
@ -159,7 +159,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>676</width>
|
<width>676</width>
|
||||||
<height>423</height>
|
<height>420</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
@ -242,7 +242,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>676</width>
|
<width>676</width>
|
||||||
<height>423</height>
|
<height>420</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
@ -343,6 +343,86 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QWidget" name="m_annex_project_tab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Projet annexe</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QScrollArea" name="scrollArea_5">
|
||||||
|
<property name="widgetResizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="scrollAreaWidgetContents_5">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>676</width>
|
||||||
|
<height>420</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_11">
|
||||||
|
<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="QLabel" name="m_annex_project_label">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="textFormat">
|
||||||
|
<enum>Qt::RichText</enum>
|
||||||
|
</property>
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_12">
|
||||||
|
<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>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
<widget class="QWidget" name="tab_7">
|
<widget class="QWidget" name="tab_7">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Bibliothèques</string>
|
<string>Bibliothèques</string>
|
||||||
@ -374,7 +454,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>676</width>
|
<width>676</width>
|
||||||
<height>423</height>
|
<height>420</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user