UNIVERS
15.3
UNIVERS base processing software API
|
#include <zqdlg_sgoptions.hpp>
Classes | |
class | CoordWatcher |
class | TimeWatcher |
Public Member Functions | |
ZqDlgSGOptions (QWidget *parent, ZqbNatGroup *pNatCoord, ZqbNatGroup *pNatTime) | |
virtual | ~ZqDlgSGOptions () |
void | setCoordLabel (const QString &qsCoordLabel) |
void | setTimeLabel (const QString &qsTimeLabel) |
int | showModal () |
void | show () |
void | hide () |
void | setCoords (double c[2]) |
void | setTimes (double t[2]) |
void | updateCoords () |
void | updateBounds () |
void | updateSteps () |
void | attachArea (QzqArea *pArea) |
void | detachArea (QzqArea *pArea) |
void | apply () |
Public Attributes | |
ZqDlgSGOptions::TimeWatcher | m_Time |
ZqDlgSGOptions::CoordWatcher | m_Coord |
Protected Attributes | |
ScaleAndGrid * | m_pDlg |
std::set< QzqArea * > | m_AttachedArea |
Friends | |
class | ScaleAndGrid |
Dialog window for scale and grid settings and for manual zoom tasks too.
ZqDlgSGOptions::ZqDlgSGOptions | ( | QWidget * | parent, |
ZqbNatGroup * | pNatCoord, | ||
ZqbNatGroup * | pNatTime | ||
) |
Create dialog window but don't display it. Attach coordinate and time natural groups.
|
virtual |
Destroy the dialog.
void ZqDlgSGOptions::apply | ( | ) |
Apply changes and redraw all attached areas.
void ZqDlgSGOptions::attachArea | ( | QzqArea * | pArea | ) |
Attach QzqArea object to be redrawn on scale & grid & range parameters. Case of OK or Apply button is pressed currently enterd vales are pushed, QzqArea::redraw(true) is called and all related objects are forced to repaint themselves with new parameters.
void ZqDlgSGOptions::hide | ( | ) |
Hide the dialog.
void ZqDlgSGOptions::setCoordLabel | ( | const QString & | qsCoordLabel | ) |
Set label for coordinate
void ZqDlgSGOptions::setCoords | ( | double | c[2] | ) |
Set new coordinates in GUI.
void ZqDlgSGOptions::setTimeLabel | ( | const QString & | qsTimeLabel | ) |
Set label for time
void ZqDlgSGOptions::setTimes | ( | double | t[2] | ) |
Set new times in GUI.
void ZqDlgSGOptions::show | ( | ) |
Show the dialog.
int ZqDlgSGOptions::showModal | ( | ) |
Show the modal dialog. Return the code which is usually returned by QDialog::exec().
void ZqDlgSGOptions::updateBounds | ( | ) |
Update coord and time bounds in GUI.
void ZqDlgSGOptions::updateCoords | ( | ) |
Update coordinates in GUI.
void ZqDlgSGOptions::updateSteps | ( | ) |
Update scale & grid step in GUI.
|
protected |
Container of attached QzqArea objects to be repainted on parameters change.
|
protected |
Dialog widget pointer.