• Keine Ergebnisse gefunden

Exercise 10: Creating a Simple Dialog Winter Term 2018/19

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise 10: Creating a Simple Dialog Winter Term 2018/19"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Exercise 10: Creating a Simple Dialog

Winter Term 2018/19

Dialogs are another element of almost all applications with a graphical user interface. This exercise covers the basics of their creation and usage.

Unit 1: Define your own dialog class for dialogs that have the following properties:

• Such a dialog should contain our “regular” educational elements, such as a slider and an LCD number, as well as aclose-button. In addition, it should be displaying a label and asubmit-button.

• On invocation of theclose-button, the dialog should be returning the current value of the slider, and it should also disappear (but not be destroyed).

• The dialog should also be containing a method/slot that makes it appear on the screen. This method/slot should have a parameter that is to be displayed as the text.

Before doing any programming, visualize the entire dialog with all its signals, slots, and connections.

Unit 2: Create an instance of this dialog and test its functionality.

Unit 3: Integrate your new dialog class into some sort of simple application. This applica- tion, for example, should contain a button for showing it up and an LCD number for displaying the configured (and submitted) value.

Have fun, Theo and Ralf

1

Referenzen

ÄHNLICHE DOKUMENTE

To obtain a benchmark registration we next registered the two images by a plain elastic registration scheme, based on (1).. It is apparent from Figure 2 (b), that after

The performance of the proposed verification system for different number of training samples per user derived from MCYT-100 dataset is reported in Table 2.. The results demonstrate

Let C 0 be an arbitrary small cube in + j and consider the 2 n rays from the above family which contain the centre of C 0.. We claim that at least one of these rays intersects

For example, suppose Verizon wishes to erect cellphone towers to provide cellular service to the borough of Manhattan (we are back in time, before this has been done). Verizon

It must be stressed that the number of objects in this experiment was very small, so the results are only an indication, but nev- ertheless the outcome suggests that the

For years, the EU has been caught between the unwillingness of Georgian and Ukrainian authorities to pursue genuine democratic reforms and its own inability to send a clear message

Abstract. To facilitate interaction with mobile health applications, chatbots are increasingly used. They realize the interaction as a dialog where users can ask questions and

Using the example of springtail populations maintained in the laboratory and a woodlouse population studied in the field, we explain why this type of representation can be used