I am newbie to QT and currently working on one QTabWidget which have two tabs means two widgets, as such

Qt Code:
  1. tabWidget->addTab(new First_Widget(),tr("Home"));
  2. tabWidget->addTab(new Second_Widget(), tr("Download"));
To copy to clipboard, switch view to plain text mode 

First Widget have some integers and floats values which i want to use in the second widget. I can make a constructor of second widget like this

Qt Code:
  1. tabWidget->addTab(new Second_Widget(argument1, argument2,argument3), tr("Download"));
To copy to clipboard, switch view to plain text mode 

and i think i can call second tab form the first widget but in that case the second tab will be hide until i don't click the respective button. Can anyone tell me how i can use first tab's values in the second.