Преглед на файлове

【综合】页面设置,分屏,无法选择页面(已修复)

tangchao преди 1 година
родител
ревизия
95d8c99d65

+ 3 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/Split/KMSecondaryViewController.m

@@ -131,5 +131,8 @@
     }];
 }
 
+- (IBAction)addFileAction:(id)sender {
+    [self selectFileAction:sender];
+}
 
 @end

+ 17 - 1
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/Split/KMSecondaryViewController.xib

@@ -82,6 +82,20 @@
                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                             </textFieldCell>
                         </textField>
+                        <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="j6H-4w-adU">
+                            <rect key="frame" x="80" y="160" width="140" height="140"/>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="140" id="QdR-ZW-YA7"/>
+                                <constraint firstAttribute="width" constant="140" id="adl-uH-oTX"/>
+                            </constraints>
+                            <buttonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="1BE-b9-zYc">
+                                <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                <font key="font" metaFont="cellTitle"/>
+                            </buttonCell>
+                            <connections>
+                                <action selector="addFileAction:" target="-2" id="end-5I-6Ag"/>
+                            </connections>
+                        </button>
                     </subviews>
                     <constraints>
                         <constraint firstItem="Uq9-YK-STd" firstAttribute="top" secondItem="kTE-cG-rrO" secondAttribute="top" id="BAO-mx-epK"/>
@@ -91,6 +105,8 @@
                         <constraint firstItem="0rM-Vt-X5j" firstAttribute="top" secondItem="lHt-h3-ZMr" secondAttribute="bottom" constant="8" id="SLw-TU-dje"/>
                         <constraint firstItem="Uq9-YK-STd" firstAttribute="centerX" secondItem="kTE-cG-rrO" secondAttribute="centerX" id="m5x-sj-rR5"/>
                         <constraint firstItem="lHt-h3-ZMr" firstAttribute="top" secondItem="Uq9-YK-STd" secondAttribute="bottom" constant="8" id="mWF-kF-ALL"/>
+                        <constraint firstItem="j6H-4w-adU" firstAttribute="top" secondItem="kTE-cG-rrO" secondAttribute="top" id="puY-ED-4g8"/>
+                        <constraint firstItem="j6H-4w-adU" firstAttribute="leading" secondItem="kTE-cG-rrO" secondAttribute="leading" constant="80" id="uRW-Zv-EHe"/>
                         <constraint firstItem="lHt-h3-ZMr" firstAttribute="centerX" secondItem="kTE-cG-rrO" secondAttribute="centerX" id="uwk-Ky-fNU"/>
                     </constraints>
                 </customView>
@@ -107,7 +123,7 @@
         </customView>
     </objects>
     <resources>
-        <image name="NSStopProgressTemplate" width="17" height="16"/>
+        <image name="NSStopProgressTemplate" width="14" height="13"/>
         <image name="buttonCell:iDk-4N-SVc:image" width="1" height="1">
             <mutableData key="keyedArchiveRepresentation">
 YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05T

+ 3 - 0
PDF Office/PDF Master/Class/README.md

@@ -35,6 +35,9 @@
 - 【页面设置】
 * KMPageDisplayPropertiesViewController
 
+* 分割视图 KMSecondaryViewController
+* 入口 toggleSplitPDF
+
 ## xxx
 
 [sign in](https://www.baidu.com) the [dashboard](https://www.baidu.com). to [sign up](https://www.baidu.com)