diff --git a/hybrid_calc_history.txt b/hybrid_calc_history.txt index 6c06043..f51deb8 100644 --- a/hybrid_calc_history.txt +++ b/hybrid_calc_history.txt @@ -1,8 +1,9 @@ -$$Brix = \frac{Brix_{syrup} \cdot \delta_{syrup} + (Brix_{water} \cdot \delta_{water} \cdot Rateo)}{\delta_{syrup} + \delta_{water} \cdot Rateo}$$ +61.6/2.54 +k=2.54 -m=((sqrt(t)/(2+8))/e**2+sqrt(k**w))/((sqrt(t)/(2+8))/e**2+sqrt(k**(w+2))) +1080/1440 -t=? +1920/(3/4) diff --git a/hybrid_calc_settings.json b/hybrid_calc_settings.json index ad4041a..7af5413 100644 --- a/hybrid_calc_settings.json +++ b/hybrid_calc_settings.json @@ -1,15 +1,15 @@ { "window_geometry": { - "x": 393, - "y": 234, - "width": 1000, + "x": 732, + "y": 205, + "width": 741, "height": 700 }, "debug_mode": false, "latex_panel_visible": true, "sash_pos_x": 450, "splitter_sizes": [ - 284, - 210 + 210, + 155 ] } \ No newline at end of file diff --git a/main_calc_app_pyside6.py b/main_calc_app_pyside6.py index b06e34a..12199dc 100644 --- a/main_calc_app_pyside6.py +++ b/main_calc_app_pyside6.py @@ -373,7 +373,7 @@ class AutocompletePopup(QWidget): item_selected = Signal(str) # Emite el texto seleccionado def __init__(self, parent=None): - super().__init__(parent, Qt.Tool | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint) + super().__init__(None, Qt.Tool | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint) self.setAttribute(Qt.WA_ShowWithoutActivating, True) self.setFocusPolicy(Qt.NoFocus) @@ -644,7 +644,8 @@ class HybridCalculatorPySide6(QMainWindow): 'custom_type': self._create_format("#4ec9b0"), 'plot': self._create_format("#569cd6", underline=True), 'type_indicator': self._create_format("#808080"), - 'clickable': self._create_format("#4fc3f7", underline=True) + 'clickable': self._create_format("#4fc3f7", underline=True), + 'helper': self._create_format("#ffd700", italic=True) } def _create_format(self, color: str, bold: bool = False, italic: bool = False, underline: bool = False) -> QTextCharFormat: