Hi Dirk,
I create a new field container named TextBox. It is a new core 
node to render opengl text. this core contain a new field named txtDoc. 
This field is a QTextDocument of Qt 4.0.0 and it contain formatted 
text. Of course, this TextBox inherit e TextBoxBase class:
     class 
OSG::TextBox : public TextBoxBase
    {
      .....
     }
this is ok. 
I not have any problem. My project work correctly. 

then I have tried 
to inherit from QObject and TextBoxBase in order to use the signal and 
slot mechanism of qt. My code compile correctly bat fail when I try to 
create a TextBox core. 

class OSG::TextBox : public QObject, public 
TextBoxBase
{
    Q_OBJECT
public:
   TextBox(QObject* parent=0);
   
TextBox(const TextBox &source, QObject* parent=0);
    .......

}

Can 
I help me?

Thanks, 

Antonio




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to