Skip to content
Permalink
Browse files
Added event handler for context help in composer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11752 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 3, 2009
1 parent 1e9cb13 commit 89347b4889850cca359aff208b10ce5ae50dfbf3
Showing with 2 additions and 10 deletions.
  1. +1 −6 src/app/composer/qgscomposer.cpp
  2. +1 −4 src/app/composer/qgscomposer.h
@@ -1025,16 +1025,11 @@ void QgsComposer::restoreWindowState()
}
}

void QgsComposer::on_helpPButton_clicked()
void QgsComposer::on_buttonBox_helpRequested()
{
QgsContextHelp::run( context_id );
}

void QgsComposer::on_closePButton_clicked()
{
close();
}

void QgsComposer::writeXML( QDomDocument& doc )
{

@@ -188,10 +188,7 @@ class QgsComposer: public QMainWindow, private Ui::QgsComposerBase
void saveWindowState();

//! Slot for when the help button is clicked
void on_helpPButton_clicked();

//! Slot for when the close button is clicked
void on_closePButton_clicked();
void on_buttonBox_helpRequested();

/**Add a composer map to the item/widget map and creates a configuration widget for it*/
void addComposerMap( QgsComposerMap* map );

0 comments on commit 89347b4

Please sign in to comment.