KMUploadFilePanel.swift 592 B

1234567891011121314151617181920212223242526
  1. //
  2. // KMUploadFilePanel.swift
  3. // PDF Master
  4. //
  5. // Created by wanjun on 2022/12/7.
  6. //
  7. import Cocoa
  8. @objc protocol KMUploadFileDelegate {
  9. @objc optional func cancelButtonClicked(_ sender: Any)
  10. }
  11. @objcMembers class KMUploadFilePanel: NSPanel {
  12. open var delete: KMUploadFileDelegate?
  13. @IBOutlet weak var cancelBtn: NSButton!
  14. @IBOutlet weak var progressBar: NSProgressIndicator!
  15. @IBOutlet weak var messageField: NSTextField!
  16. @IBOutlet weak var leftFilesField: NSTextField!
  17. override func awakeFromNib() {
  18. super.awakeFromNib()
  19. }
  20. }