Module guiwidgets
[hide private]
[frames] | no frames]

Module guiwidgets

source code

Most of the graphical user interface elements making up BitPim

Classes [hide private]
  LogWindow
  GetPhoneDialog
  SendPhoneDialog
  ConfigDialog
  CommPortDialog
  AcceptCertificateDialog
  BitFlingSettingsDialog
  MyFixedScrolledMessageDialog
A dialog displaying a readonly text control with a fixed width font
  ExceptionDialog
  CreateTroubleReportDialog
  StatusText
  MyStatusBar
  AlertDialogWithHelp
A dialog box with Ok button and a help button
  AnotherDialog
A dialog box with user supplied buttons
  LogProgressDialog
display log string and progress bar at the same time
  AskPhoneNameDialog
  HistoricalDataDialog
  BitPimListCtrl
  DRRecFileDialog
A dialog to ask for and provide the file name for a Data Recording file
  PrintDialog
A generic print dialog from which other can subclass for their own use
  SMSPrintDialog
  MemoPrintDialog
Functions [hide private]
 
set_size(confname, window, screenpct=50, aspect=1.0)
Sets remembered/calculated dimensions/position for window
source code
 
save_size(confname, myRect)
Saves size to config.
source code
 
_component_string()
return a CSV string of various software components being used by BitPim
source code
 
show_about_dlg(parent) source code
Variables [hide private]
  BUFFERED = 0
  SB_Phone_Set = 0
  SB_Phone_Detected = 1
  SB_Phone_Unavailable = 2
  _license = 'The BitPim code is under the GNU General Public Li...
  _copyright = '(C) 2003-2007 The code in BitPim is copyright by...
  _description = ' BitPim is a program that allows you to vie...
  EVT_BITFLINGCERTIFICATEVERIFICATION = <wx._core.PyEventBinder ...
Function Details [hide private]

set_size(confname, window, screenpct=50, aspect=1.0)

source code 

Sets remembered/calculated dimensions/position for window

Parameters:
  • confname - subkey to store/get this windows's settings from
  • window - the window object itself
  • screenpct - percentage of the screen the window should occupy. If this value is negative then the window will not be resized, only repositioned (unless the current size is silly)
  • aspect - aspect ratio. If greater than one then it is how much wider than tall the window is, and if less than one then the other way round

save_size(confname, myRect)

source code 

Saves size to config. set_size

Parameters:
  • confname - Same string as in set_size
  • myRect - Window size you want remembered, typically window.GetRect()

Variables Details [hide private]

_license

Value:
'''The BitPim code is under the GNU General Public License as detailed
below.  Specific permission is granted for this code to be linked to
OpenSSL (this is necessary because the OpenSSL license is not
GPL-compatible).

   In addition, as a special exception, the BitPim copyright holders
   give permission to link the code of this program with the OpenSSL
   library (or with modified versions of OpenSSL), and distribute
...

_copyright

Value:
'''(C) 2003-2007 The code in BitPim is copyright by several people.  P\
lease note the
comments at the top of each file, as well as version control history.
'''

_description

Value:
'''    BitPim is a program that allows you to view and manipulate data\
 on many CDMA phones
    from LG, Samsung, Sanyo and other manufacturers. This includes the\
 PhoneBook,
    Calendar, WallPapers, RingTones (functionality varies by phone) an\
d the
    Filesystem for most Qualcomm CDMA chipset based phones. To see whe\
n phones will
...

EVT_BITFLINGCERTIFICATEVERIFICATION

Value:
<wx._core.PyEventBinder object at 0x03808CB0>