Browse Source

注释 - 设置属性面板NSSlider实时刷新

wanjun 1 year ago
parent
commit
5dc9dad6b0

+ 4 - 4
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/KMGeneralAnnotationViewController.xib

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
         <capability name="Named colors" minToolsVersion="9.0"/>
         <capability name="System colors introduced in macOS 10.13" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -457,7 +457,7 @@
                                     </textField>
                                     <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="boX-yy-3DZ">
                                         <rect key="frame" x="-2" y="0.0" width="344" height="28"/>
-                                        <sliderCell key="cell" alignment="left" minValue="0.5" maxValue="18" doubleValue="0.5" tickMarkPosition="above" sliderType="linear" id="uiL-cC-yeG" customClass="KMPropertiesSliderCell"/>
+                                        <sliderCell key="cell" continuous="YES" alignment="left" minValue="0.5" maxValue="18" doubleValue="0.5" tickMarkPosition="above" sliderType="linear" id="uiL-cC-yeG" customClass="KMPropertiesSliderCell"/>
                                         <connections>
                                             <action selector="borderWidthSliderAction:" target="-2" id="fbp-7j-nGS"/>
                                         </connections>
@@ -1237,7 +1237,7 @@
                 </comboBox>
                 <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="u8I-8M-7Z4">
                     <rect key="frame" x="8" y="1" width="344" height="28"/>
-                    <sliderCell key="cell" alignment="left" maxValue="1" tickMarkPosition="above" sliderType="linear" id="NOi-KA-hpp" customClass="KMPropertiesSliderCell"/>
+                    <sliderCell key="cell" continuous="YES" alignment="left" maxValue="1" tickMarkPosition="above" sliderType="linear" id="NOi-KA-hpp" customClass="KMPropertiesSliderCell"/>
                     <connections>
                         <action selector="opacitySliderAction:" target="-2" id="qKe-JT-fjd"/>
                     </connections>

+ 7 - 8
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/ViewController/KMFillSignShapePanel.xib

@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <deployment identifier="macosx"/>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMFillSignShapePanel" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMFillSignShapePanel" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="colorBox" destination="nyg-eM-FHL" id="8hE-nP-WKB"/>
                 <outlet property="colorBox1" destination="LSs-37-kQD" id="gyG-fq-viE"/>
@@ -137,7 +136,7 @@
                         </box>
                         <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eWV-HH-wiD">
                             <rect key="frame" x="-2" y="0.0" width="109" height="28"/>
-                            <sliderCell key="cell" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="NqX-1T-cH8"/>
+                            <sliderCell key="cell" continuous="YES" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="NqX-1T-cH8"/>
                             <connections>
                                 <action selector="lineWidthSliderAction:" target="-2" id="rYp-cS-mHe"/>
                             </connections>
@@ -202,7 +201,7 @@
             <rect key="frame" x="0.0" y="0.0" width="190" height="32"/>
             <autoresizingMask key="autoresizingMask"/>
             <subviews>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="LSs-37-kQD" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="LSs-37-kQD" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="vts-29-H3g">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -216,7 +215,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="e7L-m6-Pqu">
                     <rect key="frame" x="32" y="0.0" width="2" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="crL-Lz-qUZ" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="crL-Lz-qUZ" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="34" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="gWj-RZ-6Qe">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -230,7 +229,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="M0l-AT-5yH">
                     <rect key="frame" x="66" y="0.0" width="1" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ki9-Np-U3F" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ki9-Np-U3F" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="67" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="3ry-DJ-gxD">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -244,7 +243,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="vTy-5F-yr3">
                     <rect key="frame" x="99" y="0.0" width="2" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="xWH-Yr-Tyg" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="xWH-Yr-Tyg" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="101" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="ruL-eI-lqW">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -264,7 +263,7 @@
                         <rect key="frame" x="1" y="1" width="54" height="30"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="iYl-e4-9gK" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                            <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="iYl-e4-9gK" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                                 <rect key="frame" x="4" y="5" width="20" height="20"/>
                                 <view key="contentView" id="xLl-VX-EnZ">
                                     <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>

