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

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 125dbc9 was 125dbc9, checked in by Kris Moore <kris@…>, 10 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: 954 bytes
Line 
1#ifndef DIALOGPROP_H
2#define DIALOGPROP_H
3
4#include <QDialog>
5#include <QTreeWidget>
6#include <QTreeWidgetItem>
7#include "zmanagerwindow.h"
8namespace Ui {
9class DialogProp;
10}
11
12
13
14class DialogProp : public QDialog
15{
16    Q_OBJECT
17    QList<zproperty> AllProperties;
18
19public:
20
21    QString getPoolProperty(zpool_t *pool,QString Property);
22    void InitAllProperties();
23    void refreshList(zpool_t *pool);
24    QStringList getAllChangedProps();   // RETURN A LIST OF ALL PROPERTIES THAT WERE CHANGED BY THE USER
25    QStringList getAllChangedValues();  // RETURN A LIST WITH THE VALUES OF ALL PROPERTIES CHANGED BY THE USER
26
27    explicit DialogProp(QWidget *parent = 0);
28    ~DialogProp();
29   
30private slots:
31    void on_propList_itemDoubleClicked(QTreeWidgetItem *item, int column);
32    void on_propList_comboChanged(int index);
33    void on_propList_itemChanged(QTreeWidgetItem *item, int column);
34
35private:
36    Ui::DialogProp *ui;
37};
38
39#endif // DIALOGPROP_H
Note: See TracBrowser for help on using the repository browser.