Package pyanaconda :: Package iw :: Module partition_ui_helpers_gui
[hide private]
[frames] | no frames]

Module partition_ui_helpers_gui

source code

Classes [hide private]
  WideCheckList
Functions [hide private]
 
createAlignedLabel(text) source code
 
createMountPointCombo(request, excludeMountPoints=[]) source code
 
setMntPtComboStateFromType(fmt_class, mountCombo) source code
 
fstypechangeCB(widget, mountCombo) source code
 
createAllowedDrivesStore(disks, reqdrives, drivelist, disallowDrives, preselectAll) source code
 
createAllowedDrivesList(disks, reqdrives, disallowDrives, preselectAll) source code
 
createFSTypeMenu(format, fstypechangeCB, mountCombo, availablefstypes=None, ignorefs=None) source code
 
mountptchangeCB(widget, fstypecombo) source code
 
resizeOptionCB(widget, data) source code
 
formatOptionResizeCB(widget, data) source code
 
formatMigrateOptionCB(widget, data) source code
 
createPreExistFSOptionSection(origrequest, maintable, row, mountCombo, partitions, ignorefs=[], luksdev=None)
createPreExistFSOptionSection: given inputs for a preexisting partition, create a section that will provide format and migrate options
source code
 
doUIRAIDLVMChecks(format, req_disks, storage) source code
 
getResizeMinMax(part)
Return the minimum/maximum size for a selected partition
source code
Variables [hide private]
  _ = lambda x:
  FLAG_FORMAT = 1
  FLAG_MIGRATE = 2
  defaultMountPoints = ['/', '/boot', '/home', '/tmp', '/var', '...
Function Details [hide private]

createPreExistFSOptionSection(origrequest, maintable, row, mountCombo, partitions, ignorefs=[], luksdev=None)

source code 
createPreExistFSOptionSection: given inputs for a preexisting partition,
create a section that will provide format and migrate options

Returns the value of row after packing into the maintable,
and a dictionary consistenting of:
   formatcb      - checkbutton for 'format as new fs'
   fstype        - part of format fstype menu
   fstypeMenu    - part of format fstype menu
   migratecb     - checkbutton for migrate fs
   migfstypeMenu - menu for migrate fs types
   lukscb        - checkbutton for 'encrypt using LUKS/dm-crypt'
   resizecb      - checkbutton for 'resize fs'
   resizesb      - spinbutton with resize target

getResizeMinMax(part)

source code 

Return the minimum/maximum size for a selected partition

Assumes that it is resizable and that it exists.


Variables Details [hide private]

defaultMountPoints

Value:
['/', '/boot', '/home', '/tmp', '/var', '/usr/local', '/opt']