Logo Search packages:      
Sourcecode: qt4-x11 version File versions

tools.designer.src.lib.extension.extension.cpp

//! [0]
       QDesignerPropertySheetExtension *propertySheet;
       QExtensionManager manager = formEditor->extensionManager();

       propertySheet = qt_extension<QDesignerPropertySheetExtension*>(manager, widget);

       if(propertySheet) {...}
//! [0]


//! [1]
   Q_DECLARE_EXTENSION_INTERFACE(MyExtension, "com.mycompany.myproduct.myextension")
//! [1]



Generated by  Doxygen 1.6.0   Back to index