forked from Tevemadar/QuickNII
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAboutPop.mxml
53 lines (48 loc) · 2.8 KB
/
AboutPop.mxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="About" close="AboutPop_closeHandler(event)" creationComplete="AboutPop_creationCompleteHandler(event)"
width="640" height="480">
<fx:Script>
<![CDATA[
import flash.net.navigateToURL;
import flashx.textLayout.conversion.TextConverter;
import mx.controls.Alert;
import mx.events.CloseEvent;
import mx.events.FlexEvent;
public static var atlasText:String;
public static var main:QuickNII;
protected function AboutPop_closeHandler(event:CloseEvent):void {
main.removePop();
}
protected function test_linkHandler(event:TextEvent):void {
navigateToURL(new URLRequest(event.text),"_new");
}
protected function AboutPop_creationCompleteHandler(event:FlexEvent):void {
atlas_desc.textFlow=TextConverter.importToFlow(atlasText,TextConverter.TEXT_FIELD_HTML_FORMAT);
}
]]>
</fx:Script>
<fx:Declarations>
<s:TextFlow id="desc_qnii"><s:a href="https://www.nitrc.org/projects/quicknii/">QuickNII</s:a> is developed at the Neural Systems Laboratory, Institute of Basic Medical Sciences, University of Oslo (Norway), with funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Framework Partnership Agreement No. 650003 (HBP FPA).
<s:br/>
<s:br/><s:span fontWeight="bold">Citation:</s:span>
<s:br/>- RRID on <s:a href="https://scicrunch.org/scicrunch/Resources/record/nlx_144509-1/SCR_016854/resolver">SciCrunch</s:a>: (QuickNII, RRID:SCR_016854)
<s:br/>- Puchades et al. Spatial Registration of Serial Microscopic Brain Images to Three-dimensional Reference
<s:br/><s:span color="#FFFFFF">-</s:span> Atlases with the QuickNII tool. PLOS ONE, 2019
<s:br/>
<s:br/>See also references page on <s:a href="https://www.nitrc.org/plugins/mwiki/index.php/quicknii:References">NITRC</s:a>.
<s:br/>
<s:br/>Contact: <s:a href="mailto:[email protected]">[email protected]</s:a>
</s:TextFlow>
<s:TextFlow id="cright_qnii">Created by Gergely Csucs, NeSys
<s:br/>© 2015-2019, University of Oslo
</s:TextFlow>
</fx:Declarations>
<s:Label x="10" y="10" text="QuickNII v2.2" width="618" verticalAlign="middle" textAlign="center" fontWeight="bold" height="24"/>
<mx:HRule x="199" y="43" width="241"/>
<s:RichEditableText x="10" y="53" focusEnabled="false" editable="false" height="149" width="618" textFlow="{desc_qnii}"/>
<s:RichEditableText x="10" y="210" id="atlas_desc" focusEnabled="false" editable="false" width="618" height="161"/>
<s:RichEditableText x="10" y="376" focusEnabled="false" editable="false" height="61" width="618" textFlow="{cright_qnii}" verticalAlign="bottom"/>
</s:TitleWindow>