KMPageEditExtractWindowController.swift 928 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // KMPageEditExtractWindowController.swift
  3. // PDF Master
  4. //
  5. // Created by tangchao on 2023/1/12.
  6. //
  7. // 页面编辑 [提取窗口]
  8. class KMPageEditExtractWindowController: KMPageEditSettingBaseWindowController {
  9. var canDeleteAll = true
  10. override func initSubViews() {
  11. super.initSubViews()
  12. let settingView = KMPageEditExtractSettingView.createFromNib()!
  13. settingView.extractAfterDeletePageVC?.enabled = self.canDeleteAll
  14. self.contentBox.contentView = settingView
  15. self.settingView = settingView
  16. }
  17. override func initDefaultValue() {
  18. super.initDefaultValue()
  19. self.setWindowSize(NSSize(width: 432, height: 174))
  20. self.titleLabel.stringValue = NSLocalizedString("Extract", comment: "")
  21. self.funcVC?.stringValue = NSLocalizedString("Extract", comment: "")
  22. self.funcVC?.updateUI()
  23. }
  24. }