[SOLVED] QTabWidget tabName and qplaintextedit::textChanged() signal problem
- 
@takoo 
 sorry I am out of guesses.
 if
 ui->tabWidget_2->setTabText(0,"tabOne");
 does not work, it have no idea then.Did u place break point on it and made sure its called? 
 You are 100% sure you are adding tabs to ui->tabWidget_2 and not
 ui->tabWidget_1 or something else ?
- 
@takoo 
 Well i'm out of guesses. sorry.
 There is no reason that setTabText should not work.please see this small sample that change tabtext when u write in edit 
 https://www.dropbox.com/s/pm5uolmc7m0fo2w/mytabs.zip?dl=0
- 
@mrjj http://www116.zippyshare.com/v/M9f6gXaM/file.html 
 Try to run this project (myTabs)@takoo 
 hi
 you create a new version of main window hereplaint::plaint(QWidget *parent):QPlainTextEdit(parent) { mw=new MainWindow();<<---------------- new main wind connect(this,SIGNAL(textChanged()),mw,SLOT(yildiz())); }mw is never shown and u never see u change the tabtext in this new version you create. in main.cpp, you already create a Mainwindow version so not sure why u create a new one. ? 
- 
@takoo 
 well It really depends what u want ?
 Im not sure why you have
 class plaint:public QPlainTextEdit
 Instead of just using QPlainTextEdit directly ?update: 
 i fixed the sample to do what u talked about first.
 To change the tabtext for the tab.
 https://www.dropbox.com/s/eezslmryro6ptrj/mytabs.zip?dl=0
