Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qt Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Tobias Glaser
Qt Examples
Commits
e05a874f
Commit
e05a874f
authored
3 years ago
by
tobiglaser
Browse files
Options
Downloads
Patches
Plain Diff
add ReadMe
parent
dec218cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-0
20 additions, 0 deletions
README.md
with
20 additions
and
0 deletions
README.md
0 → 100644
+
20
−
0
View file @
e05a874f
# Qt Examples
Various little examples to help you start developing with Qt.
Feel free to contribute to this repo with more examples, widgets, layouts, configuration and so on.
## Counter
Counting a number up and down with button presses.
Uses
`QPushButton`
and
`QLineEdit`
.
Special here is that
`myLineEdit`
is an extended
`QLineEdit`
with a new
`slot`
(callback function).
## Text2Console
Print the content of a text field to std::cout on button press.
Uses
`QPushButton`
and
`QLineEdit`
.
Special here is the division of functionality between view MainWindow and control Control.
It is not shown here, but when using a
*model*
it doesn't have to be a
`QObject`
and can thus be fully independend from the Qt Framework.
# Building
Should work out of the box with Qt Creator, VSCode and the CMake and C++ plugins installed.
\ No newline at end of file
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