source: src-qt4/pc-zmanager/dialogpartition.h @ 125dbc9

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 125dbc9 was 125dbc9, checked in by Kris Moore <kris@…>, 15 months ago

Welcome the new 'pc-zmanager' for ZFS & Disk Management

A HUGE Thank You to: Claudio L <claudio@…>

Update pkg-plist and add it to the control panel

  • Property mode set to 100644
File size: 1000 bytes
Line 
1#ifndef DIALOGPARTITION_H
2#define DIALOGPARTITION_H
3
4#include <QDialog>
5#include <QTreeWidget>
6#include <QTreeWidgetItem>
7#include "zmanagerwindow.h"
8
9namespace Ui {
10class DialogPartition;
11}
12
13
14
15
16class DialogPartition : public QDialog
17{
18    friend class ZManagerWindow;
19    Q_OBJECT
20    vdev_t *device;
21    int granularity;
22public:
23
24    explicit DialogPartition(QWidget *parent = 0);
25    ~DialogPartition();
26
27    void setDevice(vdev_t * _device);
28
29    void resizeEvent(QResizeEvent *event);
30    void showEvent(QShowEvent *event);
31
32    long long getStartSector();
33    unsigned long long getSectorCount();
34    QString getPartType();
35bool isnewfsChecked();
36   
37private slots:
38    void on_SizeSelect_currentIndexChanged(int index);
39
40    void on_sizeSlider_valueChanged(int value);
41
42
43
44    void on_devLayout_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
45
46    void on_PartType_currentIndexChanged(int index);
47
48private:
49    Ui::DialogPartition *ui;
50};
51
52#endif // DIALOGPARTITION_H
Note: See TracBrowser for help on using the repository browser.