More about GCF and KParts integration

It sure is getting better. The following lines of XML and screenshots are pretty self-explanatory.

<!-- KParts Demo -->
<!-- Text Editor Part -->
<kpart mimeType="text/html" 
title="HTML Viewer" 
scriptName="KHTMLPart" 
readOnly="true" 
url="file:///home/prashanth/qt-x11-opensource-src-4.4.1/doc/html/index.html" 
name="khtmlPart" 
parentWidget="CStdMainWindowComponent.rightDockArea" 
before="CStdMainWindowComponent.viewMenu"
/>

<!-- Browser Part -->
<kpart mimeType="text/plain" 
title="Text Editor" 
scriptName="KatePart" 
readOnly="true" 
url="file:///home/prashanth/GCF/examples/AppTemplate/guixml/CHelpSystemComponent.xml" 
name="katePart" 
parentWidget="CStdMainWindowComponent.workspace" 
before="CStdMainWindowComponent.viewMenu"
/>

<!-- Konsole Part -->
<kpart serviceType="TerminalEmulator" 
title="Terminal" 
scriptName="TerminalPart" 
readOnly="true" 
url="/home/prashanth"
name="terminalPart" 
parentWidget="CStdMainWindowComponent.bottomDockArea" 
before="CStdMainWindowComponent.viewMenu"
/>


Posted

in

by

Tags: