Fail to inherit from QMainWindow
I currently have a UI form which contains many layouts(Horizontal and
Vertical) and then the form itself has a horizontal layout the form is
currently inheriting from QDialog. Now when I try to replace QDialog with
QMainWindow. So that I could add a toolbar to it. It seems that the
QTDesigner does not like my change and when I open the form up in
QTDEsigner it says that the form still inherits from QWidget. Any
suggestion on what I might be doing wrong ? Could this be because of the
presence of multiple layouts already present on the form
No comments:
Post a Comment