示例
实现鹰眼视图框选;通过在eagleWidget中框选一块区域或者某个点,在EarthGisWisget中显示所框选区域(包括实时经纬度和场景中所有实体)
所有的界面操作都在主界面sceCreator.cpp
中实现操作。
//连接与鹰眼图与GIS地图
connect(m_eagleGisDock->eagleWidget(),
SIGNAL(eagleExtents (EagleExtents* )),
m_gisViewScene->gisWidget(),
SLOT (eagleExtentsSlot (EagleExtents* )));
//参数解析:
m_eagleGisDock(CEagleGisDock *CScerator:: m_eagleGisDock)鹰眼视图窗口
eagleWidget() 鹰眼widget
eagleExtents(EagleExtents* ) 信号
m_gisViewScene
gisWidget()
eagleExtentsSlot(EagleExtents* )
信号
槽函数