61 #include "QtTextureDialog.hh"
62 #include "../Scenegraph/TextureNode.hh"
75 QtTextureDialog::QtTextureDialog( QWidget * _parent,
76 SceneGraph::TextureNode * _node )
83 mipmapping_ = bak_mipmapping_ = node_->mipmapping();
85 ui_.mipmapping->setChecked(mipmapping_);
87 connect( ui_.mipmapping, SIGNAL( toggled(
bool) ),
88 this, SLOT( changeMipmapping(
bool) ) );
90 connect( ui_.okButton, SIGNAL( clicked() ),
91 this, SLOT( accept() ) );
92 connect( ui_.cancelButton, SIGNAL( clicked() ),
93 this, SLOT( reject() ) );
98 void QtTextureDialog::reject() {
108 void QtTextureDialog::applyChanges() {
115 emit signalNodeChanged(node_);
122 void QtTextureDialog::undoChanges() {
124 if ( bak_mipmapping_ )
129 emit signalNodeChanged(node_);
137 QtTextureDialog::changeMipmapping(
bool _b) {
Namespace providing different geometric functions concerning angles.
void disable_mipmapping()
Disable mipmapping.
void enable_mipmapping()
Enable mipmapping.