/usr/include/odinqt/enumbox.h is in libodin-dev 1.8.5-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | /***************************************************************************
enumbox.h - description
-------------------
begin : Tue May 29 2001
copyright : (C) 2000 by Thies Jochimsen
email : jochimse@cns.mpg.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef ENUMBOX_H
#define ENUMBOX_H
#include <qgroupbox.h>
#include "odinqt.h"
/**
* This class provides a combobox with a nice frame
*/
class enumBox : public QGroupBox {
Q_OBJECT
public:
enumBox(const svector& items,QWidget *parent,const char *name,bool editButton=false,bool infoButton=false);
~enumBox();
public slots:
void setValue( int val );
signals:
void newVal( int val );
void edit();
void info();
private slots:
void emitNewVal(int val);
void reportEditClicked();
void reportInfoClicked();
private:
int old_val;
GuiComboBox* cb;
GuiButton* pb_edit;
GuiButton* pb_info;
GuiGridLayout* grid;
};
#endif
|