mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Add ability to change piece size during torrent creation in MacOS GUI… (#2805)
* Add ability to change piece size during torrent creation in MacOS GUI (#2416) * Shouldn't have committed the xcodeproj file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,3 +22,4 @@ node_modules/
|
||||
po/*.mo
|
||||
third-party/miniupnp/miniupnpcstrings.h
|
||||
web/public_html/transmission-app.js.map
|
||||
.DS_Store
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
- (IBAction)create:(id)sender;
|
||||
- (IBAction)cancelCreateWindow:(id)sender;
|
||||
- (IBAction)cancelCreateProgress:(id)sender;
|
||||
|
||||
- (IBAction)incrementOrDecrementPieceSize:(id)sender;
|
||||
- (IBAction)addRemoveTracker:(id)sender;
|
||||
|
||||
- (void)copy:(id)sender;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <libtransmission/makemeta.h>
|
||||
#include <libtransmission/utils.h>
|
||||
#include <libtransmission/web-utils.h> // tr_urlIsValidTracker()
|
||||
#include <cmath>
|
||||
|
||||
#import "CreatorWindowController.h"
|
||||
#import "Controller.h"
|
||||
@@ -28,6 +29,7 @@
|
||||
@property(nonatomic) IBOutlet NSButton* fPrivateCheck;
|
||||
@property(nonatomic) IBOutlet NSButton* fOpenCheck;
|
||||
@property(nonatomic) IBOutlet NSTextField* fSource;
|
||||
@property(nonatomic) IBOutlet NSStepper* fPieceSizeStepper;
|
||||
|
||||
@property(nonatomic) IBOutlet NSView* fProgressView;
|
||||
@property(nonatomic) IBOutlet NSProgressIndicator* fProgressIndicator;
|
||||
@@ -187,17 +189,8 @@ NSMutableSet* creatorWindowControllerSet = nil;
|
||||
}
|
||||
self.fStatusField.stringValue = statusString;
|
||||
|
||||
if (self.fInfo->pieceCount == 1)
|
||||
{
|
||||
self.fPiecesField.stringValue = [NSString stringWithFormat:NSLocalizedString(@"1 piece, %@", "Create torrent -> info"),
|
||||
[NSString stringForFileSize:self.fInfo->pieceSize]];
|
||||
}
|
||||
else
|
||||
{
|
||||
self.fPiecesField.stringValue = [NSString stringWithFormat:NSLocalizedString(@"%d pieces, %@ each", "Create torrent -> info"),
|
||||
self.fInfo->pieceCount,
|
||||
[NSString stringForFileSize:self.fInfo->pieceSize]];
|
||||
}
|
||||
[self updatePiecesField];
|
||||
[self.fPieceSizeStepper setIntValue:(int)log2((double)self.fInfo->pieceSize)];
|
||||
|
||||
self.fLocation = [[self.fDefaults URLForKey:@"CreatorLocationURL"] URLByAppendingPathComponent:[name stringByAppendingPathExtension:@"torrent"]];
|
||||
if (!self.fLocation)
|
||||
@@ -364,6 +357,14 @@ NSMutableSet* creatorWindowControllerSet = nil;
|
||||
[self.fTimer fire];
|
||||
}
|
||||
|
||||
- (IBAction)incrementOrDecrementPieceSize:(id)sender
|
||||
{
|
||||
uint32_t pieceSize = (uint32_t)pow(2.0, [sender intValue]);
|
||||
if (tr_metaInfoBuilderSetPieceSize(self.fInfo, pieceSize)) {
|
||||
[self updatePiecesField];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSInteger)numberOfRowsInTableView:(NSTableView*)tableView
|
||||
{
|
||||
return self.fTrackers.count;
|
||||
@@ -507,6 +508,21 @@ NSMutableSet* creatorWindowControllerSet = nil;
|
||||
|
||||
#pragma mark - Private
|
||||
|
||||
- (void)updatePiecesField
|
||||
{
|
||||
if (self.fInfo->pieceCount == 1)
|
||||
{
|
||||
self.fPiecesField.stringValue = [NSString stringWithFormat:NSLocalizedString(@"1 piece, %@", "Create torrent -> info"),
|
||||
[NSString stringForFileSize:self.fInfo->pieceSize]];
|
||||
}
|
||||
else
|
||||
{
|
||||
self.fPiecesField.stringValue = [NSString stringWithFormat:NSLocalizedString(@"%d pieces, %@ each", "Create torrent -> info"),
|
||||
self.fInfo->pieceCount,
|
||||
[NSString stringForFileSize:self.fInfo->pieceSize]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateLocationField
|
||||
{
|
||||
NSString* pathString = self.fLocation.path;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="uTm-Zf-xrb" id="do1-Ov-Bc5"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="290" y="98" width="401" height="17"/>
|
||||
<rect key="frame" x="290" y="98" width="380" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="piece info" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -280,6 +281,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uTm-Zf-xrb">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="NqF-2B-m6R"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="6ZI-8D-fhl"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="37D-IL-wyl" id="vxo-cG-g4i"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="432" width="563" height="399"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="563" height="399"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="563" height="399"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="176" y="93" width="370" height="17"/>
|
||||
<rect key="frame" x="176" y="93" width="349" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="piece info" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -284,6 +285,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="37D-IL-wyl">
|
||||
<rect key="frame" x="528" y="87" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Tsd-fZ-bfW"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="kfi-cS-9Vh"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="bbO-nc-7cI" id="1nJ-9M-qff"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -30,7 +31,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -181,7 +182,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="piece info" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -281,6 +282,14 @@ Gw
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bbO-nc-7cI">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" alignment="left" minValue="1" maxValue="1000" doubleValue="1" autorepeat="NO" id="53C-Ri-3gc"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="YDm-9R-hMY"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
@@ -317,6 +326,7 @@ Gw
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
</progressIndicator>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="139" y="465"/>
|
||||
</customView>
|
||||
</objects>
|
||||
<resources>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="Tap-65-kFh" id="E7h-6D-SMQ"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="(Información sobre partes)" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -280,6 +281,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Tap-65-kFh">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Qno-6w-84b"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="8es-R5-KFN"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="kgY-V4-aZf" id="KGh-tI-bGN"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="info de pièce" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -284,6 +285,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kgY-V4-aZf">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="wUm-mu-nJ9"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="yMg-PH-eQM"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="qRY-TZ-cEF" id="3Ch-Lk-brs"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="informazioni sulle parti" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -280,6 +281,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qRY-TZ-cEF">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Opq-wC-Nlu"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="sPE-UC-7PM"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="rLQ-hy-oe4" id="hHp-KB-4PY"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="fragment info" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -284,6 +285,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rLQ-hy-oe4">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="8xv-Gf-HiQ"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="vb1-zq-2NL"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="oRH-U0-aoR" id="vju-ym-bZc"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="informação de pedaços" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -284,6 +285,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oRH-U0-aoR">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="lEM-sS-bUF"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="NsC-cN-Ain"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="Qjm-SI-ujD" id="H6D-WH-uGX"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="информация о частях" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -280,6 +281,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qjm-SI-ujD">
|
||||
<rect key="frame" x="672" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="kqg-5C-t4O"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="pO0-95-66d"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19162"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,6 +13,7 @@
|
||||
<outlet property="fLocationField" destination="20" id="30"/>
|
||||
<outlet property="fNameField" destination="9" id="31"/>
|
||||
<outlet property="fOpenCheck" destination="63" id="64"/>
|
||||
<outlet property="fPieceSizeStepper" destination="Gof-3e-Gvf" id="fHy-Rm-qNk"/>
|
||||
<outlet property="fPiecesField" destination="26" id="32"/>
|
||||
<outlet property="fPrivateCheck" destination="22" id="33"/>
|
||||
<outlet property="fProgressIndicator" destination="57" id="61"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES"/>
|
||||
<rect key="contentRect" x="244" y="423" width="708" height="408"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2048" height="1255"/>
|
||||
<value key="minSize" type="size" width="440" height="350"/>
|
||||
<view key="contentView" id="6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="708" height="408"/>
|
||||
@@ -180,7 +181,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26">
|
||||
<rect key="frame" x="169" y="98" width="522" height="17"/>
|
||||
<rect key="frame" x="169" y="98" width="501" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="parça bilgisi" id="80">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -280,6 +281,14 @@ Gw
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Gof-3e-Gvf">
|
||||
<rect key="frame" x="673" y="92" width="19" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="7cy-4I-gZn"/>
|
||||
<connections>
|
||||
<action selector="incrementOrDecrementPieceSize:" target="-2" id="LAg-nh-n8R"/>
|
||||
</connections>
|
||||
</stepper>
|
||||
</subviews>
|
||||
</view>
|
||||
<connections>
|
||||
|
||||
Reference in New Issue
Block a user