IasAlarmGui.connect_to_ias_dlg
index
/home/fedora/IasRoot/lib/python3.12/site-packages/IasAlarmGui/connect_to_ias_dlg.py

# This Python file uses the following encoding: utf-8

 
Modules
       
logging
re

 
Classes
       
IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas(builtins.object)
ConnectToIasDlg(PySide6.QtWidgets.QDialog, IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas)
PySide6.QtWidgets.QDialog(PySide6.QtWidgets.QWidget)
ConnectToIasDlg(PySide6.QtWidgets.QDialog, IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas)

 
class ConnectToIasDlg(PySide6.QtWidgets.QDialog, IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas)
    ConnectToIasDlg(ias_cdb, parent=None)
 

 
 
Method resolution order:
ConnectToIasDlg
PySide6.QtWidgets.QDialog
PySide6.QtWidgets.QWidget
PySide6.QtCore.QObject
PySide6.QtGui.QPaintDevice
Shiboken.Object
IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas
builtins.object

Methods defined here:
__init__(self, ias_cdb, parent=None)
Initialize self.  See help(type(self)) for accurate signature.
checkServersString(self, txt: str) -> bool
Check if the txt is in the form "server:ip, server:ip..."
Args:
    txt: the string containing the URL of the kafka brokers
Returns:
    True if the string is a valid connection string for kafka
    False otherwise
getBrokers(self) -> str
Return the kafka brokers
Returns:
    str: the kafka brokers if the user pressed the Ok button
         None otherwise
onFetchBtnClicked(self)
Called when the user clicks the fecth from CDB button:
reads the kafka brokers string from the configuration
onLineEditTxtChanged(self)
Invoked when the text in the line edit changed:
- checks the correctness of the string
- enable/disable the OK button
onOkBtnClicked(self)
readUrlFromCdb(self) -> str | None
Read and return the URL from the CDB
 
Returns:
    The URL of the kafka brokers read from the CDB
    or None if the path to the cdb is not available
setupPanelWidgets(self, brokers: str) -> None
Setup the content of the text field and enable/disable the Ok button
depending on the brokers string
 
Args:
    brokers: the Kafka brokkers server:pot,server:port...

