eric7.WebBrowser.SpeedDial.SpeedDialWriter
Module implementing a class to write speed dial data files.
Global Attributes
Classes
SpeedDialWriter |
Class implementing a writer object to generate speed dial data files. |
Functions
SpeedDialWriter
Class implementing a writer object to generate speed dial data files.
Derived from
QXmlStreamWriter
Class Attributes
Class Methods
Methods
Static Methods
SpeedDialWriter (Constructor)
SpeedDialWriter()
Constructor
SpeedDialWriter.__write
__write(pages, pagesPerRow, speedDialSize)
Private method to write a speed dial file.
- pages (list of Page)
-
list of speed dial pages
- pagesPerRow (int)
-
number of pages per row
- speedDialSize (int)
-
size of the speed dial pages
- Return:
-
flag indicating success
- Return Type:
-
bool
SpeedDialWriter.write
write(fileNameOrDevice, pages, pagesPerRow, speedDialSize)
Public method to write a speed dial data file.
- fileNameOrDevice (str or QIODevice)
-
name of the file to write or device to write to
- pages (list of Page)
-
list of speed dial pages
- pagesPerRow (int)
-
number of pages per row
- speedDialSize (int)
-
size of the speed dial pages
- Return:
-
flag indicating success
- Return Type:
-
bool