pycrossword  0.3
Pure-Python implementation of a crossword puzzle generator and editor
Public Member Functions | Public Attributes | List of all members
pycross.forms.CrosswordMenu Class Reference

Context menu for crossword grid: contains core actions for ease of use. More...

Inheritance diagram for pycross.forms.CrosswordMenu:

Public Member Functions

def __init__ (self, mainwindow, on_triggered=None, parent=None)
 Constructor. More...
 
def initActions (self)
 Adds actions to context menu. More...
 

Public Attributes

 mainwindow
 

Detailed Description

Context menu for crossword grid: contains core actions for ease of use.


Constructor & Destructor Documentation

◆ __init__()

def pycross.forms.CrosswordMenu.__init__ (   self,
  mainwindow,
  on_triggered = None,
  parent = None 
)

Constructor.

Parameters
mainwindowQtWidgets.QMainWindow pointer to gui::MainWindow instance
on_triggeredcallable callback for the triggered signal (when an action is triggered)
parentQtWidgets.QWidget parent widget (default = None, i.e. no parent)

Member Function Documentation

◆ initActions()

def pycross.forms.CrosswordMenu.initActions (   self)

Adds actions to context menu.

Member Data Documentation

◆ mainwindow

pycross.forms.CrosswordMenu.mainwindow

The documentation for this class was generated from the following file: