Questions tagged [qmdiarea]

The QMdiArea widget, part of the Qt framework, provides an area in which MDI windows are displayed.

QMdiArea functions, essentially, like a window manager for MDI windows. For instance, it draws the windows it manages on itself and arranges them in a cascading or tile pattern. QMdiArea is commonly used as the center widget in a QMainWindow to create MDI applications, but can also be placed in any layout.

64 questions
1
vote
1 answer

QMDI SubWindows switching

I have an MDI application, with classes as class MainWindow { GraphicsView *gv; }; class GraphicsView { Scene *scene; }; class Scene I'm creating a new mdiSubWindow on every newfile() of MainWindow which creates a new pointer to the…
Gurjot Bhatti
  • 977
  • 1
  • 10
  • 24
1
vote
2 answers

QMdiArea: First tab works fine, second tab's content is way too small

Situation: As the central widget of my application I have a QMdiArea in tabbed mode (wrapped in a custom class that inherited from QMdiArea). When I now add the first QMdiSubWindow via addSubWindow() everything is still fine, meaning the window and…
Philip Allgaier
  • 3,505
  • 2
  • 26
  • 53
1
vote
1 answer

Show the log text in QMainWindow with MdiArea

I have developed an application in Qt with QMainWindow as a main Widget, and added Mdiarea I needed for adding QMdieSubWindows. I want know how to have a logging area like in Qt Creator. My log text is basically what is going on. As Started the…
amol01
  • 1,823
  • 4
  • 21
  • 35
1
vote
1 answer

Does Qt Qml Have QMdiArea?

Does Qml have QMdiArea and QMdiSubWindow? If so can you show me a little example? I have a cool idea for a program design that I would like to create.
David Ludwig
  • 967
  • 2
  • 12
  • 26
1
vote
0 answers

Qt Set Background Image In QMdiArea

I'm creating a QMainWindow with a QMdiArea as the central widget. I have a logo/image I want to put in the center of the QMdiArea which will go over a colored background that I set, but I can't seem to figure out how. So in the QMdiArea I need to…
David Ludwig
  • 967
  • 2
  • 12
  • 26
1
vote
1 answer

How to handle a matplotlib pick Artist event within a dynamically created QMdiAreaSubWindow? (Example Given - Partially Working!)

I am trying to create a Qt4 application using python and matplotlib, but I got stuck in a behaviour, which is not quite clear to me. This application has a QMdiArea which holds the dynamically created graphs in idividual subWindows. Everything seems…
mrcl
  • 2,130
  • 14
  • 29
1
vote
2 answers

Hiding QMdiArea's title bar

MainWindow can easily hide the title bar use : setWindowFlags(Qt::CustomizeWindowHint); But when doing with QMdiArea, like: ui->mdiArea->setWindowFlags(Qt::CustomizeWindowHint); ui->mdiArea->addSubWindow(child); child->showMaximized(); Things…
Aylwyn Lake
  • 1,919
  • 4
  • 26
  • 36
1
vote
1 answer

QMdiArea SubWindowView overriding

I'm a junior software engineer and i have a idea, but i don't know how to realize them. I want to override a QMdiArea's SubWindowView. Actually i want to mix SubWindowView and TabbedView. I want to give to SubWindowView some features from…
zuzman322
  • 124
  • 8
1
vote
0 answers

Background image not appears on QMdiArea

Qt developers, I need some help. I want to add image on QMdiArea's background, I wrote something. It works but not correctly, because image on the background not appearing. Thanks! int main(int argc, char *argv[]) { QVBoxLayout* VLayout; …
zuzman322
  • 124
  • 8
1
vote
1 answer

Python PyQt/PySide QMdiArea subwindows scroll not working in TabbedView

I have setup simple example using PyQt designer.See below. I have mdiarea in in which i am adding a form as subwindow. I made form a bit lengthier than mainwindow to see if scroll-bar appears for child sub-window. PROBLEM: If i set mdiarea to…
django
  • 2,809
  • 5
  • 47
  • 80
1
vote
0 answers

QWidget based class resize doesn't work in mdi mode

I'm trying to make a subwindow for my mdiform. I use the code below: pygApp *app1 = new pygApp; app1->resize(400,400); area->addSubWindow(app1); where pygApp is a QWidget based class: class pygApp : public QWidget { Q_OBJECT public: …
Aidin.T
  • 731
  • 3
  • 10
  • 25
1
vote
1 answer

iterate through mdiarea subwindows

I have a mdiArea. I add subwindows to this mdiArea every time an image is opened. The widget I set for each subwindow is imageFileDialog which inherits from the QDialog. Within this dialog I have a spinbox. I want to be able to set the value of this…
user1216527
  • 145
  • 1
  • 1
  • 11
0
votes
1 answer

QQuickWidget's content disappears when parent's parent changes

I'm trying to build an application consisting of multiple QMdiSubWindows that each contain a QQuickWidget and can be moved between different QMdiAreas. I'm able to create subwindows and display QML content inside them, but this content disappears…
Jacob
  • 15
  • 4
0
votes
1 answer

Automatically make QMdiSubWindow the smallest size possible

I'm trying to get an QMdiSubWindow to become the smallest size possible after generating the widgets. Base .ui looks like this: I then add a raster of widgets (checkboxes and lineedits) in the selected layout. The window then renders quire relax…
Jeroen3
  • 919
  • 5
  • 20
0
votes
0 answers

Replacing colored Text in QTextEdit

I hope doing good I am facing an issue with changing the color of only searched string from a file in QTextEdit and I have used replace method with "colored" module but I am not getting colored string, in console window I am getting colored string…
Venkat
  • 1
  • 1