snu-quiqcl / qiwis

QuIqcl Widget Integration Software
MIT License
6 stars 2 forks source link

[FEATURE] Random number generator for test #16

Closed BECATRUE closed 1 year ago

BECATRUE commented 1 year ago

Feature you want to implement

'Random number generator (hereafter referred to as numgen' is a basic example of Logic and Frame structure.
In numgen, there will be two widgets; QPushButton and QLabel.

For test, we will implement not using a swift manager, but running for itself.

How the feature is implemented

Both Frame and Logic will be implement in `frame.numgen'.

Operation mechanism:

  1. In the main function, create a QApplication instance for using PyQt.
  2. Create a Logic instance and it will create a Frame managed by the Logic internally.
  3. After call frames() method in Logic, show each Frames.