Skip to content

Commit 84f5e89

Browse files
committed
docs: document new filemanager widget stylesheet options, fix typos
1 parent 8200692 commit 84f5e89

1 file changed

Lines changed: 34 additions & 8 deletions

File tree

docs/src/gui/qtvcp-widgets.adoc

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ This *displays the current G-code in a graphical form*.
797797

798798
.Stylesheets Properties
799799

800-
*`+_view+`* _(string)_::
800+
*`_view`* _(string)_::
801801
Sets the _default view orientation_ on GUI load. +
802802
Valid choices for a lathe are p, y, y2. For other screens, valid choices are p, x, y, z, z2. +
803803
The following shows an example of how to set this property:
@@ -809,7 +809,7 @@ This *displays the current G-code in a graphical form*.
809809
}
810810
----
811811

812-
*`+_dro+`* _(bool)_::
812+
*`_dro`* _(bool)_::
813813
Determines whether or not to _show the DRO_. +
814814
The following shows an example of how to set this property:
815815
+
@@ -820,7 +820,7 @@ This *displays the current G-code in a graphical form*.
820820
}
821821
----
822822

823-
*`+_dtg+`* _(bool)_::
823+
*`_dtg`* _(bool)_::
824824
Determine whether or not to _show the Distance To Go_. +
825825
The following shows an example of how to set this property:
826826
+
@@ -831,7 +831,7 @@ This *displays the current G-code in a graphical form*.
831831
}
832832
----
833833

834-
*`+_metric+`* _(bool)_::
834+
*`_metric`* _(bool)_::
835835
Determines whether or not to _show the units in metric by default_. +
836836
The following shows an example of how to set this property:
837837
+
@@ -842,7 +842,7 @@ This *displays the current G-code in a graphical form*.
842842
}
843843
----
844844

845-
*`+_overlay+`* _(bool)_::
845+
*`_overlay`* _(bool)_::
846846
Determines whether or not to _show the overlay by default_. +
847847
The following shows an example of how to set this property:
848848
+
@@ -853,7 +853,7 @@ This *displays the current G-code in a graphical form*.
853853
}
854854
----
855855

856-
*`+_offsets+`* _(bool)_::
856+
*`_offsets`* _(bool)_::
857857
Determines whether or not to _show the offsets by default_. +
858858
The following shows an example of how to set this property:
859859
+
@@ -864,7 +864,7 @@ This *displays the current G-code in a graphical form*.
864864
}
865865
----
866866

867-
*`+_small_origin+`* _(bool)_::
867+
*`_small_origin`* _(bool)_::
868868
Determines whether or not to _show the small origin by default_. +
869869
The following shows an example of how to set this property:
870870
+
@@ -2078,6 +2078,32 @@ if temp[1]:
20782078
print('Is a file')
20792079
----
20802080

2081+
.Stylesheets Properties
2082+
2083+
*`doubleClickSelection`* _(bool)_::
2084+
Determines whether or not to _require double clicking on a folder_. +
2085+
Single clicking a folder (False) is enabled by default and is intended for touch screen users. +
2086+
The following shows an example of how to set this property:
2087+
+
2088+
[source,{css}]
2089+
----
2090+
#filemanager {
2091+
qproperty-doubleClickSelection: True;
2092+
}
2093+
----
2094+
2095+
*`showListView`* _(bool)_::
2096+
Determines whether or not to _show the file/folder structure in list form_. +
2097+
Table view (False) is enabled by default. +
2098+
The following shows an example of how to set this property:
2099+
+
2100+
[source,{css}]
2101+
----
2102+
#filemanager {
2103+
qproperty-showListView: True;
2104+
}
2105+
----
2106+
20812107
It is based on PyQt's FIXME
20822108

20832109
[[sub:qtvcp:widgets:radioaxisselector]]
@@ -2773,7 +2799,7 @@ There are several properties that can be selected to aid with this:
27732799
*`isRunSensitive`*::
27742800
*`isManSensitive`*::
27752801
*`isMDISensitive`*::
2776-
*`isAitoSensitive`*::
2802+
*`isAutoSensitive`*::
27772803

27782804
You can select multiple properties for combined requirements.
27792805

0 commit comments

Comments
 (0)