diff options
author | ritsuka <[email protected]> | 2015-03-24 07:32:31 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-24 07:32:31 +0000 |
commit | 467cc4ed93771aae1d6dca546758dffe5312899b (patch) | |
tree | 7e095561b8f34da6df9ce7c922478adcea1a3f80 /macosx/English.lproj/ExceptionAlert.xib | |
parent | 4a700442ef0cff37f4419faf5045caec59d8a126 (diff) |
MacGui: add an alert window to show the exceptions not handled. Hopefully it will make it easier for users to report this kind of issue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7010 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/English.lproj/ExceptionAlert.xib')
-rw-r--r-- | macosx/English.lproj/ExceptionAlert.xib | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/macosx/English.lproj/ExceptionAlert.xib b/macosx/English.lproj/ExceptionAlert.xib new file mode 100644 index 000000000..2b0c747a3 --- /dev/null +++ b/macosx/English.lproj/ExceptionAlert.xib @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7525" systemVersion="14D113c" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" promptedForUpgradeToXcode5="NO"> + <dependencies> + <deployment identifier="macosx"/> + <development version="6100" identifier="xcode"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7525"/> + </dependencies> + <objects> + <customObject id="-2" userLabel="File's Owner" customClass="MyExceptionAlertController"> + <connections> + <outlet property="window" destination="1" id="17"/> + </connections> + </customObject> + <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> + <customObject id="-3" userLabel="Application"/> + <window title="Internal Error" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" animationBehavior="default" id="1"> + <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/> + <rect key="contentRect" x="196" y="127" width="636" height="383"/> + <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/> + <value key="minSize" type="size" width="636" height="383"/> + <view key="contentView" id="2"> + <rect key="frame" x="0.0" y="0.0" width="636" height="383"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <imageView id="3"> + <rect key="frame" x="20" y="302" width="70" height="61"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="4"/> + </imageView> + <textField verticalHuggingPriority="750" id="9"> + <rect key="frame" x="95" y="323" width="524" height="40"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> + <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="An internal error has occurred. You can choose to continue in an unstable state, or crash." id="10"> + <font key="font" metaFont="systemBold"/> + <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <textField verticalHuggingPriority="750" id="11"> + <rect key="frame" x="95" y="282" width="339" height="41"/> + <autoresizingMask key="autoresizingMask" flexibleMinY="YES"/> + <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Reason contents go here." id="12"> + <font key="font" metaFont="smallSystem"/> + <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + <connections> + <binding destination="-2" name="value" keyPath="exceptionMessage" id="27"> + <dictionary key="options"> + <bool key="NSAllowsEditingMultipleValuesSelection" value="NO"/> + </dictionary> + </binding> + </connections> + </textField> + <button verticalHuggingPriority="750" id="13"> + <rect key="frame" x="418" y="12" width="96" height="32"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/> + <buttonCell key="cell" type="push" title="Crash" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="14"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="system"/> + <string key="keyEquivalent" base64-UTF8="YES"> +Gw +</string> + </buttonCell> + <connections> + <action selector="btnCrashClicked:" target="-2" id="24"/> + </connections> + </button> + <button verticalHuggingPriority="750" id="15"> + <rect key="frame" x="526" y="12" width="97" height="32"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/> + <buttonCell key="cell" type="push" title="Continue" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="16"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="system"/> + <string key="keyEquivalent" base64-UTF8="YES"> +DQ +</string> + </buttonCell> + <connections> + <action selector="btnContinueClicked:" target="-2" id="23"/> + </connections> + </button> + <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="19"> + <rect key="frame" x="20" y="60" width="596" height="206"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <clipView key="contentView" id="RBQ-rK-0Rs"> + <rect key="frame" x="1" y="1" width="594" height="204"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textView importsGraphics="NO" findStyle="panel" continuousSpellChecking="YES" allowsUndo="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" spellingCorrection="YES" smartInsertDelete="YES" id="22"> + <rect key="frame" x="0.0" y="0.0" width="594" height="204"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <size key="minSize" width="594" height="204"/> + <size key="maxSize" width="759" height="10000000"/> + <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> + <size key="minSize" width="594" height="204"/> + <size key="maxSize" width="759" height="10000000"/> + <connections> + <binding destination="-2" name="attributedString" keyPath="exceptionBacktrace" id="28"/> + </connections> + </textView> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + </clipView> + <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="21"> + <rect key="frame" x="-100" y="-100" width="87" height="18"/> + <autoresizingMask key="autoresizingMask"/> + </scroller> + <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="20"> + <rect key="frame" x="579" y="1" width="16" height="204"/> + <autoresizingMask key="autoresizingMask"/> + </scroller> + </scrollView> + </subviews> + </view> + <connections> + <outlet property="initialFirstResponder" destination="13" id="29"/> + </connections> + <point key="canvasLocation" x="256" y="550.5"/> + </window> + </objects> + <resources> + <image name="NSApplicationIcon" width="128" height="128"/> + </resources> +</document> |