slot Questions
5
Solved
There is an object of class QNetworkReply. There is a slot (in some other object) connected to its finished() signal. Signals are synchronous (the default ones). There is only one thread.
At some ...
Capacitate asked 3/2, 2011 at 15:39
4
i need to to focus ref with name test1 a set some value which is placed in compontend slot (from outside). Is it possible to do it somehow? I tried to get from $refs or $slots, but failed.
App.vue
...
1
Solved
In my vue 3 script setup component, I have this
<template>
<table>
<tbody>
<template v-for="(row, i) in componentProps.rows">
<tr v-for="(header, j) in...
6
Solved
Is it only me who have the problem with extracting coordinates of a polygon from SpatialPolygonsDataFrame object? I am able to extract other slots of the object (ID,plotOrder) but not coordinates (...
Herwin asked 22/4, 2015 at 16:10
6
Solved
OR other way to formulate my question (though it didn't solve my problem): 'QObject::QObject' cannot access private member declared in class 'QObject'
I need SIGNALs and SLOTS func...
Rizo asked 21/9, 2011 at 15:38
2
Solved
Let's say I define an S4 class 'foo' with two slots 'a' and 'b', and define an object x of class 'foo',
setClass(Class = 'foo', slots = c(
a = 'numeric',
b = 'character'
))
x <- new('foo', a =...
2
Solved
I am dealing with this situation...
<template>
<slot name="thing"></slot>
<slot name="other"></slot>
</template>
and an implementation like
<custom-elem...
Oddment asked 15/1, 2020 at 3:25
4
Solved
I'm a beginner in Qt and trying to understand the SIGNAL and SLOT macros. When I'm learning to use the connect method to bind the signal and slot, I found the tutorials on Qt's official reference p...
3
Solved
I assign a slot with this.
...
self.query = QtGui.QLineEdit(self)
self.query.textChanged.connect(lambda: self.makeThread(self.googleSearch()))
self.query.returnPressed.connect(lambda: self.launch...
Timberlake asked 24/3, 2013 at 15:2
1
Solved
I can't figure how to implement the select all option for my data-table using Vuetify v2 when I have a custom implementation for the slot body.
Here is a little example:
<template>
<v-c...
Stout asked 27/8, 2019 at 8:56
1
When I tried to use two parameters in vue slot scope, I can't find any example about it. When I use the following code to achieve my needs, it will report a parsing error
<template v-slot:name=...
1
Refer to the code below, currently all the children were rendered inside the default slot even though the slot name is given.
Not sure whether vue createElement function supports named slot?
@Com...
Labuan asked 28/5, 2017 at 3:36
1
Solved
I have a web component custom element defined like so.
<template id="dropdown-template">
<select>
<slot></slot>
</select>
</template>
<script>
clas...
Ebsen asked 28/5, 2019 at 23:34
3
Solved
Let's say we have the follogin UI:
+--------------------------+
|W1 +--------------+ |
| |W2 | |
| | +----------+ | |
| | |W3 | | |
| | +----------+ | |
| | | |
| +--------------+ |
+-------------...
Interruption asked 3/8, 2010 at 17:10
4
Solved
3
Solved
First, I have a list of QWidgets that I won't know the length of until runtime. I then create a QListWidget where I show them and when someone clicks them I use the signal currentItemChanged(QListW...
1
I'm writing a small collection of Vue components to create a library to use in future projects, but I'm quite confused about this topic; maybe I need a completely different approach, but I don't kn...
Balough asked 19/7, 2018 at 16:35
3
Solved
I have trouble figuring out how to get the following to work:
My parent template
<comp>
<a href="#" slot="links">link 1</a>
<a href="#" slot=&qu...
Kittykitwe asked 25/2, 2018 at 15:26
1
Solved
Recently I found out that I can't use computed property or a data properties within the components slot. Even though computed is defined in the component, I am not able to use it in the component's...
Smegma asked 26/1, 2018 at 10:58
1
In QT Creator, design mode, I right-click on a widget and select "Go to slot" and it creates a slot function for one of the widget's signals.
I would have thought that this would have gen...
Purcell asked 11/5, 2017 at 14:20
2
Solved
Is it valid to call
QObject::connect(a, SIGNAL(somesig(someparam)), b, SLOT(someslot()));
without params? It seems to work (no runtime exception thrown) but I can't find a reference in the docs....
2
1
Solved
I have searched SO for this question, but they were a bit different than mine. My problem is that I don't want to receive a signal from another thread, but I want to send one. Receiving works in my...
Mcdougal asked 28/4, 2015 at 14:12
1
Solved
1
Solved
Inside the constructor, there is a connection:
connect(&amskspace::on_board_computer_model::self(),
SIGNAL(camera_status_changed(const amskspace::camera_status_t&)),
this,
SLOT(set_came...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.