-
Notifications
You must be signed in to change notification settings - Fork 0
/
cell.h
41 lines (32 loc) · 987 Bytes
/
cell.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/***************************************************************************
**
** Copyright (C) 2012 Tomasz Pieniążek
** All rights reserved.
** Contact: Tomasz Pieniążek <t.pieniazek@gazeta.pl>
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation
** and appearing in the file LICENSE.LGPL included in the packaging
** of this file.
**
****************************************************************************/
#ifndef CELL_H
#define CELL_H
#include <MBasicListItem>
class MImageWidget;
class Cell: public MBasicListItem
{
Q_OBJECT
public:
Cell(QGraphicsWidget* parent = 0);
~Cell ();
void setSignalStrengthImage(QString image);
void setDisabled(bool disable);
protected:
virtual QGraphicsLayout *createLayout();
private:
MImageWidget *image;
MImageWidget *signalStrength;
};
#endif // CELL_H