Questions tagged [qdialog]

A QDialog is a class from the Qt Toolkit which is the base class for dialog windows.

QDialog serves as a base class in constructing dialog windows. It is different from an ordinary window or widget, because it has a return value, and default buttons. Dialogs can also be made modal or non-modal.

Qt offers a set of default dialogs derived from this class, and allows developers to make custom dialogs by deriving from QDialog. QDialog is always a top-level widget, but if it has a parent, its default location is centered on top of the parent's top-level widget (if it is not top-level itself)

The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.

467 questions
-2
votes
1 answer

Qt: SIGNAL and SLOT don't work in a custom QDialog window

I have an application in which I want to prompt a dialog window for further (advanced) editing of apps content. It has to be a modal window, so that's why it can't be a QMainWindow. I just can't seem to make connect() macro work in…
iamalminko
  • 105
  • 8
-3
votes
3 answers

QDialog not calling MainWindow function

The following code should call MainWindow function but it is not calling it. I am using QT IDE. #include "itemdialog.h" #include "ui_itemdialog.h" #include "mainwindow.h" ItemDialog::ItemDialog(QWidget *parent) : QDialog(parent), ui(new…
scorpion
  • 97
  • 2
  • 11
1 2 3
31
32