first re-commit.
This commit is contained in:
47
libMiniCash/swdriveselector.h
Normal file
47
libMiniCash/swdriveselector.h
Normal 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
|
Reference in New Issue
Block a user