Skip to content

Commit

Permalink
Added event handler for context help in composer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11752 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 3, 2009
1 parent f982d7f commit 72888fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 1 addition & 6 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -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 )
{

Expand Down
5 changes: 1 addition & 4 deletions src/app/composer/qgscomposer.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 72888fc

Please sign in to comment.