Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/infopanel.cpp
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #include "infopanel.h" | 22 | #include "infopanel.h" | ||
23 | 23 | | |||
24 | //Solid | ||||
25 | #include <solid/device.h> | ||||
26 | | ||||
27 | #include <QLabel> | ||||
28 | #include <QIcon> | ||||
29 | | ||||
30 | #include "devinfo.h" | ||||
31 | #include "qvlistlayout.h" | ||||
32 | | ||||
24 | InfoPanel::InfoPanel(QWidget *parent, DevInfoPlugin *stat) | 33 | InfoPanel::InfoPanel(QWidget *parent, DevInfoPlugin *stat) | ||
25 | : QGroupBox(i18n("Device Information"), parent) | 34 | : QGroupBox(i18n("Device Information"), parent) | ||
26 | , status(stat) | 35 | , status(stat) | ||
27 | { | 36 | { | ||
28 | setMinimumWidth(300); | 37 | setMinimumWidth(300); | ||
29 | 38 | | |||
30 | setInfoPanelLayout(); | 39 | setInfoPanelLayout(); | ||
31 | setDefaultText(); | 40 | setDefaultText(); | ||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |