Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

Shetty gvfluk Sahir




Posted Answers



Answer


PedanticHacker

Firstly, delete the line self.setLayout(layVer)

then fix

to be

Martin Fitzpatrick

This error occurs because you're trying to set a layout on a QMainWindow. The QMainWindow is a special widget which has a built-in layout, to handle things link menus, toolbars and dock widgets.

For windows based on QMainWindow you can only set a central widget -- that is, the widget that appears in the center of the window. But if you remember from the PyQt5 layouts tutorial you can set a layout on an empty QWidget and add anything you want to it that way.

So the trick is: for controlling the layout of a mainwindow we first create a QWidget to act as a "container", use that widget as our central widget and apply the layout to it to add other widgets.

_Ali Sanawi Garrousi__


Answer is posted for the following question.

which already has a layout?

Answer


06795 [SourcePSZ]; Watertown , Florida, United States [CDP]; population was 3,340 in 1990; housing units was 1,473 in 1990; location is 30°11'N 82°36'W;


Answer is posted for the following question.

How many watertown's are there?

Answer


php artisan make: auth in laravel 60 # php # laravel # tutorial #laravel6 As you may have known by


Answer is posted for the following question.

How to laravel auth 6 (PHP Scripting Language)

Answer


To Unlock the User id, Send SMS as “LVB< ONE SPACE >ULK< Customer_ID >” to 9282441155 to unlock your Internet Banking Credentials. Please refer Internet banking FAQ for more details.


Answer is posted for the following question.

How to get lvb customer id?


Wait...