summaryrefslogtreecommitdiffstats
path: root/src/gui/getprofilenameform.cpp
Commit message (Collapse)AuthorAgeLines
* Give focus to profileLineEdit in GetProfileNameForm constructorFrédéric Brière2020-03-31-0/+3
| | | | | | Even though focus is supposed to initially go to profileLineEdit (due to its first position in the tabstops list), this doesn't seem to be the case in reality (at least for me).
* Relax GetProfileNameForm validator to only check individual charactersFrédéric Brière2020-03-31-4/+22
| | | | | | | | | | | QRegExpValidator can be somewhat user-unfriendly, as it will prevent characters from being input, or even deleted, while leaving the user in the dark as to what is going on. Retricting the set of characters allowed shouldn't pose a problem if we make a mention of this on the form. Checking for a leading "." or "@", however, is better left at submission time, with an explicit error message in that case.
* Call GetProfileNameForm::init() in the constructorFrédéric Brière2020-03-31-0/+1
| | | | | | | init() is responsible for setting a validator for profileLineEdit; its invocation was probably lost in the Qt4/5 transition. Closes #189
* Include <QRegExpValidator> explicitlyMichal Kubecek2018-06-06-1/+1
| | | | | | | Since Qt 5.11, generated ui_getprofilename.h no longer includes QHeaderView which breaks the chain that included qvalidator.h in getprofilename.cpp. As it feels rather fragile to rely on such indirect includes, let's include <QRegExpValidator> explicitly in each file using QRegExpValidator class.
* Application fully ported to Qt4 (no Qt3Support used any more)Lubos Dolezel2015-06-04-2/+2
|
* automatic conversion of getprofilenameform.uiMichal Kubecek2015-04-19-0/+81