QgsScaleBarPluginGui Class Reference

#include <plugingui.h>

List of all members.


Detailed Description

Author:
Peter Brewer

Definition at line 21 of file plugingui.h.

Signals

void drawRasterLayer (QString)
void drawVectorrLayer (QString, QString, QString)
void changePlacement (int)
void changePreferredSize (int)
void changeSnapping (bool)
void changeEnabled (bool)
void changeStyle (int)
void changeColour (QColor)
void refreshCanvas ()

Public Member Functions

 QgsScaleBarPluginGui (QWidget *parent=0, Qt::WFlags fl=0)
 ~QgsScaleBarPluginGui ()
void setPlacementLabels (QStringList &)
void setPlacement (int)
void setPreferredSize (int)
void setSnapping (bool)
void setEnabled (bool)
void setStyleLabels (QStringList &)
void setStyle (int)
void setColour (QColor)
QSpinBox * getSpinSize ()

Private Slots

void on_buttonBox_accepted ()
void on_buttonBox_rejected ()
void on_buttonBox_helpRequested ()
void on_pbnChangeColour_clicked ()

Static Private Attributes

static const int context_id = 0


Constructor & Destructor Documentation

QgsScaleBarPluginGui::QgsScaleBarPluginGui ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Definition at line 17 of file plugingui.cpp.

QgsScaleBarPluginGui::~QgsScaleBarPluginGui (  ) 

Definition at line 23 of file plugingui.cpp.


Member Function Documentation

void QgsScaleBarPluginGui::setPlacementLabels ( QStringList &   ) 

Definition at line 58 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setPlacement ( int   ) 

Definition at line 64 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setPreferredSize ( int   ) 

Definition at line 69 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setSnapping ( bool   ) 

Definition at line 74 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setEnabled ( bool   ) 

Definition at line 78 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setStyleLabels ( QStringList &   ) 

Definition at line 83 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setStyle ( int   ) 

Definition at line 89 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::setColour ( QColor   ) 

Definition at line 94 of file plugingui.cpp.

Referenced by on_pbnChangeColour_clicked(), and QgsScaleBarPlugin::run().

QSpinBox * QgsScaleBarPluginGui::getSpinSize (  ) 

Definition at line 27 of file plugingui.cpp.

Referenced by QgsScaleBarPlugin::run().

void QgsScaleBarPluginGui::on_buttonBox_accepted (  )  [private, slot]

Definition at line 32 of file plugingui.cpp.

References changeColour(), changeEnabled(), changePlacement(), changePreferredSize(), changeSnapping(), changeStyle(), and refreshCanvas().

void QgsScaleBarPluginGui::on_buttonBox_rejected (  )  [private, slot]

Definition at line 53 of file plugingui.cpp.

void QgsScaleBarPluginGui::on_buttonBox_helpRequested (  )  [private, slot]

Definition at line 99 of file plugingui.cpp.

References context_id, and QgsContextHelp::run().

void QgsScaleBarPluginGui::on_pbnChangeColour_clicked (  )  [private, slot]

Definition at line 45 of file plugingui.cpp.

References setColour().

void QgsScaleBarPluginGui::drawRasterLayer ( QString   )  [signal]

void QgsScaleBarPluginGui::drawVectorrLayer ( QString  ,
QString  ,
QString   
) [signal]

void QgsScaleBarPluginGui::changePlacement ( int   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::changePreferredSize ( int   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::changeSnapping ( bool   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::changeEnabled ( bool   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::changeStyle ( int   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::changeColour ( QColor   )  [signal]

Referenced by on_buttonBox_accepted().

void QgsScaleBarPluginGui::refreshCanvas (  )  [signal]

Referenced by on_buttonBox_accepted().


Member Data Documentation

const int QgsScaleBarPluginGui::context_id = 0 [static, private]

Definition at line 47 of file plugingui.h.

Referenced by on_buttonBox_helpRequested().


The documentation for this class was generated from the following files:
Generated on Tue Oct 28 16:52:04 2008 for Quantum GIS API Documentation by  doxygen 1.5.1