INNER CODE UNIT · Python
_build_toolbar
HaxL0p4/L0p4Map · ui/app.py:616
def _build_toolbar(self):
toolbar = QWidget()
toolbar.setFixedHeight(56)
layout = QHBoxLayout(toolbar)
layout.setContentsMargins(16, 0, 16, 0)
title = QLabel("L0p4Map")
title.setObjectName("title_label")
self.subnet_label = QLineEdit()
self.subnet_label.setObjectName("subnet_label")
self.subnet_label.setPlaceholderText("subnet, IP or range")
self.subnet_label.setFixedWidth(210)
self.subnet_label.setStyleSheet("""
QLineEdit#subnet_label {
background-color: transparent;
color: #888888;
border: none;