Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

INF2611 EXAM QUESTIONS AND ANSWERS A+ GRADED

Beoordeling
-
Verkocht
-
Pagina's
14
Cijfer
A+
Geüpload op
27-11-2024
Geschreven in
2024/2025

INF2611 EXAM QUESTIONS AND ANSWERS A+ GRADED Dialogs are of two types Modal and Modeless one that blocks the user from interacting with other parts of the application. Modal Modeless Modal dialog ________dialog is the opposite of a modal dialog Modeless Until the dialog is __________, no other part of the application can be accessed. Closed When a _______________________ is active, the user is free to interact with the dialog and with the rest of the application. Modeless dialog There are two ways to write a GUI application From scratch With Qt Designer The GUI applications will be saved with the _______ extension .py .pyw .exe .pyw Imports the necessary modules. The basic GUI widgets are located in the QtGui module from PyQt4 import QtGui, QtCore QWidget is the base class of all user interface objects in PyQt4, #so you are creating a new demowind class that inherits from the base class, QWidget class demowind(QtGui.QWidget): ___________is the base class of all user interface objects in PyQt4 QWidget Provides the default constructor for QWidget QtGui.QWidget.__init__(self, parent) The default constructor has no ___________ parent A widget with no parent is known as a _____________ Window __________sets the size of the window and defines where to place it. QWidget

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

INF2611 EXAM QUESTIONS AND ANSWERS A+
GRADED

Dialogs are of two types
Modal and Modeless
one that blocks the user from interacting with other parts of the application.

Modal
Modeless
Modal dialog
________dialog is the opposite of a modal dialog
Modeless
Until the dialog is __________, no other part of the application can be accessed.
Closed
When a _______________________ is active, the user is free to interact with the
dialog and with the rest of the application.
Modeless dialog
There are two ways to write a GUI application
From scratch
With Qt Designer
The GUI applications will be saved with the _______ extension

.py
.pyw
.exe
.pyw
Imports the necessary modules. The basic GUI widgets are located in the QtGui
module
from PyQt4 import QtGui, QtCore
QWidget is the base class of all user interface objects in PyQt4,
#so you are creating a new demowind class that inherits from the base class,
QWidget
class demowind(QtGui.QWidget):
___________is the base class of all user interface objects in
PyQt4
QWidget
Provides the default constructor for QWidget
QtGui.QWidget.__init__(self, parent)
The default constructor has no ___________
parent
A widget with no parent is known as a _____________
Window
__________sets the size of the window and defines
where to place it.

, QWidget
Demowind
setGeometry()
setGeometry()
The first two parameters of the setGeometry () are the ___ and
____ locations at which the window will be placed
x and y
The third parameters of the setGeometry () is the ______,and the fourth is the
__________ of the window
width and height
This statement sets the window title to Demo Window.
self.setWindowTitle('Demo window')
Creates a pushbutton with the text Close
quit = QtGui.QPushButton('Close', self)
Defines the width and height of the pushbutton
quit.setGeometry(10, 10, 70, 40)
Event handling in PyQt4 uses
signals and slots
Which one is an event?

Signal
or
slot
signal
Which one is a method

Signal
or
slot
slot
Creates an application object with the name app through
the QApplication() method of the QtGui module
app = QtGui.QApplication
PyQt4 application must create an application object which is _________
sys.argv
An instance of the demowind class is created with the name dw
dw = demowind()
The ___________ method will display the widget on the
screen.
dw.show()
The __________method ensures a clean exit
sys.exit()
Creates a form with OK and Cancel buttons in the right bottom corner.

Dialog with buttons at the bottom

Geschreven voor

Vak

Documentinformatie

Geüpload op
27 november 2024
Aantal pagina's
14
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
highscore01

Maak kennis met de verkoper

Seller avatar
highscore01 Chamberlain College Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 jaar
Aantal volgers
0
Documenten
59
Laatst verkocht
-
HIGHSCORE SOLUTION

Assignments, Case Studies, Research, Essay writing service, Questions and Answers, Discussions etc. for students who want to see results twice as fast. I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc, and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules. For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!!!!!!!!!!!

Lees meer Lees minder
0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen