Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
448c013a
Commit
448c013a
authored
May 29, 2021
by
Yann Boucher
Browse files
Ajout d'un message à propos pour Cellulut et pour Qt
parent
5acb8ed1
Pipeline
#78778
passed with stages
in 17 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
forms/interface.ui
View file @
448c013a
...
...
@@ -624,6 +624,8 @@ pattern recorded :</string>
<property
name=
"title"
>
<string>
À propos
</string>
</property>
<addaction
name=
"action_propos_de_Cellulut"
/>
<addaction
name=
"action_propos_de_Qt"
/>
</widget>
<addaction
name=
"menuFichier"
/>
<addaction
name=
"menuEditer"
/>
...
...
@@ -638,6 +640,16 @@ pattern recorded :</string>
<string>
Ctrl+Shift+S
</string>
</property>
</action>
<action
name=
"action_propos_de_Cellulut"
>
<property
name=
"text"
>
<string>
À propos de Cellulut
</string>
</property>
</action>
<action
name=
"action_propos_de_Qt"
>
<property
name=
"text"
>
<string>
À propos de Qt
</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
...
...
src/interface.cpp
View file @
448c013a
...
...
@@ -33,6 +33,16 @@ MainWindow::MainWindow(QWidget *parent)
connect
(
ui
->
grid_view
,
&
GridView
::
zoom_changed
,
ui
->
struct_library
,
&
StructureLibraryView
::
update_cell_pixel_size
);
connect
(
ui
->
transition_list
,
QOverload
<
int
>::
of
(
&
QComboBox
::
currentIndexChanged
),
this
,
[
this
](
int
)
{
update_transition_settings
();
});
connect
(
ui
->
action_propos_de_Cellulut
,
&
QAction
::
triggered
,
this
,
[
this
](
bool
)
{
QMessageBox
::
about
(
this
,
"À propos de Cellulut"
,
"Projet de C++ réalisé dans le cadre de l'UV LO21 de l'UTC.
\n\n
"
"Contributeurs : Anthony Noir, Eugène Pin, Merwane Bouri, Arthur Detree, Yann Boucher"
);
});
connect
(
ui
->
action_propos_de_Qt
,
&
QAction
::
triggered
,
this
,
[
this
](
bool
)
{
QMessageBox
::
aboutQt
(
this
,
"À propos de Qt"
);
});
ui
->
struct_library
->
update_cell_pixel_size
(
ui
->
grid_view
->
cell_pixel_size
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment