Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Application 2048
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Delplanque Sara
Application 2048
Commits
99e7d665
Commit
99e7d665
authored
2 months ago
by
Breitwiller Josephine
Browse files
Options
Downloads
Patches
Plain Diff
popup
parent
b55b753e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
applicationQT2048/CMakeLists.txt
+1
-0
1 addition, 0 deletions
applicationQT2048/CMakeLists.txt
applicationQT2048/popupDialogue.qml
+24
-0
24 additions, 0 deletions
applicationQT2048/popupDialogue.qml
with
25 additions
and
0 deletions
applicationQT2048/CMakeLists.txt
+
1
−
0
View file @
99e7d665
...
@@ -21,6 +21,7 @@ qt_add_qml_module(appapplicationQT2048
...
@@ -21,6 +21,7 @@ qt_add_qml_module(appapplicationQT2048
SOURCES gamemanager.h gamemanager.cpp
SOURCES gamemanager.h gamemanager.cpp
SOURCES gamemanager.h gamemanager.cpp
SOURCES gamemanager.h gamemanager.cpp
QML_FILES Main.qml
QML_FILES Main.qml
QML_FILES popupDialogue.qml
)
)
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
...
...
This diff is collapsed.
Click to expand it.
applicationQT2048/popupDialogue.qml
0 → 100644
+
24
−
0
View file @
99e7d665
import
QtQuick
import
QtQuick
.
Controls
import
QtQuick
.
Dialogs
Dialog
{
id
:
partieNameDialogue
title
:
"
Pour enregistrer la partie précédente entrez un nom pour la partie. Si vous ne souhaitez pas enregistrer cette partie appuyer sur Cancel.
"
modal
:
true
standardButtons
:
Dialog
.
Ok
|
Dialog
.
Cancel
Column
{
spacing
:
10
width
:
parent
.
width
TextField
{
id
:
textInput
width
:
parent
.
width
placeholderText
:
"
Ex: Partie 1
"
}
}
onAccepted
:
{
gameManager
.
recupererNomPartie
(
textInput
.
text
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment