forked from slaclab/pydm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
""" | ||
Layout Manager for MEDM widgets. | ||
Widgets are placed on this layout in absolute coordinates. | ||
When the layout is resized, the manager will resize each of the | ||
widgets in the layout. | ||
""" | ||
|
||
import logging | ||
|
||
from qtpy.QtWidgets import QLayout, QVBoxLayout | ||
from qtpy import QtDesigner | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class AbsoluteGeometryLayout(QLayout): | ||
""" | ||
Layout Manager for widgets laid out by absolute geometry (such as MEDM). | ||
Widgets are added to this layout with absolute geometry (x,y,height,width). | ||
When the layout is resized, the manager will resize each of the | ||
widgets in the layout. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters