Hello to all:-)

I have a question about the Q_PROPERTY macro.
In Qt-documentation
(http://doc.qt.io/qt-4.8/http://doc.qt.io/qt-4.8/properties.html#requirements-for-declaring-properties),
they tell about the "DISIGNABLE"-attribute:

The DESIGNABLE attribute indicates whether the property should be visible in the property editor of GUI design tool (e.g., Qt Designer). Most properties are DESIGNABLE (default true). Instead of true or false, you can specify a boolean member function.
Now, i simply built a small test-widget with a label and a Pushbutton. In the code, i have a QString-property "smallText"

.h-file
Qt Code:
  1. namespace Ui {
  2. class MainWindow;
  3. }
  4.  
  5. class MainWindow : public QMainWindow
  6. {
  7. Q_OBJECT
  8. Q_PROPERTY(QString smallText READ smallText WRITE setSmallText NOTIFY smallTextChanged)
  9.  
  10. public:
  11. explicit MainWindow(QWidget *parent = 0);
  12. ~MainWindow();
  13.  
  14. QString smallText() const
  15. {
  16. return m_smallText;
  17. }
  18.  
  19. public slots:
  20. void setSmallText(QString smallText);
  21. {
  22. if (m_smallText == smallText)
  23. return;
  24.  
  25. m_smallText = smallText;
  26. emit smallTextChanged(smallText);
  27. }
  28. signals:
  29. void smallTextChanged(QString smallText);
  30.  
  31. private slots:
  32. void on_pushButton_clicked();
  33.  
  34. private:
  35. Ui::MainWindow *ui;
  36. QString m_smallText;
  37. };
To copy to clipboard, switch view to plain text mode 

when i click on the Pushbutton, the Property "smallText" is changed, but where can I tell the label to change?
Of course, I could move the definition of "setSmallText" to the *.cpp-file and add
Qt Code:
  1. ui->label->setText(smallText);
To copy to clipboard, switch view to plain text mode 
, but is there any possibility to use the the "DESIGNABLE"-attribute?

I unfortunately have to use Qt4.5.2 with Qt-Creator
Thanks for any help
Robby