Questions tagged [emit]

Emit is a Python library for realtime data processing.

Emit is a Python library for realtime data processing. It can distribute work with Celery or RQ, coordinate execution in other languages, and let you swing from the trees of your graph with Tarzan-like precision.

387 questions
0
votes
2 answers

Python QT emit SIGNAL is not invoking callback function

I have the following piece of code: def callback(param): print "in callback" class Test(QThread): def __init__(self): QThread.__init__(self) #QObject.connect(self, SIGNAL("test_signal(PyQt_PyObject)"), callback) …
Gerald T
  • 25
  • 5
0
votes
1 answer

can I depict opcodes in inline assembly? (GNU or OSX)

I have to translate windows assembly with __emit directive & opcode and transform it as OSX assembly. The original code look like, __asm { test: __emit 0x0008 . . . } (0x0008 means nothing, just example) I'm wondering, is there any…
cordis3
  • 67
  • 1
  • 3
0
votes
1 answer

new SIGNAL in Qt won't be emitted

I've written this piece of the code A QWidget which has a QSlider and QLineEdit They are connected to each other with their value. there are two new SLOTs which will convert their values and will call other widget to change its value. until here,…
Nixmd
  • 775
  • 5
  • 11
  • 20
0
votes
2 answers

Qt c++ double emit Data

I have a multiserverapp that works fine so far. I got 4 cpp files. Main.cpp constructs the program. MainWindow.cpp constructs the ui and starts (via buttonclick) MyServer.cpp. MyServer.cpp creates a thread and starts MyThread.cpp. My aim is to show…
beary
  • 41
  • 2
  • 7
0
votes
1 answer

qt c emit textbrowser

I had this very simple server app, that worked perfect in a console. Now I switched to gui and made a new project, with nearly everything just as in the console project. One of the diffrences is the way of displaying my output. Instead of qDebug()…
beary
  • 41
  • 2
  • 7
0
votes
1 answer

PyQt - Getting an error when trying to use emit

I am trying to use emit for the first time in PyQt. I have done a lot of reading and googling and I was sure I had this correct but I keep getting the errors shown below. Can anyone shed some light on what I am doing wrong. def…
PrestonDocks
  • 4,851
  • 9
  • 47
  • 82
0
votes
1 answer

Using .emit from POST

Is there a way to emit to the current socket within a post method of node.js using socket.io and express without having to go through the io.sockets.on('connection')? Here is my issue. I am making a mini authorization system. When the user submits…
Brandon Clark
  • 788
  • 1
  • 13
  • 26
0
votes
1 answer

socket io - Emitting message to individual socket

It started off as a lynda.com tutorial project I have tried and tried and tried to get this to work. I want to be able to send a message to a specific chat member (send a message to one socket). I looked at this, and I was still unable to get mine…
Shazboticus S Shazbot
  • 1,289
  • 2
  • 16
  • 27
0
votes
0 answers

Qt - catch emitted signal from multiple classes

I am developing an TCP server application. I have the newDataReceived slot and I emit a signal in it like this: void myclass::newDataReceived() { char data_received[1024] = {0}; client->read(data_received, client->bytesAvailable()); …
thehilmisu
  • 342
  • 1
  • 5
  • 13
0
votes
1 answer

How to emit an gtk.gdk event with a string as a data package in Python

I have a problem in that I need to emit data based on data I receive from a hardware thread. Ideally, I'd like to emit a signal with a data package. I don't know what to fill in for the ???? below. Do I need to make my own event class? Something…
Brian Bruggeman
  • 5,008
  • 2
  • 36
  • 55
-1
votes
1 answer

strange behavior of qt emit using qthread

struct C : public QObject { Q_OBJECT public: C() { qDebug()<<"C()"; //connect(this,SIGNAL(cs()),this,SLOT(cl2()),Qt::QueuedConnection); } ~C(){qDebug()<<"~C()";} signals: void cs(); public slots: …
camino
  • 10,085
  • 20
  • 64
  • 115
-1
votes
1 answer

get selected "value" of declared text-field / BootstrapVue

I have a b-form-select field and emit my value-field to my parent, but I need the selected text-field too.. Here is the needed code to show what I mean: In my template:
patrick96
  • 175
  • 2
  • 14
-1
votes
1 answer

EventEmitter cannot emit an object with KeyValuePair property in Angular

I want to fill and emit an object that has 2 property; 1. string 2.array of KeyValuePair by EventEmitter in Angular version 9. My object's class: import { KeyValuePair } from './keyValuePair'; export class SelectedApiCall { …
-1
votes
1 answer

How to call child component's function from parent without use of @viewChild in angular?

I have one problem. I am trying to repeat the component dynamically through ngFor and My main component want it's all repeated child's data through button click. Look at below for more understanding : I want to get all child component's internal…
Mayur Kukadiya
  • 2,461
  • 1
  • 25
  • 58
-1
votes
1 answer

Property 'value' does not exist on type 'EventTarget'.ngtsc(2339)

I am using Angular 11.1.4 and typscript 4.1.5. I get this error at many points... http://i.hizliresim.com/3ngawR.png https://i.hizliresim.com/3ngawR.png How can I fix mistakes in the picture. Same Title Available!; The solutions given do not work…
1 2 3
25
26