Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Sugestions] QT may do better than others, through I am a beginner!
Forum Updated to NodeBB v4.3 + New Features

[Sugestions] QT may do better than others, through I am a beginner!

Scheduled Pinned Locked Moved General and Desktop
8 Posts 4 Posters 1.7k 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.
  • K Offline
    K Offline
    koolar
    wrote on last edited by
    #1
    1. Automatic change code and header file when object name was changed;
    2. Automatic add function impeletion when it's delearation has deleared;
    3. Automatic add header include when a class defined;
    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Already present (partially) in Qt Creator ("Change name under cursor)

      Already present in Qt Creator ("Refactor" menu in context menu)

      AFAIK, this is coming soon in Qt Creator :)

      (Z(:^

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        Point 3: Use snippets for now. Insert your header as template snippet. It is then easy to insert into file.

        Greetz, Jeroen

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koolar
          wrote on last edited by
          #4

          Sorry, I can not agree with you. See below from QT 5.1.

          void mainForm::on_pushButton_clicked() //Look! it has not changed when pushbutton name is modified!
          {
          qDebug()<<"hello,QT!";
          }

          void mainForm::on_cmdQuit_clicked()
          {
          //a new function is created the button name has changed!!!
          }

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Well... You are deliberately not using the function I have told you about ;) So bear with consequences :P

            I agree this could be fixed - perhaps. Search on JIRA, maybe it was proposed already. I suspect it would be quite hard to implement.

            (Z(:^

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hareen Laks
              wrote on last edited by
              #6

              [quote author="sierdzio" date="1384328949"]# Already present (partially) in Qt Creator ("Change name under cursor)[/quote]

              I coudn't find 'Change name under cursor' :(

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                I was quoting from memory. It might be named something different, I can't change now. Ctrl+Shift+R is the shortcut, IIRC.

                (Z(:^

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hareen Laks
                  wrote on last edited by
                  #8

                  Found it.

                  Refactor -> Rename Under Cursor (Ctrl+Shift+R)

                  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