|
pycrossword
0.3
Pure-Python implementation of a crossword puzzle generator and editor
|
Dialog for sharing crosswords in social networks. More...
Public Member Functions | |
| def | __init__ (self, mainwindow, parent=None, flags=QtCore.Qt.WindowFlags()) |
| Constructor. More... | |
| def | addMainLayout (self) |
| Creates the main (central) layout for controls. More... | |
| def | on_btn_share_settings (self) |
| Shows the Sharing page of the global settings dialog. More... | |
| def | on_btn_export_settings (self) |
| Shows the Export page of the global settings dialog. More... | |
Public Member Functions inherited from pycross.forms.BasicDialog | |
| def | __init__ (self, geometry=None, title=None, icon=None, parent=None, flags=QtCore.Qt.WindowFlags(), sizepolicy=QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)) |
| Constructor. More... | |
| def | initUI (self, geometry=None, title=None, icon=None) |
| Creates the core controls: OK and Cancel buttons and layouts. More... | |
| def | validate (self) |
| Validates user input (reimplemented in child classes). More... | |
| def | on_btn_OK_clicked (self) |
| Fires when the OK button is clicked. More... | |
| def | on_btn_cancel_clicked (self) |
| Fires when the Cancel button is clicked: rejects input and closes window. More... | |
Public Attributes | |
| mainwindow | |
| layout_controls | |
| gb_share | |
| layout_gb_share | |
| combo_target | |
| le_title | |
| le_tags | |
| le_source | |
| te_notes | |
| btn_share_settings | |
| gb_export | |
| layout_gb_export | |
| rb_pdf | |
| rb_jpg | |
| rb_png | |
| rb_svg | |
| rb_xpf | |
| rb_ipuz | |
| btn_export_settings | |
Public Attributes inherited from pycross.forms.BasicDialog | |
| layout_controls | |
QtWidgets.QFormLayout central layout for controls More... | |
| btn_OK | |
QtWidgets.QPushButton OK button More... | |
| btn_cancel | |
QtWidgets.QPushButton Cancel button More... | |
| layout_bottom | |
QtWidgets.QHBoxLayout bottom layout for OK and Cancel buttons More... | |
| layout_main | |
QtWidgets.QVBoxLayout window layout More... | |
Dialog for sharing crosswords in social networks.
| def pycross.forms.ShareDialog.__init__ | ( | self, | |
| mainwindow, | |||
parent = None, |
|||
flags = QtCore.Qt.WindowFlags() |
|||
| ) |
Constructor.
| mainwindow | QtWidgets.QMainWindow pointer to gui::MainWindow instance |
| parent | QtWidgets.QWidget parent widget (default = None, i.e. no parent) |
| flags | QtCore.Qt.WindowFlags Qt window flags |
| def pycross.forms.ShareDialog.addMainLayout | ( | self | ) |
Creates the main (central) layout for controls.
Must be overridden by child classes to change the layout type (default = QtWidgets.QFormLayout) and add controls.
Reimplemented from pycross.forms.BasicDialog.
| def pycross.forms.ShareDialog.on_btn_export_settings | ( | self | ) |
Shows the Export page of the global settings dialog.
| def pycross.forms.ShareDialog.on_btn_share_settings | ( | self | ) |
Shows the Sharing page of the global settings dialog.
| pycross.forms.ShareDialog.btn_export_settings |
| pycross.forms.ShareDialog.btn_share_settings |
| pycross.forms.ShareDialog.combo_target |
| pycross.forms.ShareDialog.gb_export |
| pycross.forms.ShareDialog.gb_share |
| pycross.forms.ShareDialog.layout_controls |
| pycross.forms.ShareDialog.layout_gb_export |
| pycross.forms.ShareDialog.layout_gb_share |
| pycross.forms.ShareDialog.le_source |
| pycross.forms.ShareDialog.le_tags |
| pycross.forms.ShareDialog.le_title |
| pycross.forms.ShareDialog.mainwindow |
| pycross.forms.ShareDialog.rb_ipuz |
| pycross.forms.ShareDialog.rb_jpg |
| pycross.forms.ShareDialog.rb_pdf |
| pycross.forms.ShareDialog.rb_png |
| pycross.forms.ShareDialog.rb_svg |
| pycross.forms.ShareDialog.rb_xpf |
| pycross.forms.ShareDialog.te_notes |
1.8.17