first re-commit.

This commit is contained in:
2025-08-05 22:37:51 +02:00
commit 5295a82aa3
109 changed files with 9928 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
/***************************************************************************
libMiniCash
Copyright © 2013-2022 christoph holzheuer
c.holzheuer@sourceworx.org
This program 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.
***************************************************************************/
#ifndef QDRIVESELECTOR_H
#define QDRIVESELECTOR_H
#include <QComboBox>
#include <QEvent>
#include <QtGui>
#include <QtCore>
#include <libMiniCash.h>
/**
* @brief Eine QComboBox zur Auswahl von Laufwerken.
*
* Mit dem QDriveSelektor wird ein Laufwerk(sbuchstabe)
* ausgewählt. Besonderheit: Beim Aktivieren werden ad hoc alle
* verfügbaren Laufwerke in die ComboBox geladen, um Fehleingaben
* zu reduzieren.
*/
class LIBMINICASH_EXPORT SWDriveSelector : public QComboBox
{
Q_OBJECT
public:
explicit SWDriveSelector( QWidget* parent = nullptr );
virtual ~SWDriveSelector();
virtual bool event(QEvent* ev);
};
#endif // QDRIVESELECTOR_H