/usr/include/odinqt/boolbutton.h is in libodin-dev 1.8.8-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 | /***************************************************************************
boolbutton.h - description
-------------------
begin : Sun Jul 16 2000
copyright : (C) 2000-2014 by Thies Jochimsen
email : thies@jochimsen.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 BOOLBUTTON_H
#define BOOLBUTTON_H
#include <qgroupbox.h>
#include "odinqt.h"
/**
*This class provides a button with a nice frame
*/
class buttonBox : public QGroupBox {
Q_OBJECT
public:
buttonBox(const char *text, QWidget *parent, const char *buttonlabel);
buttonBox(const char *ontext,const char *offtext, bool initstate, QWidget *parent, const char *buttonlabel);
~buttonBox();
bool is_on() const {return gb->is_on();}
public slots:
void setToggleState(bool);
private slots:
void reportclicked();
void setButtonState();
signals:
void buttonClicked();
void buttonToggled(bool);
private:
GuiGridLayout* grid;
GuiButton* gb;
};
#endif
|