Jump to content

Kexi/Junior Jobs/Simple Form Widgets: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
No edit summary
Jstaniek (talk | contribs)
No edit summary
Line 11: Line 11:
*Work within a new branch kexi-widgets-shreya, please create.  
*Work within a new branch kexi-widgets-shreya, please create.  
*All these widgets should be provided by plugins/forms/kexidbfactory.cpp and have implementation in individual files in plugins/forms/.
*All these widgets should be provided by plugins/forms/kexidbfactory.cpp and have implementation in individual files in plugins/forms/.
*Take care of: coding practices, coding style (see Techbase articles)
*Look at how Kexi's button widget is implemented/exposed in forms (for non-data widgets)
*Look at how Kexi's button widget is implemented/exposed in forms (for non-data widgets)
*Look how text line edit is implemented/exposed in forms (for data widgets)
*Look how text line edit is implemented/exposed in forms (for data widgets)
Notes to mentor:
*Please always emphasize importance of coding style to students and check that - it's so easier to maintain the style from day one instead of fixing afterwards. Show [http://techbase.kde.org/Policies/Kdelibs_Coding_Style Techbase articles] for that.
*Take care of coding practices too (see [http://techbase.kde.org/Development/Tutorials/Common_Programming_Mistakes Techbase articles])

Revision as of 08:22, 18 November 2011

Implement these widgets:

  • OPEN, DIFFICULTY=3/5 Command Link Button (based on KexiCommandLinkButton from

kexiutils/), no data type

  • OPEN, DIFFICULTY=5/5 Slider (based on QSlider), should bind to column of data type: int
  • OPEN, DIFFICULTY=5/5 Progress Bar (based on QProgressbar), should bind to column of data type: int, user of course cannot change its value by clicking on it
  • OPEN, DIFFICULTY=5/5 Calendar (based on QCalendarWidget), should bind to column of data type: QDate
  • Required skills: basic Qt, average C++
  • Work within a new branch kexi-widgets-shreya, please create.
  • All these widgets should be provided by plugins/forms/kexidbfactory.cpp and have implementation in individual files in plugins/forms/.
  • Look at how Kexi's button widget is implemented/exposed in forms (for non-data widgets)
  • Look how text line edit is implemented/exposed in forms (for data widgets)

Notes to mentor:

  • Please always emphasize importance of coding style to students and check that - it's so easier to maintain the style from day one instead of fixing afterwards. Show Techbase articles for that.
  • Take care of coding practices too (see Techbase articles)