File indexing completed on 2024-04-28 05:46:31
0001 /* 0002 SPDX-FileCopyrightText: 2010 Volker Lanz <vl@fidra.de> 0003 SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas <andrius@stikonas.eu> 0004 SPDX-FileCopyrightText: 2019 Yuri Chornoivan <yurchor@ukr.net> 0005 0006 SPDX-License-Identifier: GPL-3.0-or-later 0007 */ 0008 0009 #if !defined(CREATEPARTITIONTABLEWIDGET_H) 0010 0011 #define CREATEPARTITIONTABLEWIDGET_H 0012 0013 #include "ui_createpartitiontablewidgetbase.h" 0014 0015 #include <QWidget> 0016 #include <QRadioButton> 0017 #include <QLabel> 0018 0019 class CreatePartitionTableWidget : public QWidget, public Ui::CreatePartitionTableWidgetBase 0020 { 0021 public: 0022 explicit CreatePartitionTableWidget(QWidget* parent); 0023 0024 public: 0025 QRadioButton& radioMSDOS() { 0026 return *m_RadioMSDOS; 0027 } 0028 const QRadioButton& radioMSDOS() const { 0029 return *m_RadioMSDOS; 0030 } 0031 0032 QRadioButton& radioGPT() { 0033 return *m_RadioGPT; 0034 } 0035 const QRadioButton& radioGPT() const { 0036 return *m_RadioGPT; 0037 } 0038 0039 QLabel& iconLabel() { 0040 return *m_IconLabel; 0041 } 0042 }; 0043 0044 #endif