/dports/cad/ldview/ldview-4.4/ |
H A D | NumberOptionUI.cpp | 19 RECT editRect = { 3, 0, 50, 14 }; in NumberOptionUI() local 39 MapDialogRect(m_hParentWnd, &editRect); in NumberOptionUI() 40 m_editWidth = editRect.right; in NumberOptionUI() 41 m_editHeight = editRect.bottom; in NumberOptionUI() 42 m_spacing = editRect.left; in NumberOptionUI() 126 RECT editRect; in getRect() local 129 GetWindowRect(m_hEdit, &editRect); in getRect() 131 CUIWindow::screenToClient(m_hParentWnd, &editRect); in getRect() 132 UnionRect(rect, &labelRect, &editRect); in getRect()
|
H A D | StringOptionUI.cpp | 105 RECT editRect; in getRect() local 108 GetWindowRect(m_hEdit, &editRect); in getRect() 110 CUIWindow::screenToClient(m_hParentWnd, &editRect); in getRect() 111 UnionRect(rect, &labelRect, &editRect); in getRect()
|
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/ |
H A D | gtextbox.cpp | 197 editRect = box; in gTextBox() 198 editRect.height = fontHeight; in gTextBox() 341 editRect.x = r.x; in setEditExtent() 342 editRect.y = r.y; in setEditExtent() 343 editRect.width = r.width; in setEditExtent() 344 editRect.height = r.height; in setEditExtent() 862 …port.fillRect(editRect.x + blinkX - ((blinkWide + 1) / 2), editRect.y + 1, blinkWide, editRect.hei… in handleTimerTick() 878 fillPort.fillRect(0, 0, editRect.width, editRect.height); in editRectFill() 897 if (NewTempPort(tPort, editRect.width, editRect.height)) { in drawContents() 979 editRect.x + 1, editRect.y + 1, in drawContents() [all …]
|
/dports/cad/magic/magic-8.3.245/commands/ |
H A D | CmdWizard.c | 83 Rect editRect, rootRect; local 98 editRect.r_xbot, editRect.r_ybot, 99 editRect.r_xtop, editRect.r_ytop); 113 editRect.r_xbot, editRect.r_ybot, 114 editRect.r_xtop, editRect.r_ytop); 136 GeoTransRect(&RootToEditTransform, &rootRect, &editRect); 138 editRect.r_xbot, editRect.r_ybot, 139 editRect.r_xtop, editRect.r_ytop); 144 GeoTransRect(&tinv, &EditCellUse->cu_bbox, &editRect); 154 editRect.r_xbot, editRect.r_ybot, [all …]
|
H A D | CmdLQ.c | 781 Rect editRect; local 805 if (!ToolGetEditBox(&editRect)) return; 820 DBAdjustLabels(EditCellUse->cu_def, &editRect); 851 Rect rootRect, editRect, areaReturn; local 871 if (!ToolGetEditBox(&editRect)) return; 874 areaReturn = editRect; 887 if (GEO_RECTNULL(&editRect)) 895 DBPaintValid(EditCellUse->cu_def, &editRect, &mask, 0); 898 DBEraseValid(EditCellUse->cu_def, &editRect, &mask, 0); 899 DBEraseLabel(EditCellUse->cu_def, &editRect, &mask); [all …]
|
H A D | CmdE.c | 613 Rect editRect, areaReturn; local 626 if (!ToolGetEditBox(&editRect)) return; 664 DBEraseValid(EditCellUse->cu_def, &editRect, &activeLayersForErasure, 0); 669 DBEraseMask(EditCellUse->cu_def, &editRect, &errorLayersForErasure); 673 areaReturn = editRect; 674 DBEraseLabel(EditCellUse->cu_def, &editRect, &mask, &areaReturn); 690 scx.scx_area = editRect; 710 DBAdjustLabels(EditCellUse->cu_def, &editRect); 715 DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect);
|
H A D | CmdRS.c | 2712 Rect editRect, expRect; local 2731 if (!ToolGetEditBox(&editRect)) return; 2742 if (GEO_RECTNULL(&editRect)) return; /* Nothing to do */ 2775 diag, &editRect, DBStdPaintTbl(t, pNum), &ui); 2776 GEO_EXPAND(&editRect, 1, &expRect); 2788 DRCCheckThis (EditCellUse->cu_def, TT_CHECKPAINT, &editRect); 2812 Rect editRect, expRect; local 2831 if (!ToolGetEditBox(&editRect)) return; 2833 if (GEO_RECTNULL(&editRect)) return; /* Nothing to do */ 2869 diag, &editRect, DBStdEraseTbl(t, pNum), &ui); [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/ui/widgets/ |
H A D | kis_color_filter_combo.cpp | 325 …const QRect editRect = style()->subControlRect(QStyle::CC_ComboBox, &opt, QStyle::SC_ComboBoxEditF… in paintEvent() local 326 const int size = qMin(editRect.width(), editRect.height()); in paintEvent() 333 painter.drawPixmap(editRect.right() - size, editRect.top(), pixmap); in paintEvent() 340 painter.fillRect(editRect, currentColor); in paintEvent() 346 crossRect.moveCenter(editRect.center()); in paintEvent() 360 pieRect.moveCenter(editRect.center()); in paintEvent() 381 int oneColorWidth = editRect.width()/numColors; in paintEvent() 390 …painter.fillRect(currentWidth, editRect.top(), editRect.width() - currentWidth, editRect.height(),… in paintEvent() 392 … painter.fillRect(currentWidth, editRect.top(), oneColorWidth, editRect.height(), brush); in paintEvent()
|
/dports/games/scummvm/scummvm-2.5.1/gui/widgets/ |
H A D | editable.cpp | 286 Common::Rect editRect = getEditRect(); in drawCaret() local 288 int x = editRect.left; in drawCaret() 289 int y = editRect.top; in drawCaret() 293 if (strVisibleWidth > editRect.width()) { in drawCaret() 295 strVisibleWidth = editRect.width(); in drawCaret() 299 x = editRect.right - strVisibleWidth; in drawCaret() 305 if (y < 0 || y + editRect.height() > _h) in drawCaret() 314 g_gui.theme()->drawCaret(Common::Rect(x, y, x + 1, y + editRect.height()), erase); in drawCaret() 341 width = MIN(editRect.width() - caretOffset, width); in drawCaret() 343 g_gui.theme()->drawText(Common::Rect(x, y, x + width, y + editRect.height()), character, in drawCaret()
|
/dports/x11-themes/kf5-qqc2-desktop-style/qqc2-desktop-style-5.89.0/org.kde.desktop/ |
H A D | SpinBox.qml | 128 property rect editRect: styleitem.subControlRect("edit") 129 property rect fullRect: styleitem.computeBoundingRect([upRect, downRect, editRect]) 130 property size theSize: styleitem.sizeFromContents(editRect.width, editRect.height) 135 editRect = styleitem.subControlRect("edit") 136 fullRect = styleitem.computeBoundingRect([upRect, downRect, editRect]) 137 theSize = styleitem.sizeFromContents(editRect.width, editRect.height)
|
/dports/games/residualvm/residualvm-0.3.1/gui/widgets/ |
H A D | editable.cpp | 278 Common::Rect editRect = getEditRect(); in drawCaret() local 280 int x = editRect.left; in drawCaret() 281 int y = editRect.top; in drawCaret() 286 if (y < 0 || y + editRect.height() > _h) in drawCaret() 292 …g_gui.theme()->drawCaretClip(Common::Rect(x, y, x + 1, y + editRect.height()), getBossClipRect(), … in drawCaret() 319 width = MIN(editRect.width() - caretOffset, width); in drawCaret() 321 …g_gui.theme()->drawTextClip(Common::Rect(x, y, x + width, y + editRect.height()), getBossClipRect(… in drawCaret()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/gui/widgets/ |
H A D | editable.cpp | 287 Common::Rect editRect = getEditRect(); in drawCaret() local 289 int x = editRect.left; in drawCaret() 290 int y = editRect.top; in drawCaret() 295 if (y < 0 || y + editRect.height() > _h) in drawCaret() 301 g_gui.theme()->drawCaret(Common::Rect(x, y, x + 1, y + editRect.height()), erase); in drawCaret() 328 width = MIN(editRect.width() - caretOffset, width); in drawCaret() 330 g_gui.theme()->drawText(Common::Rect(x, y, x + width, y + editRect.height()), character, in drawCaret()
|
/dports/games/xpilot/xpilot-4.5.5/src/server/NT/ |
H A D | xpilotsDlg.cpp | 221 GetDlgItem(IDC_EDIT1)->GetWindowRect(&editRect); in OnInitDialog() 222 editRect.left -= (rect.left + GetSystemMetrics(SM_CXFRAME)); in OnInitDialog() 223 editRect.top -= (rect.top + GetSystemMetrics(SM_CYFRAME) + GetSystemMetrics(SM_CYCAPTION)); in OnInitDialog() 224 editRect.right -= rect.left; in OnInitDialog() 225 editRect.bottom -= rect.top; in OnInitDialog() 226 editAdj.x = width - editRect.right; in OnInitDialog() 227 editAdj.y = height- editRect.bottom; in OnInitDialog() 556 rect.left = editRect.left; in OnSize() 557 rect.top = editRect.top; in OnSize()
|
H A D | xpilotsDlg.h | 51 CRect editRect; variable
|
/dports/emulators/stella/stella-6.6/src/gui/ |
H A D | EditableWidget.cxx | 484 const Common::Rect& editRect = getEditRect(); in drawCaretSelection() local 487 int x = editRect.x(); in drawCaretSelection() 488 int y = editRect.y(); in drawCaretSelection() 489 int w = editRect.w(); in drawCaretSelection() 490 int h = editRect.h(); in drawCaretSelection() 518 const Common::Rect& editRect = getEditRect(); in drawCaretSelection() local 519 int x = editRect.x(); in drawCaretSelection() 520 int y = editRect.y(); in drawCaretSelection() 527 s.vLine(x, y + 1, y + editRect.h() - 3, color); in drawCaretSelection() 528 s.vLine(x - 1, y + 1, y + editRect.h() - 3, color); in drawCaretSelection()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/dialogs/ |
H A D | StylesDelegate.cpp | 233 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 234 if (editRect.contains(mouseEvent->pos())) { in editorEvent() 266 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 267 if (editRect.contains(mouseEvent->pos())) { in editorEvent() 290 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 291 if (!editRect.contains(mouseEvent->pos())) { in editorEvent()
|
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/dialogs/ |
H A D | StylesDelegate.cpp | 235 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 236 if (editRect.contains(mouseEvent->pos())){ in editorEvent() 269 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 270 if (editRect.contains(mouseEvent->pos())){ in editorEvent() 293 QRect editRect = option.rect.adjusted(dx1 - scrollBarWidth, dy1, dx2 - scrollBarWidth, dy2); in editorEvent() local 294 if (!editRect.contains(mouseEvent->pos())){ in editorEvent()
|
/dports/graphics/photoqt/photoqt-1.6/qml/openfile/ |
H A D | FilesView.qml | 38 property alias filesEditRect: editRect 64 anchors.bottomMargin: editRect.height+editRect.anchors.margins*2 173 id: editRect 417 target: editRect 426 …var pattern = new RegExp(editRect.getText().replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")… 523 …// if the change in currentIndex hasn't happened through user input, clear the text in the editRect 527 editRect.text = "" 540 editRect.text = gridview.model.get(gridview.currentIndex).filename 541 editRect.selectAll()
|
/dports/x11-fm/wcmcommander/WCMCommander-release-0.20.0/src/ |
H A D | ncedit.cpp | 67 rows = editRect.Height() / charH; in OnChangeStyles() 68 cols = editRect.Width() / charW; in OnChangeStyles() 115 _lo.AddRect( &editRect, 0, 0 ); in EditWin() 1898 int y = editRect.top + r * charH; in __DrawChanges() 1909 int x = editRect.left + c * charW; in __DrawChanges() 1969 int y = editRect.top + curR * charH; in DrawCursor() 1970 int x = editRect.left + curC * charW; in DrawCursor() 2005 int y = editRect.top + r * charH; in Paint() 2009 int x = editRect.left + c * charW; in Paint() 2299 rows = editRect.Height() / charH; in EventSize() [all …]
|
/dports/cad/magic/magic-8.3.245/lisp/ |
H A D | lispMagic.c | 126 Rect editRect, rootRect; local 140 GeoTransRect(&RootToEditTransform, &rootRect, &editRect); 141 sprintf (buf, "(%d %d %d %d)", editRect.r_xbot, editRect.r_ybot,
|
/dports/graphics/krita/krita-4.4.8/plugins/impex/raw/3rdparty/libkdcraw/src/ |
H A D | rsliderspinbox.cpp | 140 d->edit->setGeometry(editRect(spinBoxOptions())); in showEdit() 170 QPoint(editRect(spinOpts).right(), rect().bottom())); in paintEvent() 235 else if (editRect(spinOpts).contains(e->pos()) && in mouseReleaseEvent() 460 progressOpts.rect = editRect(spinOpts); in progressBarOptions() 465 QRect RAbstractSliderSpinBox::editRect(const QStyleOptionSpinBox& spinBoxOptions) const in editRect() function in KDcrawIface::RAbstractSliderSpinBox
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/coreplugin/ |
H A D | manhattanstyle.cpp | 850 QRect editRect = subControlRect(CC_ComboBox, cb, SC_ComboBoxEditField, widget); in drawControl() local 858 QRect iconRect(editRect); in drawControl() 862 iconRect.size(), editRect); in drawControl() 868 editRect.translate(-4 - cb->iconSize.width(), 0); in drawControl() 870 editRect.translate(cb->iconSize.width() + 4, 0); in drawControl() 873 editRect.adjust(0, 0, -13, 0); in drawControl() 877 int elideWidth = editRect.width(); in drawControl() 894 … painter->drawText(editRect.adjusted(1, 0, -1, 0), Qt::AlignLeft | Qt::AlignVCenter, text); in drawControl() 899 … painter->drawText(editRect.adjusted(1, 0, -1, 0), Qt::AlignLeft | Qt::AlignVCenter, text); in drawControl()
|
/dports/editors/texstudio/texstudio-4.1.2/src/ |
H A D | manhattanstyle.cpp | 747 QRect editRect = subControlRect(CC_ComboBox, cb, SC_ComboBoxEditField, widget); in drawControl() local 754 QRect iconRect(editRect); in drawControl() 758 iconRect.size(), editRect); in drawControl() 764 editRect.translate(-4 - cb->iconSize.width(), 0); in drawControl() 766 editRect.translate(cb->iconSize.width() + 4, 0); in drawControl() 769 editRect.adjust(0, 0, -13, 0); in drawControl() 774 … QString text = option->fontMetrics.elidedText(cb->currentText, Qt::ElideRight, editRect.width()); in drawControl() 775 drawItemText(painter, editRect.translated(0, 1), in drawControl() 779 drawItemText(painter, editRect, in drawControl()
|
/dports/deskutils/kalarm/kalarm-21.12.3/src/lib/ |
H A D | spinbox2.cpp | 467 const QRect editRect = spinBoxEditFieldRect(mSpinbox); in getMetrics() local 473 … bool showUpdown2 = ((upRect.left() > editRect.left()) && (downRect.left() > editRect.left())) in getMetrics() 474 … || ((upRect.right() < editRect.right()) && (downRect.right() < editRect.right())); in getMetrics()
|
/dports/cad/magic/magic-8.3.245/select/ |
H A D | selEnum.c | 184 Rect editRect, rootRect; local 226 GeoTransRect(&RootToEditTransform, &arg->sea_rect, &editRect); 240 arg->sea_type, &editRect, &DBAllTypeBits, selEnumPFunc2, 245 &editRect, &DBAllTypeBits, selEnumPFunc2,
|