Search found 61 matches

by seasoned_geek
Sun Sep 06 2020 9:45 pm
Forum: Developers
Topic: QFile::copy() not working?
Replies: 0
Views: 272

QFile::copy() not working?

I'm on Ubuntu 20.04 LTS and CopperSpice was built from source within the past week or so. roland@roland-amd-desktop:~/Projects/cs_hello_debug$ ls -al /home/roland/Diamond_Backups/ total 8 drwxrwxr-x 2 roland roland 4096 Sep 6 16:34 . drwxr-xr-x 42 roland roland 4096 Sep 6 10:14 .. roland@roland-amd-...
by seasoned_geek
Thu Sep 03 2020 12:13 am
Forum: Developers
Topic: Containers and parentage
Replies: 2
Views: 497

Re: Containers and parentage

Thank you for your response. I was specifically wondering about QGagets. CS_GADGET( Themes ) Actually, more than wondering a bit about this declared in class header QMap <QString, Themes> m_themes; in class source Themes *theme = new Themes( lst[fld++].trimmed(), true ); // name // do some stuff to ...
by seasoned_geek
Tue Sep 01 2020 12:15 pm
Forum: Developers
Topic: Containers and parentage
Replies: 2
Views: 497

Containers and parentage

Perhaps I'm just having a brain fart? Perhaps I had a brain fart the other day when I left a comment in the code that sent me down this path this morning. Given all of the changes when forking from Qt, do all of the containers provide parentage? The documentation is not clear. If most things are now...
by seasoned_geek
Mon Aug 31 2020 7:21 pm
Forum: Developers
Topic: QTemporaryFile bug
Replies: 2
Views: 528

Re: QTemporaryFile bug

Just an FYI, QTemporaryDir works well. void Task::run() { // Do processing here qDebug() << "Hello World!"; QTemporaryDir d; if (d.isValid()) { qDebug() << "temporary dir name: " << d.path(); } else { qDebug() << "failed to create temporary dir"; } emit finished(); } roland@roland-amd-desktop:~/Proj...
by seasoned_geek
Mon Aug 31 2020 7:16 pm
Forum: Developers
Topic: QTemporaryFile bug
Replies: 2
Views: 528

QTemporaryFile bug

If there is an official bug database please let me know and I will put this there along with the malloc crash thing I reported earlier. From the doc, Detailed Description section // Within a function/method QTemporaryFile file; if (file.open()) { // file.fileName() returns the unique file name } // ...
by seasoned_geek
Thu Aug 27 2020 9:08 pm
Forum: User Support
Topic: Maybe I'm just tired or can't read?
Replies: 3
Views: 747

Re: Maybe I'm just tired or can't read?

Is this also true of signals?
by seasoned_geek
Thu Aug 27 2020 12:38 am
Forum: User Support
Topic: Maybe I'm just tired or can't read?
Replies: 3
Views: 747

Maybe I'm just tired or can't read?

I thought a slot had to be wrapped in CS_SLOT_1() CS_SLOT_2() in the header file in order for it to be used via connect() as a slot. Spent most of today trying to track down a focus problem when closing the advanced find window. The text edit tab doesn't actually get keyboard focus. The Close pushbu...
by seasoned_geek
Wed Aug 26 2020 8:27 pm
Forum: Developers
Topic: malloc crash
Replies: 1
Views: 370

malloc crash

Maybe this should have never worked? It was working flawlessly until I pulled down the update for CopperSpice mentioned in this thread. "Failed to create xcb gl-integration" I happened to use the colors dialog again today and then spent some time chasing my tail. void Dialog_Colors::copyClicked() { ...
by seasoned_geek
Tue Aug 25 2020 9:54 pm
Forum: Developers
Topic: Position a QDialog at the bottom of its parent
Replies: 0
Views: 268

Position a QDialog at the bottom of its parent

I appear to be suffering from severe head-up-butt syndrome right now. I just wanted to put the input dialog for EDT responses at the bottom of the tabbed widget. I swear I've done this in Qt before. There seems to be something forcing the dialog back to center no matter what I do. https://www.logika...
by seasoned_geek
Sat Aug 22 2020 9:25 pm
Forum: User Support
Topic: Two new posts
Replies: 0
Views: 256

Two new posts

https://www.logikalsolutions.com/wordpress/uncategorized/further-adventures-with-copperspice/ https://www.logikalsolutions.com/wordpress/uncategorized/copperspice-diamond-editor-changes/ I may get one more done later tonight, but kind of tired after those two. Just posting them here in case people a...