A dialog used to configure geometry snap options. More...
#include <SnapOptionsDialog.h>
Public Member Functions | |
void | setLayers (const std::list< te::map::AbstractLayerPtr > &layers) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
SnapOptionsDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructs the snap options dialog which is a child of parent, with widget flags set to f. More... | |
~SnapOptionsDialog () | |
Destructor. More... | |
Private Slots | |
void | onOkPushButtonPressed () |
Private Member Functions | |
void | buildOptions () |
void | buildOptions (const te::map::AbstractLayerPtr &layer) |
Private Attributes | |
std::list < te::map::AbstractLayerPtr > | m_layers |
The layer list. More... | |
std::auto_ptr < Ui::SnapOptionsDialogForm > | m_ui |
Dialog form. More... | |
A dialog used to configure geometry snap options.
Definition at line 51 of file SnapOptionsDialog.h.
te::edit::SnapOptionsDialog::SnapOptionsDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs the snap options dialog which is a child of parent, with widget flags set to f.
Definition at line 43 of file SnapOptionsDialog.cpp.
References m_ui, and onOkPushButtonPressed().
te::edit::SnapOptionsDialog::~SnapOptionsDialog | ( | ) |
Destructor.
Definition at line 53 of file SnapOptionsDialog.cpp.
|
private |
Definition at line 64 of file SnapOptionsDialog.cpp.
|
private |
Definition at line 70 of file SnapOptionsDialog.cpp.
References te::common::Singleton< T >::getInstance(), and te::edit::Snap::getTolerance().
|
privateslot |
Definition at line 125 of file SnapOptionsDialog.cpp.
References te::common::Singleton< T >::getInstance().
Referenced by SnapOptionsDialog().
void te::edit::SnapOptionsDialog::setLayers | ( | const std::list< te::map::AbstractLayerPtr > & | layers | ) |
Definition at line 57 of file SnapOptionsDialog.cpp.
Referenced by te::qt::plugins::edit::ToolBar::onSnapOptionsActivated().
|
private |
The layer list.
Definition at line 85 of file SnapOptionsDialog.h.
|
private |