Data and other attributes defined here:
staticMetaObject = PySide6.QtCore.QMetaObject("ConnectToIasDlg" inh...#43 type=Slot, signature=onLineEditTxtChanged() )

Methods inherited from PySide6.QtWidgets.QDialog:
__delattr__(self, name, /)
Implement delattr(self, name).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
accept(...)
accepted = <PySide6.QtCore.Signal object>
adjustPosition(...)
closeEvent(...)
contextMenuEvent(...)
done(...)
eventFilter(...)
exec(...)
exec_(...)
finished = <PySide6.QtCore.Signal object>
isSizeGripEnabled(...)
keyPressEvent(...)
minimumSizeHint(...)
open(...)
reject(...)
rejected = <PySide6.QtCore.Signal object>
resizeEvent(...)
result(...)
setModal(...)
setResult(...)
setSizeGripEnabled(...)
setVisible(...)
showEvent(...)
sizeHint(...)

Static methods inherited from PySide6.QtWidgets.QDialog:
__new__(*args, **kwargs) class method of PySide6.QtWidgets.QDialog
Create and return a new object.  See help(type) for accurate signature.

Data and other attributes inherited from PySide6.QtWidgets.QDialog:
DialogCode = <enum 'DialogCode'>

Methods inherited from PySide6.QtWidgets.QWidget:
__repr__(self, /)
Return repr(self).
acceptDrops(...)
accessibleDescription(...)
accessibleName(...)
actionEvent(...)
actions(...)
activateWindow(...)
addAction(...)
addActions(...)
adjustSize(...)
autoFillBackground(...)
backgroundRole(...)
backingStore(...)
baseSize(...)
changeEvent(...)
childAt(...)
childrenRect(...)
childrenRegion(...)
clearFocus(...)
clearMask(...)
close(...)
contentsMargins(...)
contentsRect(...)
contextMenuPolicy(...)
create(...)
createWinId(...)
cursor(...)
customContextMenuRequested = <PySide6.QtCore.Signal object>
destroy(...)
devType(...)
dragEnterEvent(...)
dragLeaveEvent(...)
dragMoveEvent(...)
dropEvent(...)
effectiveWinId(...)
ensurePolished(...)
enterEvent(...)
event(...)
focusInEvent(...)
focusNextChild(...)
focusNextPrevChild(...)
focusOutEvent(...)
focusPolicy(...)
focusPreviousChild(...)
focusProxy(...)
focusWidget(...)
font(...)
fontInfo(...)
fontMetrics(...)
foregroundRole(...)
frameGeometry(...)
frameSize(...)
geometry(...)
grab(...)
grabGesture(...)
grabKeyboard(...)
grabMouse(...)
grabShortcut(...)
graphicsEffect(...)
graphicsProxyWidget(...)
hasFocus(...)
hasHeightForWidth(...)
hasMouseTracking(...)
hasTabletTracking(...)
height(...)
heightForWidth(...)
hide(...)
hideEvent(...)
initPainter(...)
inputMethodEvent(...)
inputMethodHints(...)
inputMethodQuery(...)
insertAction(...)
insertActions(...)
internalWinId(...)
isActiveWindow(...)
isAncestorOf(...)
isEnabled(...)
isEnabledTo(...)
isFullScreen(...)
isHidden(...)
isLeftToRight(...)
isMaximized(...)
isMinimized(...)
isModal(...)
isRightToLeft(...)
isTopLevel(...)
isVisible(...)
isVisibleTo(...)
isWindow(...)
isWindowModified(...)
keyReleaseEvent(...)
layout(...)
layoutDirection(...)
leaveEvent(...)
locale(...)
lower(...)
mapFrom(...)
mapFromGlobal(...)
mapFromParent(...)
mapTo(...)
mapToGlobal(...)
mapToParent(...)
mask(...)
maximumHeight(...)
maximumSize(...)
maximumWidth(...)
metric(...)
minimumHeight(...)
minimumSize(...)
minimumWidth(...)
mouseDoubleClickEvent(...)
mouseMoveEvent(...)
mousePressEvent(...)
mouseReleaseEvent(...)
move(...)
moveEvent(...)
nativeEvent(...)
nativeParentWidget(...)
nextInFocusChain(...)
normalGeometry(...)
overrideWindowFlags(...)
overrideWindowState(...)
paintEngine(...)
paintEvent(...)
palette(...)
parentWidget(...)
pos(...)
previousInFocusChain(...)
raise_(...)
rect(...)
redirected(...)
releaseKeyboard(...)
releaseMouse(...)
releaseShortcut(...)
removeAction(...)
render(...)
repaint(...)
resize(...)
restoreGeometry(...)
saveGeometry(...)
screen(...)
scroll(...)
setAcceptDrops(...)
setAccessibleDescription(...)
setAccessibleName(...)
setAttribute(...)
setAutoFillBackground(...)
setBackgroundRole(...)
setBaseSize(...)
setContentsMargins(...)
setContextMenuPolicy(...)
setCursor(...)
setDisabled(...)
setEnabled(...)
setFixedHeight(...)
setFixedSize(...)
setFixedWidth(...)
setFocus(...)
setFocusPolicy(...)
setFocusProxy(...)
setFont(...)
setForegroundRole(...)
setGeometry(...)
setGraphicsEffect(...)
setHidden(...)
setInputMethodHints(...)
setLayout(...)
setLayoutDirection(...)
setLocale(...)
setMask(...)
setMaximumHeight(...)
setMaximumSize(...)
setMaximumWidth(...)
setMinimumHeight(...)
setMinimumSize(...)
setMinimumWidth(...)
setMouseTracking(...)
setPalette(...)
setParent(...)
setScreen(...)
setShortcutAutoRepeat(...)
setShortcutEnabled(...)
setSizeIncrement(...)
setSizePolicy(...)
setStatusTip(...)
setStyle(...)
setStyleSheet(...)
setTabletTracking(...)
setToolTip(...)
setToolTipDuration(...)
setUpdatesEnabled(...)
setWhatsThis(...)
setWindowFilePath(...)
setWindowFlag(...)
setWindowFlags(...)
setWindowIcon(...)
setWindowIconText(...)
setWindowModality(...)
setWindowModified(...)
setWindowOpacity(...)
setWindowRole(...)
setWindowState(...)
setWindowTitle(...)
sharedPainter(...)
show(...)
showFullScreen(...)
showMaximized(...)
showMinimized(...)
showNormal(...)
size(...)
sizeIncrement(...)
sizePolicy(...)
stackUnder(...)
statusTip(...)
style(...)
styleSheet(...)
tabletEvent(...)
testAttribute(...)
toolTip(...)
toolTipDuration(...)
topLevelWidget(...)
underMouse(...)
ungrabGesture(...)
unsetCursor(...)
unsetLayoutDirection(...)
unsetLocale(...)
update(...)
updateGeometry(...)
updateMicroFocus(...)
updatesEnabled(...)
visibleRegion(...)
whatsThis(...)
wheelEvent(...)
width(...)
winId(...)
window(...)
windowFilePath(...)
windowFlags(...)
windowHandle(...)
windowIcon(...)
windowIconChanged = <PySide6.QtCore.Signal object>
windowIconText(...)
windowIconTextChanged = <PySide6.QtCore.Signal object>
windowModality(...)
windowOpacity(...)
windowRole(...)
windowState(...)
windowTitle(...)
windowTitleChanged = <PySide6.QtCore.Signal object>
windowType(...)
x(...)
y(...)

Static methods inherited from PySide6.QtWidgets.QWidget:
createWindowContainer(...)
find(...)
keyboardGrabber(...)
mouseGrabber(...)
setTabOrder(...)

Data and other attributes inherited from PySide6.QtWidgets.QWidget:
RenderFlag = <flag 'RenderFlag'>

Methods inherited from PySide6.QtCore.QObject:
__getattribute__(self, name, /)
Return getattr(self, name).
blockSignals(...)
childEvent(...)
children(...)
connectNotify(...)
customEvent(...)
deleteLater(...)
destroyed = <PySide6.QtCore.Signal object>
disconnectNotify(...)
dumpObjectInfo(...)
dumpObjectTree(...)
dynamicPropertyNames(...)
emit(...)
findChild(...)
findChildren(...)
inherits(...)
installEventFilter(...)
isQuickItemType(...)
isSignalConnected(...)
isWidgetType(...)
isWindowType(...)
killTimer(...)
metaObject(...)
moveToThread(...)
objectName(...)
objectNameChanged = <PySide6.QtCore.Signal object>
parent(...)
property(...)
receivers(...)
removeEventFilter(...)
sender(...)
senderSignalIndex(...)
setObjectName(...)
setProperty(...)
signalsBlocked(...)
startTimer(...)
thread(...)
timerEvent(...)

Class methods inherited from PySide6.QtCore.QObject:
tr(...)

Static methods inherited from PySide6.QtCore.QObject:
connect(...)
disconnect(...)

Methods inherited from PySide6.QtGui.QPaintDevice:
colorCount(...)
depth(...)
devicePixelRatio(...)
devicePixelRatioF(...)
heightMM(...)
logicalDpiX(...)
logicalDpiY(...)
paintingActive(...)
physicalDpiX(...)
physicalDpiY(...)
widthMM(...)

Static methods inherited from PySide6.QtGui.QPaintDevice:
devicePixelRatioFScale(...)
encodeMetricF(...)

Data descriptors inherited from PySide6.QtGui.QPaintDevice:
painters

Data and other attributes inherited from PySide6.QtGui.QPaintDevice:
PaintDeviceMetric = <enum 'PaintDeviceMetric'>

Data descriptors inherited from Shiboken.Object:
__dict__

Methods inherited from IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas:
retranslateUi(self, ConnectToIas)
setupUi(self, ConnectToIas)

Data descriptors inherited from IasAlarmGui.ui_connect_dialog.Ui_ConnectToIas:
__weakref__
list of weak references to the object