#pyqt | Logs for 2018-12-19

Back
[00:36:51] -!- kallesbar has joined #pyqt
[01:00:27] -!- mandeep has quit [Ping timeout: 250 seconds]
[01:11:28] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[01:12:34] -!- Belxjander has joined #pyqt
[02:10:54] -!- Dave_Elec has joined #pyqt
[02:28:09] -!- Dave_Elec has quit [Quit: No Ping reply in 180 seconds.]
[02:30:35] -!- Dave_Elec has joined #pyqt
[02:37:42] -!- saraf has joined #pyqt
[02:51:45] -!- Dave_Elec has quit [Ping timeout: 246 seconds]
[03:03:08] -!- Dave_Elec has joined #pyqt
[03:27:48] -!- Dave_Elec has quit [Ping timeout: 246 seconds]
[04:19:15] -!- Bjander has joined #pyqt
[04:21:54] -!- Belxjander has quit [Ping timeout: 250 seconds]
[04:21:55] Bjander is now known as Belxjander
[04:24:52] -!- BPL has joined #pyqt
[04:36:50] -!- saraf has quit [Read error: Connection reset by peer]
[04:38:01] -!- saraf has joined #pyqt
[04:43:15] -!- anqxyr has joined #pyqt
[04:44:40] -!- asaraf has joined #pyqt
[04:46:13] -!- saraf has quit [Ping timeout: 250 seconds]
[05:02:44] -!- asaraf has quit [Read error: Connection reset by peer]
[05:03:12] -!- asaraf has joined #pyqt
[05:14:40] -!- asaraf has quit [Ping timeout: 246 seconds]
[05:32:17] -!- Dave_Elec has joined #pyqt
[05:53:20] -!- Dave_Elec has quit [Ping timeout: 250 seconds]
[06:01:04] -!- Dave_Elec has joined #pyqt
[06:33:56] -!- Dave_Elec has quit [Ping timeout: 272 seconds]
[06:41:47] -!- mintograde has joined #pyqt
[07:19:25] -!- snowcatman has joined #pyqt
[07:23:15] <snowcatman> if i dont respond here and your willing to help me plaes do. you can email me at snowcatman@gmail.com first i am a beginner. my question, questions are/is broad/generalized/many. I am looking for a python answer, a pyqt5 answer. a set of answer's. um, "i just want to get this working", type a question. i am looking for an ease of use, a list or dictionary in a tree view. specific code is here
[07:23:15] <snowcatman> lines 50-78 of the mainwindow.py do look at the example. https://gist.github.com this is very frustrating for me. i been working on it a while, and i don't want to have to get a doctorate to use it. I will learn at my speed thank you. as i am not in collage i am am doing this as a hobby. please don't ask me what i am looking for again as i have made
[07:23:15] <snowcatman> it plan and simple as i could. spicifically my issue is connecting the information to its tree in a hierarchal treeview as if it is a file system.
[07:26:04] -!- mintograde has quit [Ping timeout: 250 seconds]
[07:57:58] <ysangkok> your problem description is too convoluted, it's hard to help you. see http://sscce.org
[08:00:51] -!- anqxyr has quit [Read error: Connection reset by peer]
[08:11:58] <snowcatman> ysangkok: why answer me that way. you can tell i am already frustrated. no the answer is not as easy to nail down. or minimize. i gave you discriptions added examples. sumerized it. it's ether not anough code or to much now apparently. its hard to have a conversation this way. if you don't want me to blast you, then maybe read and understand what the other person might be going threw. pyqt is
[08:11:58] <snowcatman> not used very much apparently.
[08:12:42] <snowcatman> were is altendky when i need him.. now that is a person that show's greate calm in others.
[08:31:49] <snowcatman> like programming is not convoluted to begin with. ugh.. smh...
[09:19:52] -!- Siecje has joined #pyqt
[09:55:03] <altendky> snowcatman: please do calm down. sscce.org is often linked and a valuable thing to be familiar with. sure, it saves us time... it saves you time as well. anyways...
[09:55:23] <altendky> snowcatman: let me read for a minute
[09:56:32] <altendky> snowcatman: you've been at this for awhile and don't have a specific question about the implementation it seems. i'd suggest you step away from that program and work a small and single purpose example first.
[09:57:02] <altendky> snowcatman: make a new program that is just a QTreeView. connect it to a model. add a single item to it manually. add a single child to it.
[09:57:47] <altendky> snowcatman: the fill function you want is basically a generalization of the last two steps. you need to be able to do them directly.
[10:01:08] <altendky> snowcatman: you could also just switch to a QTreeWidget like the function was originally written for, but at some point you need to understand your code so I don't know that avoiding it now would be overall good
[10:02:17] <altendky> snowcatman: the difficulty around basic uses of models and views bugs me too. I've made an abstraction for myself that I would like to think would help others but it's still fairly messy. Point being that I share the frustration. But, it's life for now
[10:08:31] -!- kristian_ has joined #pyqt
[10:08:41] -!- kristian_ has parted #pyqt
[10:14:08] <altendky> snowcatman: on the other hand. whatever model you are working with, it's likely worth being able to work with it directly before trying to build an abstraction over it for yourself (like the fill function is trying to be). that is, build your tree data using the model rather than using the dicts.
[10:23:20] <snowcatman> altendky: i feel like i am taking to much time on this subject. that i am haveing to get to know it more then i wish. as it's only supost to be a treeview that show' like the first one but does not have me write folder/files first to the system. i just want it done one way or the other i don't care. i am trying not to change the ui file only becouse i don't see an easy way to deal with the
[10:23:20] <snowcatman> issue(maybe i should just convert the ui file to python instead of using xml). i was thinking i don't care how the data get's to the tree. so long as it's defined and usable for folder/file view's. if you look at the overall project i don't think i am asking much. use folder files and creat some rules show changes in the other tree and be ready to comit. then i can nit pick and add to it once
[10:23:20] <snowcatman> its functional.
[10:25:42] <altendky> snowcatman: it doesn't matter if you are asking much or not. programming isn't easy. model/view stuff is another layer. it is what it is.
[10:26:34] <altendky> snowcatman: but you do need to be able to create a thing (QTreeView/QStandardItemModel or QTreeWidget) and you need to be able to put data in it. you need to be able to write that code yourself.
[10:27:31] <altendky> snowcatman: i go through the same thing where i try to shortcut (use someone else's abstraction), and sometimes it works. but, when it doesn't you have to learn the underlying functionality.
[10:28:52] <altendky> snowcatman: have you searched the QStandardItemModel and QStandardItem pages for information about adding items and children?
[10:30:02] <snowcatman> brb got to taxi my kids to school.
[10:30:36] -!- mandeep has joined #pyqt
[11:19:49] -!- BPL has quit [Quit: Leaving]
[11:20:02] <snowcatman> altendky: is irc you only go to? i use facebook, discored, email. and such. when you ask me about going to the doc's i don't see the infor like you. i don't connect the information from one page to the other.
[11:28:50] -!- BPL has joined #pyqt
[11:29:55] <snowcatman> it's easier to just screen shot what i am seeing into discord. here i have extra step, to get you screen shot's
[11:30:21] <snowcatman> i feel closeted. here...
[11:31:33] <snowcatman> I am reading from http://doc.qt.io and http://doc.qt.io and http://doc.qt.io i don't know what i am doing.....
[11:33:04] -!- mandeep has quit [Remote host closed the connection]
[11:39:58] <altendky> snowcatman: irc is where I do this. Text is a good way to share text. You can't find anything related to children on either the QStandardItemModel doc page or the QStandardItem page?
[11:45:36] <thebigj> stats
[11:46:10] <thebigj> Sorry
[11:56:38] <snowcatman> ugh, i need voice cht this is slow... yes when i use find in my browser i see child in there. however i do not relate it. from C++ as i don't get it. your say's there is an association of information. good. how do i use it. becouse i am doing a lot of guessing. and hunting. i am making assumptions that are taking me back and forth. the pieces do not fit for me. fixing a function in python fine.
[11:56:38] <snowcatman> make it python and not C++.. tired of guessing... i want information not jiberish. why am i looking up child in the first place. is it becouse we see and error in terminal. i havent even got a good sense of what is happening. anymore.... data to tree but its not its data to ??? to ??? to ??? then to tree...
[11:57:20] <snowcatman> i don't even know the methode of data to use. i do know it is related to a file system.
[11:59:04] <snowcatman> you have got to know that i am disiking qt.io right now.
[11:59:27] <snowcatman> goodness i can't even spell right now
[11:59:58] -!- BPL has quit [Ping timeout: 246 seconds]
[12:00:29] <snowcatman> the qtreewidget show's an addchild so why is python complaning??? um, i am going for a walk. see if i calm down then...
[12:00:54] -!- BPL has joined #pyqt
[12:13:14] <Siecje> altendky: Did you ever get the qmlplugin built?
[12:15:03] <altendky> snowcatman: because you aren't using QTreeWidget... Your issues have nothing to do with c++. You don't have a basic understanding of the system (for example you are confused what children have to do with trees of data) and you are so focused on the docs being useless that you refuse to use them.
[12:15:17] <altendky> snowcatman: I offer every time to help you practice reading the docs
[12:15:56] <altendky> snowcatman: if you are just going to keep complaining about docs then please just stop. I'm happy to help you learn. I'm not going to write your code for you.
[12:16:17] <altendky> Siecje: haven't revisited that no. I mean it's building I think but...I forget
[12:17:04] <altendky> Siecje: whatever I did is actually present in the latest wheels. Do use --pre if installing
[12:20:18] <altendky> snowcatman: have you read http://doc.qt.io
[12:41:18] -!- kallesbar has quit [Quit: Konversation terminated!]
[13:09:11] -!- mandeep has joined #pyqt
[13:20:01] <snowcatman> altendky: i have read about a 3rd of that web page. I restored the work were it was at yesterday... https://gist.github.com still just as confused as before i read that link... as it say's to me you can modify it in many way's. looking at were we were yesterday it seem to be complaning about list's. i just want the treeview to work like it's supost
[13:20:01] <snowcatman> too. so i can move on with the rest of the code. i dont care for all that it can offer atm. i know its not the web site or the doc's and i am reading them. i just tdon't get the concepts behind whats going on with them. should be, information to model to tree done. so that is show's like folder/file system even though its not bound to one. is all i am wanting. the function now seem broken. and
[13:20:01] <snowcatman> i don't understand it. i think its becouse its expecting a list not a dictonary or list of lists so all i got to do i guess is chang the function. witch is not going to be easy. becouse i am still very much new to this stuff. i think i am geting upset becouse there are not many other people/ or other document to go to learn from. and i don't like bothering the same person all the time. you have
[13:20:01] <snowcatman> been a great help to me. in this proccess. but i feel that i am asking to much from you as it is.
[13:22:04] -!- mandeep has quit [Remote host closed the connection]
[13:48:58] <altendky> snowcatman: the view does just show a model. That's exactly what it does. The model isn't a dict though because a dict is unable to handle lots of things that the model needs to do.
[13:49:35] <altendky> snowcatman: if you are having trouble reading c++ in the docs ask about how to translate that particular c++ code
[13:50:13] <altendky> snowcatman: and I'm not sure if you noticed my earlier recommendation:
[13:50:16] <altendky> 09:57 <altendky> snowcatman: make a new program that is just a QTreeView. connect it to a model. add a single item to it manually. add a single child to it.
[13:50:55] <altendky> That is, start at the library and build up to your goal. Instead of starting at your goal and guessing at all the different pieces at the same time
[14:04:44] -!- mandeep has joined #pyqt
[14:43:29] -!- mgainut has joined #pyqt
[14:54:11] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[15:29:08] -!- Belxjander has joined #pyqt
[15:38:24] -!- mandeep has quit [Remote host closed the connection]
[15:53:38] -!- mintograde has joined #pyqt
[16:02:11] <Siecje> altendky: How do you install the latest wheels?
[16:02:15] <Siecje> 5.12 ones
[16:02:54] <altendky> Siecje: don't have that yet... Just started a build for 5.11.3 as a real release
[16:03:44] <Siecje> So this mail just means the source code? https://www.riverbankcomputing.com
[16:03:50] <altendky> Siecje: you might be able to figure it out and PR if you want. With a little luck it'd just be data
[16:04:05] <Siecje> I don't understand.
[16:04:31] <altendky> Siecje: that email is just for snapshots, yes. And not pyqt5-tools
[16:04:34] <altendky> ?
[16:04:48] <Siecje> Sorry I thought you meant for PyQt5.
[16:04:59] <Siecje> When you said --pre but you meant PyQt5-tools
[16:56:49] -!- mgainut has quit [Quit: Leaving]
[18:31:21] -!- Siecje has parted #pyqt
[19:17:02] -!- JanC has quit [Remote host closed the connection]
[19:17:19] -!- JanC has joined #pyqt
[19:37:04] -!- BPL has quit [Quit: Leaving]
[21:36:17] -!- mintograde has quit [Ping timeout: 246 seconds]