Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » HelpViewer Class
HelpViewer Class [message #28429] Wed, 01 September 2010 17:48 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
I've added a small HelpViewer class, which allows to vie Topic pages with a Table Of Contents (TOC) tree on left side.
The TOC is simply a Topic page formatted with tab indents which represents the TOC indenting levels.
Example :

Argument 1
<TAB>Sub 1.1
<TAB>Sub 1.2
<TAB><TAB>Sub 1.2.1
<TAB><TAB>Sub 1.2.2
<TAB>Sub 1.3
Argument 2
Argument 3
<TAB>Sub 3.1
......


TOC formatting is unimportant, only the links and text parts are loaded into a TreeCtrl.
Class could be easily extended to handle images inside the TOC.

I added also a TestHelpViewer package that shows the usage; it loads a TOC into control (twice, to show that the control can load multiple help files at once).

The class is still missing a couple of cosmetics, but it's very usable.

Ciao

Max
Re: HelpViewer Class [message #28555 is a reply to message #28429] Tue, 07 September 2010 02:39 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Next step - extend tpp system to add full TOC editor. Razz

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: TabBar: ordering of tabs by their Value (title)
Next Topic: Docking - Stable?
Goto Forum:
  


Current Time: Thu Mar 28 20:47:39 CET 2024

Total time taken to generate the page: 0.01199 seconds