/dports/audio/polyphone/polyphone-75a5e88/sources/mainwindow/ |
H A D | animatedbackground.cpp | 30 _pixmap(nullptr) in AnimatedBackground() 35 _pixmap = new QPixmap(":/banners/christmas.png"); in AnimatedBackground() 37 _pixmap = new QPixmap(":/banners/halloween.png"); in AnimatedBackground() 39 _pixmap = new QPixmap(":/banners/valentine.png"); in AnimatedBackground() 41 _pixmap = new QPixmap(":/banners/music.png"); in AnimatedBackground() 46 delete _pixmap; in ~AnimatedBackground() 51 if (_pixmap) in paintEvent() 54 for (int i = 0; i < this->width() / _pixmap->width() + 1; i++) in paintEvent() 55 p.drawPixmap(i * _pixmap->width(), 0, *_pixmap); in paintEvent()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/editor/scene/ |
H A D | scene_item_image.cpp | 16 , _pixmap(std::move(pixmap)) { in ItemImage() 17 setAspectRatio(_pixmap.isNull() in ItemImage() 19 : (_pixmap.height() / float64(_pixmap.width()))); in ItemImage() 26 p->drawPixmap(contentRect().toRect(), _pixmap); in paint() 31 _pixmap = _pixmap.transformed(QTransform().scale(-1, 1)); in performFlip() 36 auto pixmap = _pixmap; in duplicate()
|
H A D | scene_item_sticker.cpp | 37 setAspectRatio(_pixmap.isNull() in ItemSticker() 39 : (_pixmap.height() / float64(_pixmap.width()))); in ItemSticker() 82 _pixmap = std::move(pixmap); in updatePixmap() 94 p->drawPixmap(contentRect().toRect(), _pixmap); in paint() 107 _pixmap = _pixmap.transformed(QTransform().scale(-1, 1)); in performFlip()
|
H A D | scene_item_canvas.cpp | 88 _pixmap = QPixmap( in clearPixmap() 90 _pixmap.setDevicePixelRatio(cRetinaFactor()); in clearPixmap() 91 _pixmap.fill(Qt::transparent); in clearPixmap() 93 _p = std::make_unique<Painter>(&_pixmap); in clearPixmap() 179 .pixmap = _pixmap.copy(scaledContentRect.toRect()), in handleMouseReleaseEvent() 192 p->drawPixmap(0, 0, _pixmap); in paint()
|
/dports/x11-themes/qtcurve-utils/qtcurve-1.9/qt5/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-gtk2/qtcurve-1.9/qt4/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-gtk2/qtcurve-1.9/qt5/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-kf5/qtcurve-1.9/qt4/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-qt5/qtcurve-1.9/qt4/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-kf5/qtcurve-1.9/qt5/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-utils/qtcurve-1.9/qt4/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/x11-themes/qtcurve-qt5/qtcurve-1.9/qt5/kwin/ |
H A D | tileset.cpp | 37 _pixmap[s] = QPixmap(w, h); in initPixmap() 38 _pixmap[s].fill(QColor(0, 0, 0, 0)); in initPixmap() 39 QPainter p(&_pixmap[s]); in initPixmap() 42 _pixmap[s] = pix.copy(region); in initPixmap() 67 _pixmap.resize(9); in TileSet() 96 _pixmap.resize(9); in TileSet() 118 if(_pixmap.size() < 9) in render() 148 p->drawPixmap(x0, y0, _pixmap.at(0), 0, 0, wLeft, hTop); in render() 160 p->drawTiledPixmap(x1, y0, w, hTop, _pixmap.at(1)); in render() 170 p->drawTiledPixmap(x0, y1, wLeft, h, _pixmap.at(3)); in render() [all …]
|
/dports/graphics/quat/quat-1.20/gui/ |
H A D | PixWid.cxx | 33 : Fl_Widget(x, y, w, h, label), _pixmap(0), _type(TYPE) {} in PixWid() 36 delete _pixmap; in ~PixWid() 40 delete _pixmap; in setPixmap() 41 _pixmap = new Fl_Pixmap(data); in setPixmap() 45 if (_pixmap == 0) return; in draw() 48 _pixmap->draw(X, Y, W, H, X-x(), Y-y()); in draw()
|
/dports/graphics/quat-gui/quat-1.20/gui/ |
H A D | PixWid.cxx | 33 : Fl_Widget(x, y, w, h, label), _pixmap(0), _type(TYPE) {} in PixWid() 36 delete _pixmap; in ~PixWid() 40 delete _pixmap; in setPixmap() 41 _pixmap = new Fl_Pixmap(data); in setPixmap() 45 if (_pixmap == 0) return; in draw() 48 _pixmap->draw(X, Y, W, H, X-x(), Y-y()); in draw()
|
/dports/audio/musescore/MuseScore-3.6.1/mscore/ |
H A D | scoreInfo.cpp | 25 if (_pixmap.isNull()) { in pixmap() 27 _pixmap = mscore->extractThumbnail(filePath()); in pixmap() 28 if (_pixmap.isNull()) { in pixmap() 30 _pixmap = icons[int(Icons::file_ICON)]->pixmap(QSize(50,60)); in pixmap() 33 return _pixmap; in pixmap()
|
/dports/audio/musescore/MuseScore-3.6.1/awl/ |
H A D | colorlabel.cpp | 37 delete _pixmap; in ~ColorLabel() 59 delete _pixmap; in setPixmap() 60 _pixmap = pm; in setPixmap() 80 if (_pixmap) in paintEvent() 81 p.drawTiledPixmap(rect(), *_pixmap); in paintEvent() 94 if (_pixmap) in colorButtonClicked()
|
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/ |
H A D | port_matrix_component.cc | 35 _pixmap (0), in PortMatrixComponent() 45 if (_pixmap) { in ~PortMatrixComponent() 46 gdk_pixmap_unref (_pixmap); in ~PortMatrixComponent() 78 if (_pixmap) { in get_pixmap() 79 gdk_pixmap_unref (_pixmap); in get_pixmap() 81 _pixmap = gdk_pixmap_new (drawable, _width, _height, -1); in get_pixmap() 84 cairo_t* cr = gdk_cairo_create (_pixmap); in get_pixmap() 92 return _pixmap; in get_pixmap()
|
/dports/x11-wm/qtile/qtile-0.18.1/libqtile/backend/x11/ |
H A D | drawer.py | 30 self._pixmap = None 64 if self._pixmap is None: 68 return self._pixmap 91 self._pixmap, 115 if self._pixmap is not None: 116 self.qtile.core.conn.conn.core.FreePixmap(self._pixmap) 117 self._pixmap = None 122 self._pixmap = self._create_pixmap() 164 self._pixmap,
|
/dports/x11-wm/pekwm/pekwm-release-0.2.0/src/ |
H A D | WorkspaceIndicator.cc | 24 _pixmap(None) in Display() 45 X11::freePixmap(_pixmap); in ~Display() 77 X11::freePixmap(_pixmap); in render() 78 _pixmap = X11::createPixmap(_gm.width, _gm.height); in render() 81 data->texture_background->render(_pixmap, 0, 0, _gm.width, _gm.height); in render() 90 data->font->draw(_pixmap, in render() 98 X11::setWindowBackgroundPixmap(_window, _pixmap); in render() 139 tex->render(_pixmap, x_pos, y_pos, ws_width, ws_height); in renderWorkspaces()
|
/dports/x11-toolkits/ntk/ntk/FL/ |
H A D | Fl_Dial.H | 36 Fl_Image *_pixmap; variable 78 void pixmap ( Fl_Image *i ) { _pixmap = i; } in pixmap() 80 Fl_Image* pixmap ( void ) { return _pixmap; } in pixmap() 97 _pixmap = 0; in Fl_Dial_Base()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/style/ |
H A D | style_core_icon.cpp | 121 _pixmap = QPixmap(); in reset() 151 if (_pixmap.isNull()) { in paint() 154 p.drawPixmap(partPosX, partPosY, _pixmap); in paint() 160 if (_pixmap.isNull()) { in fill() 163 p.drawPixmap(rect, _pixmap, QRect(0, 0, _pixmap.width(), _pixmap.height())); in fill() 174 if (_pixmap.isNull()) { in paint() 184 if (_pixmap.isNull()) { in fill() 247 if (_pixmap.isNull()) { in instance() 301 _pixmap = j->second; in createCachedPixmap() 302 _size = _pixmap.size() / DevicePixelRatio(); in createCachedPixmap()
|
/dports/multimedia/zart/gmic-2.8.1/gmic-qt/src/FilterParameters/ |
H A D | ColorParameter.cpp | 63 _pixmap = QPixmap(r.width(), r.height()); in addTo() 66 _button->setIconSize(_pixmap.size()); in addTo() 145 QPainter painter(&_pixmap); in updateButtonColor() 152 painter.drawRect(0, 0, _pixmap.width() - 1, _pixmap.height() - 1); in updateButtonColor() 153 _button->setIcon(_pixmap); in updateButtonColor()
|
/dports/graphics/py-traitsui/traitsui-7.1.1/traitsui/qt4/ |
H A D | image_editor.py | 59 self._pixmap = None 75 pixmap = self._pixmap 138 pixmap = self._pixmap 148 pixmap = self._pixmap 161 return self._pixmap 172 self._pixmap = pixmap
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/QtCollider/widgets/ |
H A D | QcScopeShm.cpp | 140 _pixmap = QPixmap(ev->size() * ratio); in resizeEvent() 141 _pixmap.setDevicePixelRatio(ratio); in resizeEvent() 149 _pixmap.fill(_bkg); in paintEvent() 154 QRect area(_pixmap.rect()); in paintEvent() 155 area.setSize(area.size() / _pixmap.devicePixelRatio()); in paintEvent() 157 p.begin(&_pixmap); in paintEvent() 175 p.drawPixmap(0, 0, _pixmap); in paintEvent() 243 qreal ratio = 1.0 / _pixmap.devicePixelRatio(); in paint1D()
|
H A D | QcCanvas.cpp | 123 _pixmap = QPixmap(size() * pixelRatio); in paintEvent() 124 _pixmap.setDevicePixelRatio(pixelRatio); in paintEvent() 130 _pixmap.fill(QColor(0, 0, 0, 0)); in paintEvent() 136 QPainter pixPainter(&_pixmap); in paintEvent() 160 painter.drawPixmap(e->rect(), _pixmap, sourceRect); in paintEvent()
|