Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
b8749bbb
Commit
b8749bbb
authored
May 18, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt command 'set graph/escapestore' added
parent
b052da9b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
97 additions
and
16 deletions
+97
-16
src/doc/man/en_us/man_geref.dat
src/doc/man/en_us/man_geref.dat
+10
-1
src/doc/man/en_us/man_opg.dat
src/doc/man/en_us/man_opg.dat
+14
-0
src/doc/man/sv_se/man_geref.dat
src/doc/man/sv_se/man_geref.dat
+8
-0
src/doc/man/sv_se/man_opg.dat
src/doc/man/sv_se/man_opg.dat
+15
-0
xtt/lib/ge/src/ge_graph.cpp
xtt/lib/ge/src/ge_graph.cpp
+20
-14
xtt/lib/xtt/src/xtt_xnav_command.cpp
xtt/lib/xtt/src/xtt_xnav_command.cpp
+30
-1
No files found.
src/doc/man/en_us/man_geref.dat
View file @
b8749bbb
...
@@ -4033,12 +4033,21 @@ dynamics specified. The value is changed by clicking MB1 on the object.
...
@@ -4033,12 +4033,21 @@ dynamics specified. The value is changed by clicking MB1 on the object.
The signal is specified in Value.Attribute.
The signal is specified in Value.Attribute.
<b>Attribute <t><t>Description
<b>Attribute <t><t>Description
ValueInput.MinValu
le
<t><t>Minimum input value.
ValueInput.MinValu
e
<t><t>Minimum input value.
ValueInput.MaxValue <t><t>Maximum input value.
ValueInput.MaxValue <t><t>Maximum input value.
ValueInput.Clear <t><t>The field is cleared when opened for input.
ValueInput.Clear <t><t>The field is cleared when opened for input.
ValueInput.Popup <t><t>Input is done in a popup box.
ValueInput.Popup <t><t>Input is done in a popup box.
ValueInput.Unselect <t><t>The text in the field is not selected when the
ValueInput.Unselect <t><t>The text in the field is not selected when the
<t><t>field is opened for input.
<t><t>field is opened for input.
ValueInput.EscapeStore <t><t>Normally a value is stored into database when Enter
<t><t>is pressed, but with EscapeStore, the storage is
<t><t>also done when when input focus is lost.
<t><t>I will also be stored by the xtt command 'set graph /escapestore'.
ValueInput.MinValueAttr <t><t>Signal for minimum input value.
ValueInput.MaxValueAttr <t><t>Signal for maximum input value.
ValueInput.KeyboardType <t><t>Type of virtual keyboard that is opened when the field
<t><t>has input focus. Requires that VirtualKeyboards is enbled for the
<t><t>operator place.
</topic>
</topic>
<topic>GeDynToolTip <style>function
<topic>GeDynToolTip <style>function
...
...
src/doc/man/en_us/man_opg.dat
View file @
b8749bbb
...
@@ -1606,6 +1606,7 @@ set display<t>Set format of display for selected attribute <LINK> set display
...
@@ -1606,6 +1606,7 @@ set display<t>Set format of display for selected attribute <LINK> set display
set folder <t>Set a folder in a tabbed window. <LINK> set folder
set folder <t>Set a folder in a tabbed window. <LINK> set folder
set parameter<t>Set the value of an attribute <LINK> set parameter
set parameter<t>Set the value of an attribute <LINK> set parameter
set subwindow<t>View a graph in a Ge window object. <LINK> set subwindow
set subwindow<t>View a graph in a Ge window object. <LINK> set subwindow
set graph <t>Handling of a graph <LINK> set graph
setup <t>Xtt setup <LINK> setup
setup <t>Xtt setup <LINK> setup
show version<t>Show xtt version <LINK> show version
show version<t>Show xtt version <LINK> show version
show symbol <t>Show a symbol <LINK> show symbol
show symbol <t>Show a symbol <LINK> show symbol
...
@@ -2518,6 +2519,19 @@ as identity.
...
@@ -2518,6 +2519,19 @@ as identity.
<B>xtt> set display float
<B>xtt> set display float
<B>xtt> set display identity
<B>xtt> set display identity
</TOPIC>
<TOPIC> set graph <style> function
Command set graph
Executes a storage of open inputfields with the EscapeStore property set.
<B>xtt> set graph 'filename' /escapestore [/instance=]
/escapestore <t>Executes a storage of open inputfields with the EscapeStore
<t>property set.
/instance <t>Instance specified for the graph.
</TOPIC>
</TOPIC>
<TOPIC> setup <style> function
<TOPIC> setup <style> function
...
...
src/doc/man/sv_se/man_geref.dat
View file @
b8749bbb
...
@@ -3991,6 +3991,14 @@ ValueInput.MaxValue <t><t>Maximiv
...
@@ -3991,6 +3991,14 @@ ValueInput.MaxValue <t><t>Maximiv
ValueInput.Clear <t><t>Fältet töms när det öppnas för inmatning.
ValueInput.Clear <t><t>Fältet töms när det öppnas för inmatning.
ValueInput.Popup <t><t>Vid inmatning öppnas ett inmatningsfönster.
ValueInput.Popup <t><t>Vid inmatning öppnas ett inmatningsfönster.
ValueInput.Unselect <t><t>Texten i fältet markeras inte när fältet öppnas för inmatning.
ValueInput.Unselect <t><t>Texten i fältet markeras inte när fältet öppnas för inmatning.
ValueInput.EscapeStore <t><t>Om fältet är öppet när grafen stängs, lagras det imatade
<t><t>värdet i databasen. Det lagras även av xtt kommandot
<t><t>'set graph /escapestore'.
ValueInput.MinValueAttr <t><t>Signal för minivärde vid inmatning.
ValueInput.MaxValueAttr <t><t>Signal för maxivärde vid inmatning.
ValueInput.KeyboardType <t><t>Typ av virtuellt tangentbord som öppnas när fältet har
<t><t>input focus. Kräver att VirtualKeyboard är angivet för
<t><t>operatörsplatsen.
</topic>
</topic>
<topic>GeDynToolTip <style>function
<topic>GeDynToolTip <style>function
...
...
src/doc/man/sv_se/man_opg.dat
View file @
b8749bbb
...
@@ -1621,6 +1621,7 @@ set display<t>S
...
@@ -1621,6 +1621,7 @@ set display<t>S
set folder <t>Aktivera en flik i ett flikfönster. <LINK> set folder
set folder <t>Aktivera en flik i ett flikfönster. <LINK> set folder
set parameter<t>Sätt värdet på ett attribut <LINK> set parameter
set parameter<t>Sätt värdet på ett attribut <LINK> set parameter
set subwindow<t>Visa in graf i ett Ge window objekt. <LINK> set subwindow
set subwindow<t>Visa in graf i ett Ge window objekt. <LINK> set subwindow
set graph <t>Hantering av graf. <LINK> set graph
setup <t>Xtt konfigurering <LINK> setup
setup <t>Xtt konfigurering <LINK> setup
show version<t>Visa xtt version <LINK> show version
show version<t>Visa xtt version <LINK> show version
show symbol <t>Visa en symbol <LINK> show symbol
show symbol <t>Visa en symbol <LINK> show symbol
...
@@ -2328,6 +2329,20 @@ identiteter.
...
@@ -2328,6 +2329,20 @@ identiteter.
<B>xtt> set display float
<B>xtt> set display float
<B>xtt> set display identity
<B>xtt> set display identity
</TOPIC>
<TOPIC> set graph <style> function
Command set graph
Utför lagring av öppna inmatningsfält med egenskapen EscapeStore satt,
som ännu inte är lagrade i databasen.
<B>xtt> set graph 'filename' /escapestore [/instance=]
/escapestore <t>Utför lagring av öppna inmatningsfält med egenskapen EscapeStore satt,
<t>som ännu inte är lagrade i databasen.
/instance <t>Instansobject specificerat för grafen.
</TOPIC>
</TOPIC>
<TOPIC> setup <style> function
<TOPIC> setup <style> function
...
...
xtt/lib/ge/src/ge_graph.cpp
View file @
b8749bbb
...
@@ -4305,6 +4305,12 @@ int Graph::set_object_focus( const char *name, int empty)
...
@@ -4305,6 +4305,12 @@ int Graph::set_object_focus( const char *name, int empty)
grow_tObject
object
;
grow_tObject
object
;
GeDyn
*
dyn
;
GeDyn
*
dyn
;
if
(
!
name
)
{
// Remove focus
grow_ResetInputFocusAll
(
grow
->
ctx
);
}
else
{
// Set focus
if
(
!
change_value_cb
)
if
(
!
change_value_cb
)
return
0
;
return
0
;
...
@@ -4323,7 +4329,7 @@ int Graph::set_object_focus( const char *name, int empty)
...
@@ -4323,7 +4329,7 @@ int Graph::set_object_focus( const char *name, int empty)
if
(
action_type1
&
ge_mActionType1_InputFocus
||
action_type1
&
ge_mActionType1_ValueInput
)
if
(
action_type1
&
ge_mActionType1_InputFocus
||
action_type1
&
ge_mActionType1_ValueInput
)
grow_SetObjectInputFocus
(
object
,
1
,
glow_eEvent_Null
);
grow_SetObjectInputFocus
(
object
,
1
,
glow_eEvent_Null
);
}
return
GE__SUCCESS
;
return
GE__SUCCESS
;
}
}
...
...
xtt/lib/xtt/src/xtt_xnav_command.cpp
View file @
b8749bbb
...
@@ -369,7 +369,7 @@ dcli_tCmdTable xnav_command_table[] = {
...
@@ -369,7 +369,7 @@ dcli_tCmdTable xnav_command_table[] = {
&
xnav_set_func
,
&
xnav_set_func
,
{
"dcli_arg1"
,
"dcli_arg2"
,
"/NAME"
,
"/VALUE"
,
{
"dcli_arg1"
,
"dcli_arg2"
,
"/NAME"
,
"/VALUE"
,
"/BYPASS"
,
"/PUBLICWRITE"
,
"/INDEX"
,
"/SOURCE"
,
"/OBJECT"
,
"/CONTINUE"
,
"/BYPASS"
,
"/PUBLICWRITE"
,
"/INDEX"
,
"/SOURCE"
,
"/OBJECT"
,
"/CONTINUE"
,
"/X0"
,
"/Y0"
,
"/X1"
,
"/Y1"
,
""
}
"/X0"
,
"/Y0"
,
"/X1"
,
"/Y1"
,
"
/INSTANCE"
,
"/ESCAPESTORE"
,
"
"
}
},
},
{
{
"SETUP"
,
"SETUP"
,
...
@@ -1194,6 +1194,35 @@ static int xnav_set_func( void *client_data,
...
@@ -1194,6 +1194,35 @@ static int xnav_set_func( void *client_data,
if
(
xnav
->
op
)
if
(
xnav
->
op
)
xnav
->
op
->
set_color_theme
(
idx
);
xnav
->
op
->
set_color_theme
(
idx
);
}
}
else
if
(
cdh_NoCaseStrncmp
(
arg1_str
,
"GRAPH"
,
strlen
(
arg1_str
))
==
0
)
{
// Command is "SET GRAPH"
pwr_tAName
instance_str
;
char
*
instance_p
=
0
;
char
name_str
[
200
];
XttGe
*
gectx
;
if
(
ODD
(
dcli_get_qualifier
(
"/INSTANCE"
,
instance_str
,
sizeof
(
instance_str
))))
instance_p
=
instance_str
;
if
(
EVEN
(
dcli_get_qualifier
(
"dcli_arg2"
,
name_str
,
sizeof
(
name_str
))))
{
xnav
->
message
(
'E'
,
"Syntax error"
);
return
XNAV__SUCCESS
;
}
if
(
!
xnav
->
appl
.
find
(
applist_eType_Graph
,
name_str
,
instance_p
,
(
void
**
)
&
gectx
))
{
xnav
->
message
(
'E'
,
"Graph not found"
);
return
XNAV__SUCCESS
;
}
if
(
ODD
(
dcli_get_qualifier
(
"/ESCAPESTORE"
,
0
,
0
)))
{
gectx
->
set_object_focus
(
0
,
0
);
}
else
{
xnav
->
message
(
'E'
,
"Syntax error"
);
return
XNAV__SUCCESS
;
}
}
else
else
xnav
->
message
(
'E'
,
"Syntax error"
);
xnav
->
message
(
'E'
,
"Syntax error"
);
return
1
;
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment