100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

INF 2611 Revision questions test review with correct answers a+ rated method used to connect to the database - Answer connect () Methods supported by QTime - Answer current Time( ): Fetches the system's clock time and returns it as a Q T

Rating
-
Sold
-
Pages
16
Grade
A+
Uploaded on
05-03-2025
Written in
2024/2025

INF 2611 Revision questions test review with correct answers a+ rated method used to connect to the database - Answer connect () Methods supported by QTime - Answer current Time( ): Fetches the system's clock time and returns it as a Q Time object hour(): Returns the number of hours minute(): Returns the number of minutes seconds(): Returns the number of seconds msec( ): Returns the number of miiseconds add Secs( ): Returns the time after adding a specified number of seconds addMSecs( ): Returns the time after adding a specified number of milliseconds secsTo( ): Returns the number of seconds between two times msecsTo( ): Returns the number of milliseconds between two times

Show more Read less
Institution
INF 2611 Rtions \\\\teiew With Corr
Course
INF 2611 Rtions \\\\teiew with corr










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
INF 2611 Rtions \\\\teiew with corr
Course
INF 2611 Rtions \\\\teiew with corr

Document information

Uploaded on
March 5, 2025
Number of pages
16
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

INF 2611 Revision questions \test
review with correct answers a+
rated
method used to connect to the database - Answer connect ()


Methods supported by QTime - Answer current Time( ): Fetches
the system's clock time and returns it as a Q Time object
hour(): Returns the number of hours
minute(): Returns the number of minutes
seconds(): Returns the number of seconds
msec( ): Returns the number of miiseconds
add Secs( ): Returns the time after adding a specified number of
seconds
addMSecs( ): Returns the time after adding a specified number of
milliseconds
secsTo( ): Returns the number of seconds between two times
msecsTo( ): Returns the number of milliseconds between two
times


information returned by QTime methods can be converted in text
format - Answer toString( )


widget and class used to display a monthly calendar - Answer You
use a calendar widget which is an instance of QCalendarWidget
class

,properties of the calendar widget - Answer minimumDate: Used to
specify the minimum date range
maximumDate: Used to specify the maximum date range
selectionMode: set this property to NoSelection to prohibit the
user from selecting a date
vetcalHeaderFormat: set this property to No VerticalHeader t
remove the week numbers
gridVisible: Set this property to True to turn on the calendar grid
HorizontalHeaderFormat Used for specifying the form in which
days are displayed.


Methods provided by Q Calendar Widget - Answer selected Date():
returns the selected date
month Shown( ): returns the displayed month
year Shown( ): returns the currently displayed year
set First Day Of Week( ): used to set the day in the first column
selectionChanged


class used when working with dates - Answer QDate class


Methods provided by the QDate class - Answer currentDate():
Returns the system date as a QDate object.
setDate(): Sets a date by specifying the year, month,
and day.
year(): Returns the year from the specified date

, object.
month(): Returns the month from the specified date
object.
day(): Returns the day from the specified date
object.
dayOfWeek(): Returns the day of the week from the
specified date object.
addDays(): Adds the specified number of days to the
specified date and returns new date.
addMonths(): Adds the specified number of months to the
specified date and returns new date.
addYears(): Adds the specified number of years to the
specified date and returns new date.
daysTo(): Returns the number of days between two
dates.
daysInMonth(): Returns the number of days in the specified
month.
daysInYear(): Returns the number of days in the specified
year.
isLeapYear(): Returns true if the specified date is in a leap
year.
toPyDate(): Returns the date as a stri


Widget to display and edit dates - Answer Date Edit widget which
is an instance of the the QDateEdit class
$15.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Quizlettt

Get to know the seller

Seller avatar
Quizlettt Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
11 months
Number of followers
0
Documents
292
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions