qcubed icon indicating copy to clipboard operation
qcubed copied to clipboard

Choose better default controls for generated code

Open olegabr opened this issue 10 years ago • 5 comments

Now default controls looks very ugly. We should change it to be something pretty like jqueryui controls. 2015-12-25 14 18 57 2015-12-25 14 19 26

olegabr avatar Dec 25 '15 08:12 olegabr

Controls of type QCheckBoxList can be modified with

$this->lstProjectsAsTeamMember->ButtonMode = QCheckBoxList::ButtonModeJq;

And controls of type QListBox replaced with QSelectMenu.

The result can be like this: 2015-12-25 22 36 45

olegabr avatar Dec 25 '15 16:12 olegabr

I understand. However, I think the default should be standard HTML. Its easy enough to set the defaults through overriding the ModelConnectorControlClass function in QCodeGen. Also, jQueryUI controls are not really the state of the art any more. Bootstrap type controls seem more popular these days.

spekary avatar Dec 26 '15 05:12 spekary

yes, and material design and polymer is for tomorrow...

olegabr avatar Dec 26 '15 09:12 olegabr

but we forcing user to see plain html output. it is -10 points to become a new qcubed user. IMHO.

olegabr avatar Dec 26 '15 09:12 olegabr

For 3.0, we should have documentation on the process of creating a website, including modifying the generated controls.

spekary avatar Jun 28 '16 16:06 spekary