MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / DropArea

Method DropArea

gui/qt/romselection.cpp:252–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 */
251
252DropArea::DropArea(QWidget *p) : QLabel(p) {
253 setFrameStyle(QFrame::Sunken | QFrame::StyledPanel);
254 setAlignment(Qt::AlignCenter);
255 setAcceptDrops(true);
256 setAutoFillBackground(true);
257 clear();
258}
259
260void DropArea::dragEnterEvent(QDragEnterEvent *e) {
261 setBackgroundRole(QPalette::Highlight);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected