HelpTest2.cpp
Go to the documentation of this file.
1 #include "HelpTest2.h"
2 
3 //TerraLib help files
5 
6 //Qt
7 #include <QGridLayout>
8 
10 QWidget(parent, Qt::Dialog)
11 {
13  m_help_btn->setPageReference("qthelp://dpi.inpe.br.help_example/doc/teste2.htm");
14 
15 // m_help_btn->setText("Teste 2");
16 
17  createGUI();
18 }
19 
21 {
22 }
23 
25 {
26  QGridLayout* l = new QGridLayout(this);
27 
28  l->addWidget(m_help_btn);
29 }
A specialized button that uses terralib help managers.
void setPageReference(const QString &ref)
Sets the documentation page reference.
te::qt::widgets::HelpPushButton * m_help_btn
Definition: HelpTest2.h:58
void createGUI()
Definition: HelpTest2.cpp:24
HelpTest2(QWidget *parent=0)
Definition: HelpTest2.cpp:9
Push button that uses te::qt::widgets::HelpManager on its mouse pressed implementation.