Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator Print all
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Print all

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
16 Posts 4 Posters 1.6k Views 3 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.
  • CKurduC Offline
    CKurduC Offline
    CKurdu
    wrote on last edited by CKurdu
    #5

    I mean if you change the default style you can't print with changed editor style.
    View in Qt Creator
    qt-style.PNG

    Print view.
    print.PNG

    And If you are using a dual monitor and open a file in a new window and click this window and click file print. It does not print selected window it prints the main window.

    You reap what you sow it

    mrjjM jsulmJ 2 Replies Last reply
    0
    • CKurduC CKurdu

      I mean if you change the default style you can't print with changed editor style.
      View in Qt Creator
      qt-style.PNG

      Print view.
      print.PNG

      And If you are using a dual monitor and open a file in a new window and click this window and click file print. It does not print selected window it prints the main window.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @CKurdu
      Ah, that way.
      I never saw any tool that would print the paper as black (dark)
      as that would use an insane amount of ink.
      It does use the colors for the code though.

      1 Reply Last reply
      2
      • CKurduC CKurdu

        I mean if you change the default style you can't print with changed editor style.
        View in Qt Creator
        qt-style.PNG

        Print view.
        print.PNG

        And If you are using a dual monitor and open a file in a new window and click this window and click file print. It does not print selected window it prints the main window.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #7

        @CKurdu Agree with @mrjj : do you really want to print in dark style?! Imagine the amount of ink it would need...

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • CKurduC Offline
          CKurduC Offline
          CKurdu
          wrote on last edited by
          #8

          Actually I am trying to print as pdf. But I just wanted to print all files with only one click and I saw some quirks also single file print and I wrote here.

          You reap what you sow it

          mrjjM 1 Reply Last reply
          0
          • CKurduC CKurdu

            Actually I am trying to print as pdf. But I just wanted to print all files with only one click and I saw some quirks also single file print and I wrote here.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #9

            @CKurdu

            • And If you are using a dual monitor and open a file in a new window and click this window and click file print. It does not print
              selected window it prints the main window.

            Well it works for me if i open in New window and press ctrl+p
            it will print the window version.

            I think if you click on main window to get to the menu, u take the focus of the other window.
            (yep that is why it print the main window one , if you use the menu )

            1 Reply Last reply
            0
            • CKurduC Offline
              CKurduC Offline
              CKurdu
              wrote on last edited by CKurdu
              #10

              I am using vi mode so ctrl + p does not work for me and I think maybe when the click file and print in menu maybe print selected window not the main window. But I think active print window changes when I click the menu. So forget about it :).

              Actually later I looked at Netbeans. In NetBeans when I click the file menu and print the last selected window is printing. I don't know what is the right way.

              You reap what you sow it

              mrjjM 2 Replies Last reply
              0
              • CKurduC CKurdu

                I am using vi mode so ctrl + p does not work for me and I think maybe when the click file and print in menu maybe print selected window not the main window. But I think active print window changes when I click the menu. So forget about it :).

                Actually later I looked at Netbeans. In NetBeans when I click the file menu and print the last selected window is printing. I don't know what is the right way.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #11

                @CKurdu
                Yeah at least that happens here if i do as you describe. You can rebind it the in options menu if you want.
                But it sadly it does not solve the issue that it seems not to be able to print all of the files in one go. So
                for a large project thats a lot of clicking :(

                1 Reply Last reply
                0
                • CKurduC CKurdu

                  I am using vi mode so ctrl + p does not work for me and I think maybe when the click file and print in menu maybe print selected window not the main window. But I think active print window changes when I click the menu. So forget about it :).

                  Actually later I looked at Netbeans. In NetBeans when I click the file menu and print the last selected window is printing. I don't know what is the right way.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

                  @CKurdu said in Qt Creator Print all:

                  Actually later I looked at Netbeans. In NetBeans when I click the file menu and print last selected window is printing. I don't know what it is the correct way.

                  I would say Netbeans way is more logical as the way Creator does it, its confusing as you cant select the menu in other way. (with mouse)

                  I wonder if you close the main window code window and just have the other open. is it then smart enough to print it ?

                  CKurduC 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @CKurdu said in Qt Creator Print all:

                    Actually later I looked at Netbeans. In NetBeans when I click the file menu and print last selected window is printing. I don't know what it is the correct way.

                    I would say Netbeans way is more logical as the way Creator does it, its confusing as you cant select the menu in other way. (with mouse)

                    I wonder if you close the main window code window and just have the other open. is it then smart enough to print it ?

                    CKurduC Offline
                    CKurduC Offline
                    CKurdu
                    wrote on last edited by
                    #13

                    @mrjj

                    Thanks for your answers.

                    You reap what you sow it

                    mrjjM 1 Reply Last reply
                    0
                    • CKurduC CKurdu

                      @mrjj

                      Thanks for your answers.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #14

                      @CKurdu
                      Np. I wish there was a hidden way to print all of the files but as far as i know, it cant.

                      Can I ask why you wanted it as pdf ?
                      I mean you can already see it on screen like a pdf would so i did wonder :)

                      1 Reply Last reply
                      0
                      • CKurduC Offline
                        CKurduC Offline
                        CKurdu
                        wrote on last edited by
                        #15

                        I have a tablet and I am using it for code reading. But sometimes I entered the edit mode by mistake, so I found some trick to open read-only mode but I don't like traversing files in notepad++. Then I think maybe I can print all codes as pdf and I can read easily with adobe reader. I can also read the source codes in eReader.

                        You reap what you sow it

                        mrjjM 1 Reply Last reply
                        0
                        • CKurduC CKurdu

                          I have a tablet and I am using it for code reading. But sometimes I entered the edit mode by mistake, so I found some trick to open read-only mode but I don't like traversing files in notepad++. Then I think maybe I can print all codes as pdf and I can read easily with adobe reader. I can also read the source codes in eReader.

                          mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #16

                          @CKurdu
                          Ah. that makes sense. Not a bad plan. Thank you for clarifying.

                          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