Hello @ronyNS,
My problem is when my window is of normal size, the widget is at the right side , but when i maximize my window my widget stays in the same position on the screen .
Your main window's central widget has no layout, so your widget is just floating around. Set a layout for the central widget, set the size policy of the widget to Fixed in the designer (the property pane when you select the widget) and set the sizes of the widget in the designer (again the property pane on the right).
Look up this thread, the docs on the layouts management and if you want the examples.
Kind regards.