https://github.com/lucaangioloni/qtmultiwindowexample
A multiwindow example using signals and slots
https://github.com/lucaangioloni/qtmultiwindowexample
example multi-window qt
Last synced: 10 months ago
JSON representation
A multiwindow example using signals and slots
- Host: GitHub
- URL: https://github.com/lucaangioloni/qtmultiwindowexample
- Owner: LucaAngioloni
- License: apache-2.0
- Created: 2016-12-06T02:43:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-06T15:55:06.000Z (about 9 years ago)
- Last Synced: 2025-03-25T10:03:44.530Z (10 months ago)
- Topics: example, multi-window, qt
- Language: C++
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QTMultiwindowExample
A simple multiwindow example using signals and slots.
There is a MainWindow class that controls the Main Window view. A second window controlled by Website class.
The two classes are connected so that when you click a button on the Website window something happens in the MainWindow (a text label is changed).
The keypoints are the connections between signals and slots and the management of windows pointers or references.
Created for [Stack Overflow Documentation example](http://stackoverflow.com/documentation/qt/2136/signals-and-slots/26119/multi-window-signal-slot-connection) and as an answer to this [Stack Overflow question](http://stackoverflow.com/questions/40983377/qt-slots-and-signals-showing-2nd-form-window/40986941#40986941)