Talk:Development/Tutorials/Using KActions: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 5: Line 5:


----
----


<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
Line 19: Line 20:
   </MenuBar>
   </MenuBar>
</kpartgui>
</kpartgui>


---
---

Revision as of 14:06, 18 March 2007

2007/3/18: The .ui file isn't working with trunk from svn

I fixed it by using this instead:



<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <kpartgui version="2" name="tutorial3"> <ToolBar name="mainToolBar" >

   <text>Main Toolbar</text>
   <Action name="clear" />
 </ToolBar>
 <MenuBar>
   <Menu name="file" >
     <text>&File</text>
     <Action name="clear" />
   </Menu>
 </MenuBar>

</kpartgui>


---

I'm not shure why. Should this be added to the tutorial?

-- Jonarne