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. Save and Restore QToolbar position
Forum Updated to NodeBB v4.3 + New Features

Save and Restore QToolbar position

Scheduled Pinned Locked Moved General and Desktop
22 Posts 3 Posters 18.5k 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #21

    Is that why you deleted your profile? I assumed you were just ashamed and went for a fresh and better start, but seeing how you mock my username, which further solidifies my theory that you are indeed a jackass, I see I overestimated you. I suggest you delete that profile as well, because your behavior gives me a good reason to report you on personal basis, then make yourself a normal profile and start behaving like a grown man, not a spoiled brat.

    And just to assure you the methods work perfectly fine, here is a few screenshots in an animated gif and some code:

    !http://i39.tinypic.com/2119xmu.gif!

    @void MainWindow::setPos()
    {
    ui->mainToolBar->move(ui->spinX->value(), ui->spinY->value());
    }

    void MainWindow::getPos()
    {
    ui->spinX->setValue(ui->mainToolBar->pos().x());
    ui->spinY->setValue(ui->mainToolBar->pos().y());
    }@

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mgran
      wrote on last edited by
      #22

      .ddrivers screen name has been changed for stalking reasons.

      And I'm closing this thread.

      Project Manager - Qt Development Frameworks

      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