+ 8 - 9
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/ViewController/KMFillSignTextPanel.xib

@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <deployment identifier="macosx"/>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMFillSignTextPanel" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMFillSignTextPanel" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="centerAlignBox" destination="hqF-IO-aBJ" id="6tc-Qm-xzp"/>
                 <outlet property="customBox" destination="w7C-dk-MMR" id="wG1-HV-7RT"/>
@@ -241,7 +240,7 @@
                                 <rect key="frame" x="1" y="1" width="54" height="30"/>
                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                 <subviews>
-                                    <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="0rd-sn-LwY" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                                    <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="0rd-sn-LwY" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                                         <rect key="frame" x="4" y="5" width="20" height="20"/>
                                         <view key="contentView" id="PIL-ls-6aA">
                                             <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>
@@ -437,7 +436,7 @@
                 </box>
                 <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pgs-zA-xWs">
                     <rect key="frame" x="-2" y="0.0" width="109" height="28"/>
-                    <sliderCell key="cell" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="Gbx-pl-MPn"/>
+                    <sliderCell key="cell" continuous="YES" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="Gbx-pl-MPn"/>
                     <connections>
                         <action selector="opacitySliderAction:" target="-2" id="Lzu-ci-ASf"/>
                     </connections>
@@ -458,7 +457,7 @@
             <rect key="frame" x="0.0" y="0.0" width="356" height="32"/>
             <autoresizingMask key="autoresizingMask"/>
             <subviews>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="WT0-XU-P2J" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="WT0-XU-P2J" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="xn5-dn-J62">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -472,7 +471,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="xAf-BX-5yy">
                     <rect key="frame" x="32" y="0.0" width="43" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Bm2-Bj-GDr" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Bm2-Bj-GDr" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="75" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="LjG-rE-Sho">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -486,7 +485,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="5tz-BO-7DI">
                     <rect key="frame" x="107" y="0.0" width="43" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="VAQ-Kg-1MH" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="VAQ-Kg-1MH" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="150" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="Nac-V6-Ec7">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -500,7 +499,7 @@
                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="NVI-Ug-yRc">
                     <rect key="frame" x="182" y="0.0" width="43" height="32"/>
                 </customView>
-                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hMr-Ou-5z7" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hMr-Ou-5z7" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                     <rect key="frame" x="225" y="0.0" width="32" height="32"/>
                     <view key="contentView" id="s9T-01-th2">
                         <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
@@ -520,7 +519,7 @@
                         <rect key="frame" x="1" y="1" width="54" height="30"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="GTA-TT-HfW" customClass="KMBox" customModule="PDF_Office" customModuleProvider="target">
+                            <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="GTA-TT-HfW" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
                                 <rect key="frame" x="4" y="5" width="20" height="20"/>
                                 <view key="contentView" id="TOb-Id-fee">
                                     <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>

+ 2 - 3
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/ViewController/KMOpacityPanel.xib

@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <deployment identifier="macosx"/>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMOpacityPanel" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMOpacityPanel" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="opacityBox" destination="erY-T8-DgK" id="lv4-cI-mUw"/>
                 <outlet property="opacityLabel" destination="Bte-M2-xwV" id="iIe-8y-0lS"/>
@@ -56,7 +55,7 @@
                         </box>
                         <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1RA-Do-M34">
                             <rect key="frame" x="6" y="0.0" width="138" height="28"/>
-                            <sliderCell key="cell" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="Rq5-Y3-tsu"/>
+                            <sliderCell key="cell" continuous="YES" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="Rq5-Y3-tsu"/>
                             <connections>
                                 <action selector="opacitySliderAction:" target="-2" id="bCB-81-eVW"/>
                             </connections>