Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Where should I put my Qt tricky examples?
Forum Update on Monday, May 27th 2025

Where should I put my Qt tricky examples?

Scheduled Pinned Locked Moved The Lounge
11 Posts 5 Posters 5.0k Views
  • 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.
  • I Offline
    I Offline
    irfan.omair
    wrote on 26 Dec 2010, 18:52 last edited by
    #1

    Hello All I am new to it couple of days only I joined this. I want to put some tricky examples and some Qt's work around and hacks :) so that other users can be benefited. But I do not know where exactly should I put all those. I saw wiki but should I do that in HOW TO category or code spinet or some where else?

    1 Reply Last reply
    0
    • I Offline
      I Offline
      Immii
      wrote on 26 Dec 2010, 18:54 last edited by
      #2

      If you have small small code which demonstrate some tricky thing in Qt put that in Code Snippet.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on 26 Dec 2010, 19:01 last edited by
        #3

        You can put it in both categories. Just add both tags to your page text (and don't forget to add some tags like "howto" and "code snippet" on the right side once your page is saved).

        It's better to add a separate page for each of your solutions, at best with some comments and explanations of course. You are free to choose the page title, CamelCase is not longer a need (as stated in some wiki help pages).

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • I Offline
          I Offline
          irfan.omair
          wrote on 26 Dec 2010, 19:05 last edited by
          #4

          Thank you for quick reply. When I have tricky code only couple of lines of description I have I think I should put that in code snippet, I will put other examples which needs some more explanation in How to category. Thank you for letting me know about Tag thing I did not know about it until now, and thank you for putting tag for this post of mine too :) Have great holidays....!!!

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on 26 Dec 2010, 19:11 last edited by
            #5

            Some "guidelines on Tagging":http://developer.qt.nokia.com/wiki/Tagging are in the wiki. I'd suggest you read before to save you from getting your tags deleted ;-)

            And just go ahead with the wiki - we all are curious :-)

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • I Offline
              I Offline
              Immii
              wrote on 26 Dec 2010, 22:51 last edited by
              #6

              I see Guidelines on tagging, But I was wondering do we have any guide lines what type of code/example or any content any one can put in?? I mean if some one says he is going to put some code example he can put Hello World example too, isnt it ?
              So Do we have any guideline for that?

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vsorokin
                wrote on 26 Dec 2010, 22:57 last edited by
                #7

                Immii, I think we all are sensibly people :) Put "hello world" isn't sense. Though I (for example) want see Hello world snippets on PySide (I don't know Python and it will be interesting for me)

                --
                Vasiliy

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on 26 Dec 2010, 23:04 last edited by
                  #8

                  There are no official guidelines. I think common sense is, that the code snippets should show the solution for a reasonable problem and it should not be just a copy of things that are in the docs anyway. No one can protect against wiki trolling, but our Trolls will clean up things if necessary.

                  http://www.catb.org/~esr/faqs/smart-questions.html

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    Immii
                    wrote on 27 Dec 2010, 01:02 last edited by
                    #9

                    [quote author="Volker" date="1293404668"]There are no official guidelines. I think common sense is, that the code snippets should show the solution for a reasonable problem and it should not be just a copy of things that are in the docs anyway. No one can protect against wiki trolling, but our Trolls will clean up things if necessary.[/quote]

                    The word "reasonable problem" is little bit vague what is reasonable for me may not be reasonable for every one else. Can we people of QDN should start defining some very very basic rules about this and then get Nokia involve and finalize?

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      goetz
                      wrote on 27 Dec 2010, 14:08 last edited by
                      #10

                      There is no official definition of "reasonable" and I doubt there ever will be as applying the rules would open just another level of interpreting things.

                      We all are intelligent beings and apart from some project Elf "spamming" or similar effects, most things went out quite well until yet. So why worry? Rules would not prevent from spamming the wiki if the poster does not care about the rules.

                      As I mentioned: If the content is in Qt's docs or is quite obvious, it's probably not for a wiki entry. If you're really unsure wether your snippet is worth a wiki entry, just ask in the forum.

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        giesbert
                        wrote on 27 Dec 2010, 14:12 last edited by
                        #11

                        If you have a complex problem, or an easy problem with an non trivial solution, I think it makes sense. And if you are unsure, put irt to the wiki and start a discussion about the article in the wiki forum. If the result is, does not make sense, it could anyways be deleted ot changed afterwards.

                        I juts have on ething: please do not just put a code snippet there witzhout descriptuion (what I have seen in some other places :-( ). If itz has a (good :-) ) description, it nearly always makes sense :-)

                        Nokia Certified Qt Specialist.
                        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                        1 Reply Last reply
                        0

                        1/11

                        26 Dec 2010, 18:52

                        • Login

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