DialogTest This is my program MichaƂ Rudolf GPL 0.1 DialogTest 0 0 600 428 Test of Dialogs true unnamed 11 6 ExecButton1 Run dialogs... message_info("This is a demonstration of various KDE dialogs", "Demo") message_error("Cannot enter 3D mode") if message_question("Do you want to continue?") <> 1 then debug("Cancelled") endif if message_warning("Are you sure you want to continue?") <> 1 then debug("Aborted") endif echo("Hello world!") a = input_text("Input text", "Text", "Default text") LineEdit1.setText(a) a = input_color LineEdit2.setText(a) a = input_value("Input value", "Value", 10, 1, 100) LineEdit3.setText(a) a = input_openfile LineEdit4.setText(a) echo("This is a test too") a = input_savefile LineEdit5.setText(a) a = input_directory LineEdit6.setText(a) a = input_openfiles ListBox1.setText(a) Layout1 unnamed 0 6 Label6 File to save: Label2 Color: ListBox1 Label5 Files to open: Label7 Directory: Label3 Value: LineEdit1 Label4 File to open: LineEdit3 LineEdit4 LineEdit5 LineEdit2 LineEdit6 Label1 Text: