Hi to all,
I am having a doubt with regards to signals and slots... I was trying to connect spinboxes to the QCalendarWidget in Qt Designer (for user to edit the date, month and year) when I realise that the QCalendarWidget only has the following public slots...
Public Slots
void setCurrentPage ( int year, int month )
void setDateRange ( const QDate & min, const QDate & max )
void setSelectedDate ( const QDate & date )
void showNextMonth ()
void showNextYear ()
void showPreviousMonth ()
void showPreviousYear ()
void showSelectedDate ()
void showToday ()
19 public slots inherited from QWidget
1 public slot inherited from QObject
So does it mean that i cannot connect the signal <void valueChanged ( int i )> of the QSpinBox to any of the slots (in Qt Designer) for the purpose of date/month/year editing? In that case, am I left with the only way, which is creating my own calendar widget with my own slots and connecting them(in code)? Or are there any better way out?
Bookmarks