#pyqt | Logs for 2019-04-02
Back
[02:34:10] -!- Thaodan_ has joined #pyqt
[02:34:46] <Thaodan_> Is it ok to ask about pyqtdeploy issuses here or where should I ask?
[03:01:38] -!- mandeep has quit [Remote host closed the connection]
[03:01:56] -!- mandeep has joined #pyqt
[03:07:25] -!- mandeep has quit [Read error: Connection reset by peer]
[04:50:08] -!- cottoneyejim has joined #pyqt
[04:51:50] -!- cottoneyejim has quit [Client Quit]
[04:58:21] -!- cottoneyejim has joined #pyqt
[05:39:23] -!- mintograde has quit [Read error: Connection reset by peer]
[08:07:27] -!- nsizemor has joined #pyqt
[08:41:22] -!- Siecje has joined #pyqt
[09:11:43] -!- jthornton has joined #pyqt
[09:32:34] <jthornton> I've been searching for days trying to find a simple example of using a database but my googlefu is broken. I want to display the current row in a label and move up and down with buttons. I've managed to get as far as the query but can't figure out how to get the current row data
[09:32:37] <jthornton> https://paste.ubuntu.com
[09:32:51] <jthornton> that's what I have so far
[09:42:16] <Avaris> jthornton: qdatawidgetmapper might be usefull
[09:42:42] -!- jthornton has quit [Read error: Connection reset by peer]
[09:47:57] -!- jthornton has joined #pyqt
[09:48:05] <jthornton> thanks
[09:59:33] <Avaris> jthornton: small example in case you needed: https://bpaste.net
[10:04:27] <jthornton> Avaris: thanks so much for the example
[11:10:17] -!- AbleBacon has joined #pyqt
[12:14:54] -!- Dave_Elec has joined #pyqt
[12:21:34] -!- Dave_Elec has quit [Ping timeout: 246 seconds]
[12:26:56] -!- milk_e has quit [Ping timeout: 268 seconds]
[12:31:06] -!- Dave_Elec has joined #pyqt
[12:31:27] -!- milkii has joined #pyqt
[12:36:29] -!- Dave_Elec has quit [Ping timeout: 246 seconds]
[13:00:48] -!- Dave_Elec has joined #pyqt
[13:07:08] -!- Dave_Elec has quit [Ping timeout: 244 seconds]
[14:35:25] -!- Dave_Elec has joined #pyqt
[14:42:20] -!- Dave_Elec has quit [Ping timeout: 250 seconds]
[14:52:27] -!- TechSmurf has joined #pyqt
[14:54:11] -!- Dave_Elec has joined #pyqt
[15:01:43] -!- jthornton has quit [Read error: Connection reset by peer]
[15:02:39] -!- nsizemor has quit [Quit: nsizemor]
[15:08:10] -!- Dave_Elec has quit [Ping timeout: 246 seconds]
[15:14:09] -!- Dave_Elec has joined #pyqt
[16:05:20] -!- mintograde has joined #pyqt
[16:58:11] <agile_prg> does anyone know if it is possible to find the sender of a signal in the slot called?
[17:00:00] -!- Siecje has parted #pyqt
[17:03:58] <Avaris> agile_prg: QObject.sender() ... but that's generally sign of a bad design. what are you trying to do?
[17:30:00] -!- AbleBacon has quit [Quit: Leaving]
[17:51:29] <agile_prg> route a bunch of widgets to one SLOT
[17:51:43] <agile_prg> I got it to work with self.sender().text()
[17:51:57] <agile_prg> I can tell what to do from the text of the widget
[17:53:11] <Avaris> if you're doing different things based on the sender, why not have different slots?
[18:06:32] <altendky> agile_prg: imagine a function changing what it does based on who called it. But say more about what you are doing.
[19:04:02] -!- jthornton has joined #pyqt
[19:28:48] -!- Dave_Elec has quit [Ping timeout: 245 seconds]
[21:12:34] -!- agile_prg has quit [Remote host closed the connection]
[21:12:35] -!- Thaodan_ has quit [Quit: ZNC - https://znc.in]
[21:15:44] -!- Thaodan has joined #pyqt
[22:05:14] -!- mintograde has quit [Ping timeout: 246 seconds]
[22:31:42] -!- cottoneyejim has quit [Quit: cottoneyejim]