Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8604331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:32:45+00:00 2026-06-12T02:32:45+00:00

I have a QTabWidget parented by a QMainWindow that manages QTextEdit widgets. I’d like

  • 0

I have a QTabWidget parented by a QMainWindow that manages QTextEdit widgets.

I’d like to know when content was changed in one the tabs and to know which one.
I’ve been trying to google a solution but after many changed lines in my code and architecture changes of my class.

My last try was:

QTextEdit* curr_text_edit = /*slots were used to get this pointer*/;
connect(curr_text_edit, SIGNAL(textChanged()), this, SLOT(marquerChangement()));

but the slot “marquerChangement()” is never called. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:32:47+00:00Added an answer on June 12, 2026 at 2:32 am

    If marquerChangement() is not being called, there can only be two possible reasons. First is that the QTextEdit represented by curr_text_edit never emits a signal (in other words, perhaps you’ve got the wrong QTextEdit?).

    Another possibility is that your call to connect failed. This signal/slot connection is done at runtime, not compile time. Failures here typically just get printed to stdout, and then the program goes happily on its way. Check your application output to see if you get a message about a signal or a slot not found.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a QTabWidget that contains 4 tabs. I would like to style each
I have QTabWidget on my form and two tabs on it. These tabs have
I have a QTabWidget in one of my QT windows, and it seems to
I have an inactive QMainWindow with a QTabWidget as CentralWidget which holds multiple QPlainTextEdits
I would like to have one column in QTableWidget NOT editable. In forums I
I have a QTableWidget and would like that pressing Ctrl while clicking on a
I need to make the tabs that I have oriented at the bottom of
I have a QLineEdit inside a widget inside a QTabWidget. Let's say that tab
I have a QTableWidget that I populate like this: // Clear the table this->topPatchesTableWidget->setRowCount(0);
I'd like to have a QTableWidget that has 2 'header' rows. Essentially I'd like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.