def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) s = QString("safggjkk") x = s.mid(3, 2) # dlg = DlgHelp() # dlg.exec_() self.setObjectName("PathTerminatorsDlg") self.surfaceType = SurfaceTypes.FasDataBlock self.selectedRow = None self.editingModelIndex = None self.initParametersPan() self.setWindowTitle(SurfaceTypes.FasDataBlock) self.resize(540, 550) QgisHelper.matchingDialogSize(self, 630, 700) self.surfaceList = None ss = bytearray(40) s = len(ss) pass
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("HoldingRace_PDlg") self.surfaceType = SurfaceTypes.HoldingRace_P self.initParametersPan() self.setWindowTitle(SurfaceTypes.HoldingRace_P) self.resize(540, 500) self.surfaceList = None
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("FixConstructionDlg") self.surfaceType = SurfaceTypes.FixConstruction self.initParametersPan() self.setWindowTitle(SurfaceTypes.FixConstruction) self.resize(470, 400) self.surfaceList = None self.resultLayerList = []
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.resize(600, 500) self.setObjectName("TurnAreaDlg") self.surfaceType = SurfaceTypes.TurnArea self.initParametersPan() self.setWindowTitle(SurfaceTypes.TurnArea) self.resize(600, 500) QgisHelper.matchingDialogSize(self, 700, 500) self.surfaceList = None
def __init__(self, parent, dlgType): FlightPlanBaseDlg.__init__(self, parent) # self.dlgType = dlgType self.setObjectName("PaIlsDlg") self.dlgType = dlgType if self.dlgType == "NpaOnFix": self.surfaceType = SurfaceTypes.NpaOnFix else: self.surfaceType = SurfaceTypes.NpaOverheadingNavaid self.initParametersPan() self.setWindowTitle(self.surfaceType) self.resize(540, 600) QgisHelper.matchingDialogSize(self, 650, 700) self.surfaceList = None self.manualPolygon = None self.mapToolPan = None self.toolSelectByPolygon = None self.accepted.connect(self.closed) self.rejected.connect(self.closed) self.wptLayer = None self.arpFeatureArray = [] self.currentLayer = define._canvas.currentLayer() self.rwyFeatureArray = [] self.rwyEndPosition = None self.initAerodromeAndRwyCmb() self.socRubber = None self.socAnnotation = QgsTextAnnotationItem(define._canvas) self.socAnnotation.setDocument(QTextDocument(Captions.SOC)) self.socAnnotation.setFrameBackgroundColor(Qt.white) self.socAnnotation.setFrameSize(QSizeF(30, 20)) self.socAnnotation.setFrameColor(Qt.magenta) self.socAnnotation.hide() self.socPoint3d = None self.daRubber = None self.daAnnotation = QgsTextAnnotationItem(define._canvas) self.daAnnotation.setDocument(QTextDocument(Captions.DA)) self.daAnnotation.setFrameBackgroundColor(Qt.white) self.daAnnotation.setFrameSize(QSizeF(30, 20)) self.daAnnotation.setFrameColor(Qt.magenta) self.daAnnotation.hide() self.daPoint3d = None self.annotationFAWP = self.parametersPanel.pnlFafPosition.annotation self.annotationMAPt = self.parametersPanel.pnlMaPtPosition.annotation
def __init__(self, parent): ''' Constructor ''' FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("HoldingRnp") self.surfaceType = SurfaceTypes.EnrouteStraight self.initParametersPan() self.setWindowTitle(SurfaceTypes.EnrouteStraight) self.resultLayerList = [] self.resize(540, 550)
def __init__(self, parent): ''' Constructor ''' FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("HoldingRnp") self.surfaceType = SurfaceTypes.HoldingRnp self.initParametersPan() self.setWindowTitle(SurfaceTypes.HoldingRnp) self.resize(540, 550) QgisHelper.matchingDialogSize(self, 710, 700)
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("ChartingGridDlg") self.surfaceType = SurfaceTypes.ChartingGrid self.initParametersPan() self.uiStateInit() self.setWindowTitle(SurfaceTypes.ChartingGrid) self.resize(500, 400) self.constructionLayer = None self.selectedRow = None
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("DepartureOmnidirectionalDlg") self.surfaceType = SurfaceTypes.DepartureOmnidirectional self.initParametersPan() self.setWindowTitle(SurfaceTypes.DepartureOmnidirectional) self.resize(540, 700) QgisHelper.matchingDialogSize(self, 600, 700) self.surfaceList = None self.manualPolygon = None self.area123 = [] self.circleArea = None self.resultLayerList = []
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("HoldingOverHeadDlg") self.surfaceType = SurfaceTypes.HoldingOverHead self.initParametersPan() self.setWindowTitle(SurfaceTypes.HoldingOverHead) self.resize(540, 550) QgisHelper.matchingDialogSize(self, 630, 610) self.surfaceList = None self.resultLayerList = dict() self.vorDmeFeatureArray = [] self.currentLayer = define._canvas.currentLayer() self.initBasedOnCmb()
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("VisualSegmentSurfaceDlg") self.surfaceType = SurfaceTypes.VisualSegmentSurface self.initParametersPan() self.setWindowTitle(SurfaceTypes.VisualSegmentSurface) QgisHelper.matchingDialogSize(self, 700, 650) # self.captureTrackTool= CaptureBearingTool(define._canvas, self.parametersPanel.txtTrack) self.surfaceArea = None self.arpFeatureArray = [] self.currentLayer = define._canvas.currentLayer() self.rwyFeatureArray = [] self.thrPoint3d = None self.thrEndPoint3d = None self.initAerodromeAndRwyCmb()
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.currentLayer = define._canvas.currentLayer() self.setObjectName("RadialDlg") self.surfaceType = SurfaceTypes.Radial self.initParametersPan() self.setWindowTitle(SurfaceTypes.Radial) self.resize(540, 550) QgisHelper.matchingDialogSize(self, 720, 550) self.surfaceList = None self.complexObstacleArea = ComplexObstacleArea() self.vorDmeFeatureArray = [] self.initBasedOnCmb()
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("HoldingRnavDlg") self.surfaceType = SurfaceTypes.GeoDetermine self.initParametersPan() self.setWindowTitle(SurfaceTypes.GeoDetermine) self.resize(540, 550) self.surfaceList = None self.date = QDate.currentDate() self.model = MagneticModel.WMM2010 geo = Geo() self.resultLayerList = [] self.resultPoint3d = None self.resultLat = None self.resultLon = None
def __init__(self, parent): FlightPlanBaseDlg.__init__(self, parent) self.setObjectName("PathTerminatorsDlg") self.surfaceType = SurfaceTypes.ProcedureExport self.selectedRow = None self.editingModelIndex = None self.initParametersPan() self.setWindowTitle(SurfaceTypes.ProcedureExport) self.resize(540, 550) QgisHelper.matchingDialogSize(self, 540, 650) self.surfaceList = None self.loaderAixm = DataBaseLoaderAixm() self.directory = None self.adding = False self.newRowIndex = -1 # assa = vars(SurfaceTypes) # asa = SurfaceTypes.__dict__ pass