Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Jobs
  4. Voluntary help for a very small project
Forum Updated to NodeBB v4.3 + New Features

Voluntary help for a very small project

Scheduled Pinned Locked Moved Jobs
11 Posts 3 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aa13q
    wrote on last edited by
    #2

    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.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JRS_1986
      wrote on last edited by
      #3

      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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aa13q
        wrote on last edited by
        #4

        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.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JRS_1986
          wrote on last edited by
          #5

          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.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #6

            For going full screen: simply create a QAction with the (rather standard) shortcut CTRL+F and connect that to the window state as you do above.

            It sounds like a fun little project!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              aa13q
              wrote on last edited by
              #7

              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 :)

              1 Reply Last reply
              0
              • J Offline
                J Offline
                JRS_1986
                wrote on last edited by
                #8

                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

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  JRS_1986
                  wrote on last edited by
                  #9

                  Hey yetanotherandreyev,

                  did you get any chance to work further on this? I would like to wish for a little change :)

                  1. The programm should now, if somehow possible, run on a Mac, because the integration of the camera is easier there.
                  2. Instead of printing, the program should send the file via bluetooth to a coupled bluetooth device.

                  Thank you so much!

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    aa13q
                    wrote on last edited by
                    #10

                    Hello!
                    How much time do we have?
                    Not sure I can't handle it in time (can install mac os only in virtual machine), but I'll try to.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      JRS_1986
                      wrote on last edited by
                      #11

                      Hey,

                      thank you so much!! The wedding is on this saturday :S

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved