Re: [Development] About ALIAS in Q_PROPERTY

2014-03-12 Thread Svetkin Mikhail
> > I think the syntax is not so nice especially the need to have both > the class name and the 'path' to the property. About syntax, I think i can make syntax easier. For example: Q_PROPERTY(QString label ALIAS ui->customWidget->label) or: Q_PROPERTY(QString label ALIAS ui->customWidget label)

Re: [Development] About ALIAS in Q_PROPERTY

2014-03-11 Thread Svetkin Mikhail
If you have 10 properties, you only need to call initAliasNotify to connect all. 2014-03-11 14:59 GMT+06:00 André Somers : > Svetkin Mikhail schreef op 11-3-2014 04:12: > > Explain: > I was creating custom widgets with the help of Qt-designer. > And I have noticed I have to du

Re: [Development] About Q_PROPERTY in custom widget plugin for designer

2014-02-09 Thread Svetkin Mikhail
14:05:09 Svetkin Mikhail wrote: > > Hellow all. > > I was creating custom widgets with the help of Qt-designer model. > > And I have noticed I have to duplicate my code, if I want to edit > > properties of the widget in qt-designer property editor. > > > [...]