A PyQT GUI application for converting InfoLease report outputs into Excel files. Handles parsing and summarizing. Learns where files are meant to be store and compiles monthly and yearly summaries.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InfoLeaseExtract/venv/Lib/site-packages/PyQt5/bindings/QtWidgets/qdialogbuttonbox.sip

118 lines
3.7 KiB

// qdialogbuttonbox.sip generated by MetaSIP
//
// This file is part of the QtWidgets Python extension module.
//
// Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of PyQt5.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appearing in
// the file LICENSE included in the packaging of this file. Please review the
// following information to ensure the GNU General Public License version 3.0
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
//
// If you do not wish to use this file under the terms of the GPL version 3.0
// then you may purchase a commercial license. For more information contact
// info@riverbankcomputing.com.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
class QDialogButtonBox : QWidget
{
%TypeHeaderCode
#include <qdialogbuttonbox.h>
%End
public:
enum ButtonLayout
{
WinLayout,
MacLayout,
KdeLayout,
GnomeLayout,
%If (Qt_5_10_0 -)
AndroidLayout,
%End
};
enum ButtonRole
{
InvalidRole,
AcceptRole,
RejectRole,
DestructiveRole,
ActionRole,
HelpRole,
YesRole,
NoRole,
ResetRole,
ApplyRole,
};
enum StandardButton
{
NoButton,
Ok,
Save,
SaveAll,
Open,
Yes,
YesToAll,
No,
NoToAll,
Abort,
Retry,
Ignore,
Close,
Cancel,
Discard,
Help,
Apply,
Reset,
RestoreDefaults,
};
typedef QFlags<QDialogButtonBox::StandardButton> StandardButtons;
QDialogButtonBox(QWidget *parent /TransferThis/ = 0);
QDialogButtonBox(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0);
%If (Qt_5_2_0 -)
QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget *parent /TransferThis/ = 0);
%End
%If (Qt_5_2_0 -)
QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0);
%End
%If (- Qt_5_2_0)
QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton> buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget *parent /TransferThis/ = 0);
%End
virtual ~QDialogButtonBox();
void setOrientation(Qt::Orientation orientation);
Qt::Orientation orientation() const;
void addButton(QAbstractButton *button /Transfer/, QDialogButtonBox::ButtonRole role);
QPushButton *addButton(const QString &text, QDialogButtonBox::ButtonRole role) /Transfer/;
QPushButton *addButton(QDialogButtonBox::StandardButton button) /Transfer/;
void removeButton(QAbstractButton *button /TransferBack/);
void clear();
QList<QAbstractButton *> buttons() const;
QDialogButtonBox::ButtonRole buttonRole(QAbstractButton *button) const;
void setStandardButtons(QDialogButtonBox::StandardButtons buttons);
QDialogButtonBox::StandardButtons standardButtons() const;
QDialogButtonBox::StandardButton standardButton(QAbstractButton *button) const;
QPushButton *button(QDialogButtonBox::StandardButton which) const;
void setCenterButtons(bool center);
bool centerButtons() const;
signals:
void accepted();
void clicked(QAbstractButton *button);
void helpRequested();
void rejected();
protected:
virtual void changeEvent(QEvent *event);
virtual bool event(QEvent *event);
};
QFlags<QDialogButtonBox::StandardButton> operator|(QDialogButtonBox::StandardButton f1, QFlags<QDialogButtonBox::StandardButton> f2);