class FlagGraphicsPixmapItem

Public Class Methods

new(*k) click to toggle source
Calls superclass method
# File lib/fgmapping/main-dlg-impl.rb, line 1059
def initialize(*k)
        super
end

Public Instance Methods

mousePressEvent(mouseEvent) click to toggle source
Calls superclass method
# File lib/fgmapping/main-dlg-impl.rb, line 1063
def mousePressEvent(mouseEvent)
        if mouseEvent.button == Qt::LeftButton then
                dlg=mouseEvent.widget.parent.parent
                dlg.waypoints.currentwp = childItems[0].toPlainText.to_i
                dlg.w.lBcurrentwp.text = childItems[0].toPlainText
        else
                super
        end
end