Site Navigation Bar

Shift shift at free.fr
Sun May 4 22:40:59 BST 2003


Subject: Site Navigation Bar
Date: Sunday 04 May 2003 23:37
From: Shift <shift at free.fr>
To: kfm-devel at kde.org

Hi,

I was working on a site navigation plugin for konqueror.
It's inspired by the site navigation bar of Mozilla and it is an evolution of
the rellinks plugin (cf. http://apps.kde.com/uk/0/info/vid/5039 )

Here is a screenshot of what I have done yet :
http://shift.free.fr/trash/rellinks2.jpeg  (Don't troll about my KDE style
please ;)

It is my first C++ program so I have some problems :)
First, how can I hide/show my toolbar as Mozilla do ?
Here is my kpart rc file :

<!DOCTYPE kpartgui>
<kpartplugin name="rellinks" library="librellinksplugin">
<MenuBar>
 <Menu name="tools"><Text>&Tools</Text>
  <Menu name="Site Navigation"><Text>Site Navigation</Text>
    <Action name="rellinks_top"/>
    <Action name="rellinks_up"/>
    <Action name="rellinks_first"/>
    <Action name="rellinks_previous"/>
    <Action name="rellinks_next"/>
    <Action name="rellinks_last"/>
    <Separator/>
    <Action name="rellinks_document"/>
    <Separator/>
    <Action name="rellinks_more"/>
    <Separator/>
    <Action name="rellinks_links"/>
  </Menu>
 </Menu>
</MenuBar>
<ToolBar name="Site Navigation Bar">
  <Action name="rellinks_top"/>
  <Action name="rellinks_up"/>
  <Action name="rellinks_first"/>
  <Action name="rellinks_previous"/>
  <Action name="rellinks_next"/>
  <Action name="rellinks_last"/>
  <Separator/>
  <Action name="rellinks_document"/>
  <Separator/>
  <Action name="rellinks_more"/>
  <Separator/>
  <Action name="rellinks_links"/>
</ToolBar>
</kpartplugin>

Is it a good way to do ?

Thank you for your help,

Franck




More information about the kfm-devel mailing list