Compare commits
No commits in common. "c41e51e0f3fc620a15be9d236a8e3720969f4d08" and "9ea6f08156ad2d42e2e68f7d4d5362ff140d2a4d" have entirely different histories.
c41e51e0f3
...
9ea6f08156
2 changed files with 16 additions and 20 deletions
|
@ -213,7 +213,7 @@ import QtQuick
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
// the screen from the screens list will be injected into this
|
// the screen from the screens list will be injected into this
|
||||||
// property
|
// property
|
||||||
required property var modelData
|
property var modelData
|
||||||
|
|
||||||
// we can then set the window's screen to the injected property
|
// we can then set the window's screen to the injected property
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
@ -280,7 +280,7 @@ import QtQuick
|
||||||
|
|
||||||
delegate: @@QtQml.Component {
|
delegate: @@QtQml.Component {
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -359,7 +359,7 @@ import QtQuick
|
||||||
|
|
||||||
delegate: @@QtQml.Component {
|
delegate: @@QtQml.Component {
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -429,7 +429,7 @@ import QtQuick
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -496,7 +496,7 @@ import QtQuick
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -574,7 +574,7 @@ import QtQuick
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -658,7 +658,7 @@ import Quickshell
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -745,7 +745,7 @@ import Quickshell
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
@@Quickshell.PanelWindow {
|
@@Quickshell.PanelWindow {
|
||||||
required property var modelData
|
property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
|
|
@ -83,33 +83,29 @@ const details = data.details
|
||||||
<subheading class="typedocs-subheading">
|
<subheading class="typedocs-subheading">
|
||||||
{details ? <span class="parsedMD" set:html={details}/> : (<span class="toparse">{data.description}</span>)}
|
{details ? <span class="parsedMD" set:html={details}/> : (<span class="toparse">{data.description}</span>)}
|
||||||
</subheading>
|
</subheading>
|
||||||
{ data.properties && propsKeys && propsKeys.length > 0 && (
|
{ data.properties && propsKeys ? (
|
||||||
<h2>Properties <a href="/docs/guide/qml-language#properties">[?]</a></h2>
|
|
||||||
<Properties
|
<Properties
|
||||||
propsData={data.properties}
|
propsData={data.properties}
|
||||||
propsKeys={propsKeys!}
|
propsKeys={propsKeys!}
|
||||||
/>
|
/>
|
||||||
)}
|
): null}
|
||||||
{ data.functions && data.functions.length > 0 && (
|
{ data.functions && data.functions.length > 0 ? (
|
||||||
<h2>Functions <a href="/docs/guide/qml-language#functions">[?]</a></h2>
|
|
||||||
<Functions
|
<Functions
|
||||||
funcData={data.functions}
|
funcData={data.functions}
|
||||||
/>
|
/>
|
||||||
)}
|
): null}
|
||||||
{ data.signals && signalKeys && signalKeys.length > 0 && (
|
{ data.signals && signalKeys ? (
|
||||||
<h2>Signals <a href="/docs/guide/qml-language#signals">[?]</a></h2>
|
|
||||||
<Signals
|
<Signals
|
||||||
signalsData={data.signals}
|
signalsData={data.signals}
|
||||||
signalKeys={signalKeys}
|
signalKeys={signalKeys}
|
||||||
/>
|
/>
|
||||||
)}
|
):null}
|
||||||
{ data.variants && variantKeys && variantKeys.length > 0 && (
|
{ data.variants && variantKeys ? (
|
||||||
<h2>Variants</h2>
|
|
||||||
<Variants
|
<Variants
|
||||||
variantsData={data.variants}
|
variantsData={data.variants}
|
||||||
variantKeys={variantKeys}
|
variantKeys={variantKeys}
|
||||||
/>
|
/>
|
||||||
)}
|
):null}
|
||||||
</section>
|
</section>
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue