Voluntary help for a very small project
-
Hello, JRS! =)
I'm not sure I can handle it, but I want to try to help you (as volunteer). I guess this should be not a big deal.
Are you planning just to take photos with your digital camera, when it's disconnected from PC or Mac, and only after that connect the camera to PC and show simple interface with last picture and "print" button? If yes, I guess it's quite simple (but I'm not sure, I'm going to try to write it).
If you're planning to take photos from your nikon as from webcams, connected to the PC and also have "take new picture" button in your program, it could be hard if there's no appropriate drivers for your camera.
Sorry, I'm not so good at english. Hope I can help you.I will send you a link with program and code here later as soon as possible.
-
Hey,
thank you. The idea is slightly different but you are pretty close. The program should watch at a folder and automatically show the newest picture in this folder. The folder will be filles by my Eye-Fi Card after every taken picture.
And I thought that it would be nice to print if the user presses the spacebar :)
Furthermore the printing should be done without a dialoge. Maybe just a "Are your sure" promt.I did a little research on my own and what I thought of as a solution is:
Watch for an added file with QFileSystemWatcher::directoryChanged and later printing with QPrinter.
I then want to show the file that just has been added to the directory with QImage and QLabel.
The printing on the pressing of the spacebar could be done with QPushButton and I thought of extending http://qt.gitorious.org/qt/qt/trees/4.7/examples/widgets/imageviewer for the program.
Thank you so much for your help!!
Best,
JRS -
Ok, I understand you! So, your files are automatically shared via wireless network, so there's no problems with connecting camera to PC and getting new photos.
I'm try to help you (but can't promise I could handle it fast, it's night now in my city) Anyway, I hope will write here soon. -
One more thought:
It would be great if the whole application has the ability to go fullscreen, so you don't see the taskbar or status bar anymore.Maybe for activating it wit doubleclick:
@void myWidget::mouseDoubleClickEvent(QMouseEvent *e) {
QWidget::mouseDoubleClickEvent(e);
if(isFullScreen()) {
this->setWindowState(Qt::WindowMaximized);
} else {
this->setWindowState(Qt::WindowFullScreen);
}
}@Might this work?
Another idea is to use the QWidget::showFullScreen() method instead. -
Hello, JRS!
I've created a repo for this project: https://bitbucket.org/yetanotherandreyev/simpleprinter
and upload very (very!) ugly draft untested version (Qt5.1 with qml).
I'm sorry it took me so long to answer, hope I'll finish this work at weekend.It looks something like this: http://goo.gl/0aSYxs
(fullscreen, transperent buttons, showing last photo in selected folder and "print" button, aslo activated with "space" button), but code is very ugly and nothing was properly tested yet :) -
Hi,
I just saw your message. Sorry for the delay! This is awesome, thank you so much. This is exactly what I was looking for.
I will check it out tomorrow after some sleep... Yesterday was my stag party and I am still a bit hung over ;)I will test it tomorrow, too.
Thank you again!
Best,
Jan -
Hey yetanotherandreyev,
did you get any chance to work further on this? I would like to wish for a little change :)
- The programm should now, if somehow possible, run on a Mac, because the integration of the camera is easier there.
- Instead of printing, the program should send the file via bluetooth to a coupled bluetooth device.
Thank you so much!