You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qt3/examples/helpdemo/helpdemo.h

43 lines
757 B

#ifndef HELPDEMO_H
#define HELPDEMO_H
#include <qptrdict.h>
#include "helpdemobase.h"
class QAssistantClient;
class QPopupMenu;
class HelpDemo : public HelpDemoBase
{
Q_OBJECT
public:
HelpDemo( QWidget *parent = 0, const char *name = 0 );
~HelpDemo();
protected:
void contextMenuEvent( QContextMenuEvent *e );
private slots:
void setAssistantArguments();
void openAssistant();
void closeAssistant();
void displayPage();
void showAssistantErrors( const QString &err );
void assistantOpened();
void assistantClosed();
void showHelp();
private:
QWidget* lookForWidget();
void showHelp( QWidget *w );
QPtrDict<char> widgets;
QAssistantClient *assistant;
QPopupMenu *menu;
};
#endif