5,318 questions
0
votes
0
answers
33
views
PyQt5 Parent/Child GraphicsItem Hover Behavior
I create several subclassed QGraphicRectItems with parent/child relationships to keep them in lock step on the screen. For whatever reason, the hover events on the children are triggering the parent ...
2
votes
2
answers
82
views
How to detect change in dynamic objects property?
I have 5 dynamic objects out of those 5, I am referring to only 2 here:
objCache.tab1.page1.status: when cache enable from tab
objCache.page1.status: when cache enable from page
In my html and .ts ...
3
votes
1
answer
75
views
Sending data from a parent component to a specific child component
I have a child component that I am showing multiple samples of them in a parent component as:
parent.html:
<app-parent>
@for (item of Items; track item; let index = $index) {
<app-...
0
votes
2
answers
60
views
How do I pass an updated object down to a Child Component in React?
I have this code where I've updated an object in React. When you click "Most upvoted", it takes an object, sorts it by votes, and then updates the state with it. The problem is, it won't ...
1
vote
1
answer
44
views
Angular when I try to change variable "size" to "mensaje" @Input, it doesnt Work with "mensaje"
I try to share data from Parent to Child and Child to Parent, with variable in template PARENT "mensaje", the template receive this input and show in the input text Child, but when I type ...
2
votes
4
answers
143
views
How to set state of a child widget from the parent widget?
I have a widget 'A' that displays Text(currentPlayerStatus). This widget is called 10 times from another widget 'B', one for each player in the list to display each player's status. Initially, all the ...
-3
votes
1
answer
118
views
How to bind child-data to parent element in WPF .xaml template
I got a new job recently and the tasks are deeper into WPF than my current expertise.
The application contains different templates for CheckBoxes. They contain multiple levels of children and i need ...
1
vote
0
answers
51
views
Make parent scroll with child in flutter
So, I have a widget in flutter that is inside a SingleChildScrollView. Inside the scrollview, I have a PageView. Now the issue is that the PageView contains different pages such as Home, About, etc. ...
0
votes
1
answer
50
views
Postgresql Recursive query not providing result as expected
I have PostgreSQL table which has records stored as tree values
create table doitestchk(node_id,entity_id,letter,parent_id)as values
(1,'Entity_id_1','10',null)
,(2,'Entity_id_1','93/rheumatology',1)
...
0
votes
1
answer
75
views
Get all parents and children for each record, including child-level and chain from main parent to child
I have a table with parent-child relationship. For a dashboard I am creating, I need to create a table so the dashboard (SAS Viya) can work with the table. For that I need to get for every company id (...
0
votes
1
answer
92
views
C++ Qt: How widgets actually contained inside parent? [closed]
How Qt internally holds widgets to process and render them? Does parent widgets have some kind of array with raw pointers to child objects? Or maybe some kind of smart pointers?
0
votes
1
answer
58
views
type="text" does not fallthrough to a vuejs child component having an <input> element
I have a child component with an <input> element. I can customize the component from a parent using several attributes like placeholder, maxlength, required, etc. But I cannot get type= to ...
0
votes
1
answer
62
views
Trigger function in parent or child window when location is local files
I am building an app with heavy media files. I am at a crossroads. It either needs a hefty messy pre-caching system or it needs to be bundled together using an HTML to EXE app. The EXE app is ...
0
votes
1
answer
61
views
Worldpress child theme: function NOT overriding
This is my function in wordpress child theme, but not overriding my style.css:
function my_child_scripts() {
wp_enqueue_script( 'my-child-script', get_stylesheet_directory_uri() . '/script.js', ...
0
votes
1
answer
56
views
emit changes from vue1 to a table of a q-tab-panel in vue2
i am trying to emit changes from my serialnumberdialog.vue to a table of a q-tab-panel in my viewdetails.vue.
please help me get the expected outcome. i already tried almost everything and asked for ...
0
votes
1
answer
40
views
Nested form in child component without FormGroup
I want to be able to reuse part of my form elsewhere, so I wanted to separate it into it's own component. I still want to submit the form through the parent component - no button or anything in the ...
1
vote
2
answers
674
views
Child Router is not receiving second path - ignoring child path
This is hour 10, I've tried 20 differnet configurations. the first set works fine. the children under company only evaluates
localhost:4200/Employee-pub/1 -\> localhost:4200/Employee-pub/1
...
0
votes
1
answer
438
views
How should I get FocusState from ChildView to ParentView in SwiftUI?
I have a problem how to deal with FocusState in my project.
My parent View has an enum created on top:
enum RegistrationFocus: Hashable {
case username, password, confirmPassword, nameAndSurname, ...
-1
votes
1
answer
33
views
Child container is ignoring parent container box and margins on RHS Margins [closed]
Context: Trying to build a responsive 'Menu' for an online course I'm taking.
Problem: Cannot understand why the child containers are ignoring the constraints of the parent container on the RHS of the ...
0
votes
0
answers
34
views
Unity - how do I use one child gameObject, out of lots, as a trigger to make them all invisible?
I'm currently making a small game, and one mechanic I'm working on is being able press a "plant flower" button, which triggers all the boxes, showing where you can plant it.
Then you click ...
4
votes
1
answer
525
views
How to change border radius of Tabs component in NextUI
I have a problem in the tabs component of nextui. I want to change the radius as in the picture but the element is not in the code structure. How to solve it?
]
]
I tried with className={{ wrapper: ‘...
1
vote
1
answer
57
views
Prepopulate Dialog Form with Data from Parent in React(Typescript)
Using Reactjs and Typescript, I have a parent component with data from api. It clicks to open a MUI Dialog with a form to edit but needs to be prepopulated with the data from the parents component. ...
0
votes
1
answer
60
views
Replace an empty element
As a part of my workflow I am receiving xml files, sometimes a specific element is empty and this leads to problems in the system, this is a sample input file:
<?xml version="1.0" ...
0
votes
1
answer
68
views
Automaticall generate pass through to child object function
I would like to automatically forward a function call to a child in python, so that the parent class has said function and then forwards the call to the child and returns the result to the caller. ...
0
votes
0
answers
24
views
Query to return parents and parents of parents from two tables in Mysql [duplicate]
See the Fiddle for details
https://sqlfiddle.com/mysql/online-compiler?id=e59b8453-f19b-4ff0-83f9-75f44b22626b
I've reviewed the other recursive answers which do not seem to answer my question. I am ...