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
Romain De Laage De Bellefaye
LO21-projet
Commits
574e6fa0
Commit
574e6fa0
authored
Jun 12, 2021
by
Luning Yang
Browse files
bouton valide état
parent
f500b75a
Pipeline
#79747
passed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/paramalpha.cpp
View file @
574e6fa0
...
...
@@ -2,7 +2,7 @@
#include
<Automate.h>
#include
<parametragemodele.h>
ParamAlpha
::
ParamAlpha
(
const
int
nbEtats
)
:
QWidget
(),
nb
(
nbEtats
)
{
ParamAlpha
::
ParamAlpha
(
const
int
nbEtats
,
const
QWidget
*
parent
)
:
QWidget
(),
nb
(
nbEtats
)
{
this
->
setWindowTitle
(
"Configuration des états"
);
this
->
setMinimumSize
(
900
,
700
);
...
...
@@ -28,7 +28,7 @@ ParamAlpha::ParamAlpha(const int nbEtats): QWidget(), nb(nbEtats) {
form
[
i
]
->
addRow
(
"Vert:"
,
green
[
i
]);
form
[
i
]
->
addRow
(
"Bleu:"
,
blue
[
i
]);
}
connect
(
valider
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
changerRegle
()));
connect
(
valider
,
SIGNAL
(
clicked
()),
parent
,
SLOT
(
changerRegle
()));
connect
(
valider
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
valide
()));
...
...
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