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
bmois2
Quizzer
Commits
9bc4c8ba
Commit
9bc4c8ba
authored
9 months ago
by
bmois2
Browse files
Options
Downloads
Patches
Plain Diff
Completed 7/21/24 at 3:30 PM
Should complete all tasks provided.
parent
b9e00800
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.py
+2
-0
2 additions, 0 deletions
main.py
quizzer.kv
+4
-0
4 additions, 0 deletions
quizzer.kv
with
6 additions
and
0 deletions
main.py
+
2
−
0
View file @
9bc4c8ba
...
...
@@ -6,6 +6,7 @@ from kivy.properties import BooleanProperty, ListProperty
from
kivy.modules
import
inspector
from
kivy.core.window
import
Window
from
kivy.properties
import
NumericProperty
from
kivy.uix.progressbar
import
ProgressBar
GUI_QUESTIONS
=
[
...
...
@@ -79,6 +80,7 @@ class QuizzerApp(App):
score
=
NumericProperty
(
0
)
#score
total
=
NumericProperty
(
0
)
#total questions
def
build
(
self
):
inspector
.
create_inspector
(
Window
,
self
)
...
...
This diff is collapsed.
Click to expand it.
quizzer.kv
+
4
−
0
View file @
9bc4c8ba
...
...
@@ -70,6 +70,7 @@ ScreenManager:
name: 'quiz'
BoxLayout:
orientation: 'vertical'
Button:
text: 'Change Topic'
size_hint: (1, 0.25)
...
...
@@ -77,6 +78,9 @@ ScreenManager:
on_press:
root.transition.direction = 'right'
root.current = 'settings'
ProgressBar:
max: 5
value: app.total
# here
BoxLayout:
orientation: 'horizontal'
...
...
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