pyqtlineeditprogressbar package

Module contents

PyQtLineEditProgressBar

This module subclass Qt’s QtLineEdit widget to manage a progress bar the is displayed as the background color of the QtLineEdit.

REFERENCE: https://stackoverflow.com/questions/36972132/how-to-turn-qlineedit-background-into-a-progress-bar

GPL LICENSE This file is part of the PyQtLineEditProgressBar package.

AutoFoE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AutoFoE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AutoFoE in the file named COPYING. If not, see <https://www.gnu.org/licenses/>.

COPYRIGHT (C) 2019-2020 E.R. Uber (eruber@gmail.com)

class pyqtlineeditprogressbar.PyQtLineEditProgressBar(contents=None, parent=None, read_only=True, progressbar_color='#aaff7f', behavior='starts-empty-fills-left-to-right', text_for_bounding_rect=None)[source]

Bases: PyQt5.QtWidgets.QLineEdit

getBehavior()[source]
getProgressBarColor()[source]
getValue()[source]
removeProgressBar()[source]
setProgressBarBehavior(behavior)[source]
setProgressBarColor(color_text)[source]
sizeHint(self) → QSize[source]
updateProgress(delta_float)[source]