Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quizzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tfrisinger2
Quizzer
Commits
cc79deed
Commit
cc79deed
authored
1 year ago
by
[mmudhafar2]
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/main' into main
parents
1bce805b
2c0d29d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.py
+3
-0
3 additions, 0 deletions
main.py
quizzer.kv
+5
-0
5 additions, 0 deletions
quizzer.kv
with
8 additions
and
0 deletions
main.py
+
3
−
0
View file @
cc79deed
...
...
@@ -5,6 +5,7 @@ from kivy.clock import Clock
from
kivy.properties
import
BooleanProperty
,
ListProperty
from
kivy.modules
import
inspector
from
kivy.core.window
import
Window
from
kivy.properties
import
NumericProperty
...
...
@@ -76,6 +77,8 @@ class QuizzerApp(App):
paused
=
BooleanProperty
(
False
)
correct
=
BooleanProperty
(
False
)
score
=
NumericProperty
(
0
)
def
build
(
self
):
inspector
.
create_inspector
(
Window
,
self
)
...
...
This diff is collapsed.
Click to expand it.
quizzer.kv
+
5
−
0
View file @
cc79deed
...
...
@@ -77,6 +77,11 @@ ScreenManager:
on_press:
root.transition.direction = 'right'
root.current = 'settings'
# Widget:
Label:
valign: 'top'
text: f'current score is {app.score}'
Label:
valign: 'top'
text: 'Score: 100'
...
...
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