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

  • SEARCH
  • Home
  • 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 6969813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:37:44+00:00 2026-05-27T16:37:44+00:00

I created this slot: public slots: void openNSelect(); then in the function : QFileDialog::getOpenFileName(this,tr(select

  • 0

I created this slot:

public slots:
   void openNSelect();

then in the function :

QFileDialog::getOpenFileName(this,tr("select file"),"/home/",tr("text file(*.txt)"));

it doesn’t show me the dialog,if I write that line in some other function like in the QMainWindow constructor,it did show me the window. the project is created using kdevelop with mainwindow object.

  • 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-05-27T16:37:45+00:00Added an answer on May 27, 2026 at 4:37 pm

    Put some debugs to ensure the slot is actually firing. Half the time its a typo in the signal/slot connect that fails to wire up.

    If not post more code so we can get a better idea.

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

Sidebar

Related Questions

So, this works: .h public slots: void addMenu(QString passedName); signals: void clicked(const QString &text);
I created this layout of successive text input fields, 1- Enter data into empty
I created this example The remove function doesn't work, and I can't figure out
Ive created an array of buttons with out using the designer. cellBut[i][j]=new QPushButton(); connect(cellBut[i][j],SIGNAL(clicked()),this,SLOT(onClickAction()));
I created this program: #include <iostream> #include <fstream> using namespace std; int main ()
I created this regular expression to validate names: ^[a-zA-Z0-9\s\-\,]+.\*?$ Is there a way add
I created this regex to match all words that start with @ in my
I've created this basic 3D Demo using OpenGL/SDL. I handled the keyboard callback so
I've created this simple GUI: from tkinter import * root = Tk() def grabText(event):
I've created this regex (www|http://)[^ ]+ that match every http://... or www.... but I

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.