Added & configured actions.
This commit is contained in:
@@ -38,8 +38,7 @@
|
||||
#include <ui_bcmainwindow.h>
|
||||
#include <bcdatamanager.h>
|
||||
|
||||
|
||||
class AnimatedDelegate;
|
||||
class BCDevicePanel;
|
||||
|
||||
class BCMainWindow : public QMainWindow, public Ui_BCMainWindow
|
||||
{
|
||||
@@ -52,6 +51,10 @@ public:
|
||||
|
||||
public slots:
|
||||
|
||||
void onValueListReady( BCDevice::ID deviceID );
|
||||
void onShowDevicePanel( BCDevice::ID deviceID );
|
||||
void onActionButtonTriggered( bool checked);
|
||||
void onActionButtonToggled( bool checked);
|
||||
void onConnectButtonToggled(bool active );
|
||||
|
||||
protected:
|
||||
@@ -59,8 +62,12 @@ protected:
|
||||
void initData();
|
||||
|
||||
BCDataManager _dataManager;
|
||||
AnimatedDelegate* _delegate;
|
||||
|
||||
// Wir brauchen eine Verbindung zwischen den Views
|
||||
// und dem Device, das sie darstellen.
|
||||
|
||||
using BCDevicePanels = QMap<BCDevice::ID, BCDevicePanel*>;
|
||||
BCDevicePanels _devicePanels;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user